Commit Graph

4744 Commits

Author SHA1 Message Date
Soulou 205de66dd6
[diskio] Force type of stat.Rdev uint64 for mipsle compatibility
For most platforms, stat.Rdev is already a uint64 so this is without any effect
for linux,mipsle, unix.Stat_t.Rdev is a uint32, but the way to compute major and minor doesn't change, casting the uint32 has no impact either
2019-03-21 12:00:20 +01:00
Daniel Nelson fa65a82ef3
Update changelog 2019-03-20 12:53:55 -07:00
Daniel Nelson 51409c8768
Update changelog 2019-03-20 11:38:20 -07:00
Adrián López 33ee309fd1 Fix deadlock when Telegraf is aligning aggregators (#5612) 2019-03-20 10:36:51 -07:00
Daniel Nelson 5d9b829776
Set Telegraf 1.10.1 release date 2019-03-19 13:46:26 -07:00
Daniel Nelson b74660163e
Update changelog 2019-03-19 13:45:19 -07:00
Greg 3b1ab6f362 Don't add empty healthcheck tags to consul input (#5575) 2019-03-19 13:39:42 -07:00
Daniel Nelson 5e88824c15
Improve stability of appveyor builds (#5578) 2019-03-18 17:54:12 -07:00
Daniel Nelson eeb0e094c2
Remove test directory with .. prefix 2019-03-18 12:47:47 -07:00
Daniel Nelson 6b2137a4a1
Update changelog 2019-03-18 11:10:02 -07:00
Greg 6a97b259eb Minimize call to collect uptime in system input (#5592) 2019-03-18 11:07:44 -07:00
Soulou 2118fbe78a
Use unix.Major/unix.Minor instead of custom implementation 2019-03-15 14:36:56 +01:00
Daniel Nelson 96ded74098
Update changelog 2019-03-12 19:57:10 -07:00
Greg 45b1247d9b Use valid measurement names in csv parser (#5577)
If an empty column is present in parsed csv data, a `recordFields` is
set to the key of "". If no `MeasurementColumn` is defined, this empty
value was being used as the measurement name. By only setting the
measurementName if the value is not empty, we avoid this error.

Since an empty column is a valid column, skip values must account for
them.
2019-03-12 19:49:19 -07:00
Daniel Nelson 2a0ae10940
Update changelog 2019-03-11 15:37:34 -07:00
Dimitri Saingre 88e0cb16e1 Add hexadecimal string to integer conversion to converter processor (#5569) 2019-03-11 15:36:38 -07:00
Daniel Nelson 2566210df1
Update telegraf.conf 2019-03-11 12:32:45 -07:00
Daniel Nelson c61c48e10b
Remove trailing whitespace and wordwrap readme in vsphere 2019-03-11 12:31:48 -07:00
Daniel Nelson 9db15651ea
Fix ClusterRole aggregation documentation in kube_inventory 2019-03-11 12:00:20 -07:00
Daniel Nelson f298f87f0c
Update changelog; vsphere readme 2019-03-11 11:55:20 -07:00
Pontus Rydin 19988a94de Add use_int_samples option for backwards compatibility (#5563) 2019-03-11 11:16:32 -07:00
Pontus Rydin 1752619e35 Remove calls to destroy on ViewManager (#5557) 2019-03-11 11:08:53 -07:00
Soulou 92b01ab4f9
Fix how major and minor identifiers of block devices are read.
The current implementation assure that the major and the minor are
coded on one byte. But they are not:

```
brw-rw----  1 root disk    252, 290 Feb 25 11:36 dm-290
```

290 as minor in this example is over 1 byte.

So after wondering why all my devices iops weren't correctly stored,
I found out that several points were added for some disks. For `dm-290`
it was overriding `252:34`, instead of getting udev stats for `252:290`.

The solution is here:
https://sites.uclouvain.be/SystInfo/usr/include/sys/sysmacros.h.html

The implementation is directly taken from this, fixing my bug.
2019-03-11 01:31:30 +01:00
Daniel Nelson 91cd17fd40
Use random available port in prometheus output tests (#5555) 2019-03-08 14:54:16 -08:00
Daniel Nelson bdb9d5c842
Update changelog 2019-03-08 14:32:46 -08:00
Dheeraj Dwivedi 80155029c4 Add TTL field to ping input (#5556) 2019-03-08 14:30:38 -08:00
Daniel Nelson 7da57fe5f5
Fix incorrect option in net_response sample config 2019-03-08 14:10:55 -08:00
Greg 03920075e4 Fix links and add config to webhook readme (#5558) 2019-03-08 11:25:20 -08:00
Daniel Nelson 9378de942d
Update gopsutil to v2.19.02 (#5552) 2019-03-07 12:53:25 -08:00
Daniel Nelson d4c2d4548c
Update changelog 2019-03-06 17:40:16 -08:00
Daniel Nelson c3e793bb4e
Return any errors when creating tls config (#5541) 2019-03-06 17:37:44 -08:00
emily dd67144660 Add Base64-encoding/decoding for Google Cloud PubSub plugins (#5543) 2019-03-06 17:34:47 -08:00
Daniel Nelson 51cc0fe6d8
Set 1.10.0 release date 2019-03-05 11:12:27 -08:00
Daniel Nelson f2aa35e258
Update changelog 2019-03-05 11:10:10 -08:00
Daniel Nelson b5adaff07f
Sort metrics by timestamp in prometheus output (#5534) 2019-03-05 11:08:02 -08:00
Daniel Nelson a0527db037
Allow grok to produce metrics with no fields (#5533) 2019-03-05 11:07:39 -08:00
Daniel Nelson 1dcfecdb59
Build with Go 1.11.5 on Windows CI 2019-03-05 10:49:53 -08:00
Daniel Nelson 3d206d2897
Exclude dep check on windows CI 2019-03-05 10:42:25 -08:00
Daniel Nelson 6088c7f969
Add dep check to CI tests 2019-03-04 17:22:24 -08:00
Daniel Nelson 5108e82a5d
Remove unused dependencies 2019-03-04 17:17:35 -08:00
Greg 98e922123a Dereference pointer fields in metrics (#5525) 2019-03-04 13:34:52 -08:00
scier 77a2de2bc1 Add a link to x509_cert plugin in the README (#5515) 2019-03-04 13:00:22 -08:00
Daniel Nelson b21864fc17
Update changelog 2019-03-04 12:55:35 -08:00
Daniel Nelson 0b5811e193
Fix panic when rejecting empty batch (#5524) 2019-03-04 12:36:19 -08:00
Daniel Nelson c0e0da7ef6
Fix conversion from string float to integer (#5518) 2019-03-04 12:35:57 -08:00
Daniel Nelson d09c213562
Fix sample configuration; generated with wrong version 2019-03-02 21:07:05 -08:00
Greg 30fcaf0987 Improve error handling in prometheus output (#5512) 2019-03-01 13:26:11 -08:00
Daniel Nelson 9bd48d4673
Update changelog 2019-03-01 11:27:47 -08:00
Daniel Nelson c57f2d9d48
Ignore tracking for metrics added to aggregator (#5508) 2019-03-01 11:21:31 -08:00
Daniel Nelson 2c09010f72
Listen before returning from Connect in prometheus output (#5509) 2019-03-01 11:19:31 -08:00