Commit Graph

4122 Commits

Author SHA1 Message Date
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
Daniel Nelson 41286d10c2
Update changelog 2019-02-27 16:34:49 -08:00
scier 7787ea2dcc Create log file in append mode (#5497) 2019-02-27 16:33:38 -08:00
Daniel Nelson bfc8758db6
Update build.py next_version 2019-02-27 11:32:58 -08:00
Daniel Nelson 2d2abe295b
Update sample telegraf.conf 2019-02-27 11:11:10 -08:00
Daniel Nelson a4b4dd8295
Update changelog 2019-02-27 10:56:16 -08:00
Daniel Nelson 65b76dc746
Add tag based routing in influxdb/influxdb_v2 outputs (#5490) 2019-02-27 10:54:02 -08:00
Matthew Crenshaw 1872356103 Add multicast support to socket_listener input 2019-02-27 10:43:39 -08:00
Daniel Nelson 50c1103657
Update changelog 2019-02-26 18:42:18 -08:00
Daniel Nelson b805e83b71
Add additional metrics to rabbitmq input 2019-02-26 18:41:18 -08:00
Daniel Nelson d84e501ab6
Update changelog 2019-02-26 18:38:24 -08:00
Daniel Nelson 29cbb0ab2d
Add mutual TLS support to prometheus_client output 2019-02-26 18:34:35 -08:00
Daniel Nelson 598a79bf62
Remove 'inputs.' prefix when logging loaded inputs (#5489)
* Remove 'inputs.' prefix when logging loaded inputs

* Remove prefix from aggregators name
2019-02-26 18:31:43 -08:00
Daniel Nelson 3377389017
Add cloud_pubsub_push to readme/changelog 2019-02-26 18:30:54 -08:00
Greg c6612a4e4a Add cloud pubsub push input plugin (#5442) 2019-02-26 18:25:42 -08:00
Daniel Nelson 03f40b3588
Remove prefix from aggregators name 2019-02-26 18:22:12 -08:00
Daniel Nelson c023ffe0a5
Add unique_timestamp option from grok parser to logparser grok 2019-02-26 18:05:04 -08:00
Daniel Nelson 4df0cc006c
Update changelog 2019-02-26 17:41:56 -08:00
Robert Edström a3f83afe4a Move capacity check for stackdriver output plugin (#5479) 2019-02-26 17:40:21 -08:00
Greg 85617887c4 Add option to disable timestamp adjustment in grok parser (#5488) 2019-02-26 17:35:57 -08:00
Greg Linton 8d90609198 Remove 'inputs.' prefix when logging loaded inputs 2019-02-26 17:03:13 -07:00
Daniel Nelson ec746cc32a
Update changelog 2019-02-26 14:04:36 -08:00
Greg 9740e956ca Log permission error and ignore in filecount input (#5483) 2019-02-26 14:03:25 -08:00