Commit Graph

2353 Commits

Author SHA1 Message Date
Adrián López d3af8fd873 Allow regexp processor to mix different tags (#5863) 2019-06-14 15:23:54 -07:00
Daniel Nelson 0ff9c8ef88
Add call to optional Init function for all plugins (#5899) 2019-06-14 15:12:27 -07:00
Charlie Vieth b35beb2fba Reduce the cpu/memory used by the graphite parser (#5841) 2019-06-14 12:45:07 -07:00
Daniel Nelson a276ddfe97
Tidy date processor 2019-06-14 12:26:47 -07:00
Anaisdg 3e5cfad2b0 Add Date Processor Plugin (#5895) 2019-06-14 12:08:10 -07:00
Greg fec1b3ec19 Support array of addresses in http_response input (#5975) 2019-06-14 12:03:44 -07:00
José Moreno Hanshing cc2f3b29e1 Don't consider pid of 0 when using systemd lookup in procstat (#5972) 2019-06-14 12:00:14 -07:00
Daniel Nelson 63916ae1cf
Add default url for http output (#5976) 2019-06-14 11:29:58 -07:00
Steven Barth 4cfd70b6c0 Omit keys when creating measurement names for GNMI telemetry (#5986) 2019-06-14 11:29:06 -07:00
Marc Venturini 4b6e791908 Fix sensor read error stops reporting of all sensors in temp input (#5941) 2019-06-14 11:27:24 -07:00
Daniel Nelson d260437318
Add example output from the collectd parser 2019-06-13 13:34:12 -07:00
Daniel Nelson 58e6eb6f07
Clarify replacement string behavior in regex processor 2019-06-13 13:34:12 -07:00
guitoulefoux 4b5df84b3d Fix subtable name in jolokia java.conf (#5985) 2019-06-13 03:48:06 -07:00
Charlie Vieth 1a647fb6ba Improve performance of wavefront serializer (#5842) 2019-06-12 11:59:51 -07:00
Daniel Nelson 8a34d2b27d
Fix setting mount_points option in disk input (#5982) 2019-06-12 10:52:04 -07:00
Daniel Nelson 5de7bdf906
Fix race condition in cisco telemetry tests (#5979) 2019-06-12 10:11:23 -07:00
Daniel Nelson 968714054a
Fix title in wavefront serializer readme 2019-06-11 13:06:55 -07:00
Oleg Kovalov eeb036911f Compile regexp once in zookeeper input (#5969) 2019-06-07 12:25:55 -07:00
Oleg Kovalov d31f1735d9 Use fmt.Errorf for creating error with formatting (#5968) 2019-06-07 12:24:26 -07:00
Daniel Nelson 7be74816a2
Add source tag to hddtemp plugin (#5955) 2019-06-05 12:47:17 -07:00
Daniel Nelson 8bc768b239
Make case insensitive container status comparison (#5954) 2019-06-05 03:00:59 -07:00
Daniel Nelson ba0b0c02f7
Fix race conditions in gnmi telemetry tests (#5953) 2019-06-04 23:00:24 -07:00
Daniel Nelson 476f7fb9c5
Update changelog 2019-06-04 15:04:14 -07:00
Steven Barth e18393fabf Add Cisco model-driven telemetry & GNMI inputs (#5852) 2019-06-04 14:39:46 -07:00
Daniel Nelson 6c3534a66e
Add support for remaining file rotation options (#5944) 2019-06-03 17:38:21 -07:00
Daniel Nelson 4197426a73
Ignore errors serializing single metrics (#5943) 2019-06-03 17:34:48 -07:00
Greg 3c83a53d51 Remove verbose debug logs from smart input (#5948) 2019-06-03 11:31:20 -07:00
Kristoffer Berdal 1c0d3a0eb9 Add file rotation based on file age to file output plugin (#5547) 2019-06-01 17:11:47 -07:00
Daniel Nelson 17d66b864c
Close idle connections in influxdb outputs when reloading (#5912) 2019-05-31 16:55:31 -07:00
Daniel Nelson 0ca8ea1724
Don't overwrite forecast points (#5930) 2019-05-31 16:22:37 -07:00
Sebastien Leger 484122b7d4 Add open_weather_map input plugin (#5125) 2019-05-30 15:17:04 -07:00
Daniel Nelson aaaad4d217
Add health output plugin (#5882) 2019-05-29 18:31:06 -07:00
Pontus Rydin fa492e0840 Fixed datastore name mapping in vsphere input (#5920) 2019-05-28 18:08:44 -07:00
Dmitry Ilyin eb225b818f Fix toml option name in nginx_upstream_check (#5917) 2019-05-28 12:54:25 -07:00
Daniel Nelson 980b174687
Tidy ECS readme and make review changes 2019-05-26 20:05:16 -07:00
Evan Baker dfb83778ea Add ecs/fargate input plugin (#5121) 2019-05-26 20:01:02 -07:00
Aaron Wood 77659f33bc Extend metrics collected from Nvidia GPUs (#5885) 2019-05-26 19:02:09 -07:00
dupondje 43c3ceec96 Fix setfacl command in postfix docs (#5875) 2019-05-25 00:33:22 -07:00
Javier Kohen adb7a52b93 Set user agent in stackdriver output (#5901) 2019-05-24 11:24:14 -07:00
Arno den Uijl adc32002da Fix sqlserver connection closing on error (#5897) 2019-05-22 13:13:19 -07:00
Max Renaud 0535dc92ed Omit power_failed and power_restored when the Apex provides invalid timestamps (#5896) 2019-05-22 10:33:08 -07:00
Daniel Nelson e141518cf0
Support passive queue declaration in amqp_consumer (#5831) 2019-05-20 14:38:35 -07:00
Daniel Nelson b5cd9a9ff2
Add support for gzip compression to amqp plugins (#5830) 2019-05-20 14:36:23 -07:00
Daniel Nelson ad877fdd91
Fix scale set resource id with azure_monitor output (#5821) 2019-05-20 14:32:04 -07:00
Daniel Nelson 9cdf1ea56e
Log actual url on wrong status code (#5811) 2019-05-20 14:30:31 -07:00
Daniel Nelson 5bb6e4603d
Fix publishing of direct exchange routing key (#5868) 2019-05-17 13:46:13 -07:00
Daniel Nelson d25fa3ced3
Document that serializers are not thread-safe 2019-05-17 13:44:29 -07:00
urusha dc75f7bd32 Add postgresql dsn connection string example (#5869) 2019-05-17 13:27:11 -07:00
Jon McKenzie 633a468ff9 Improve Docker image identifier parsing (#5838) 2019-05-17 11:02:22 -07:00
Greg 10fd5b35f0 Support tags in enum processor (#5855) 2019-05-16 15:59:19 -07:00
Daniel Nelson a724bf487f
Add final aggregator (#5820) 2019-05-15 14:46:28 -07:00
omgold 12831f43d4 Allow devices option to match against devlinks (#5817) 2019-05-15 12:21:55 -07:00
Jorge Landivar 8f3ed45797 Add support for datadog events to statsd input (#5791) 2019-05-14 16:20:35 -07:00
Greg 2d44a88b19 Restore field name case in interrupts input (#5850) 2019-05-14 11:56:19 -07:00
Daniel Nelson e52f7056ba
Fix parse of unix timestamp with more than ns precision (#5826) 2019-05-14 11:29:44 -07:00
frizner 9b3523a91b Add support for HTTP basic auth to solr input (#5832) 2019-05-10 16:20:37 -07:00
Daniel Nelson a0a9da371e
Reformat syslog output documentation 2019-05-08 11:39:03 -07:00
javicrespo 761705c299 Add syslog output plugin (#5802) 2019-05-08 11:21:51 -07:00
Alirie Gray b22bf01fdf Add support for hex values to ipmi_sensor input (#5816) 2019-05-07 15:42:44 -07:00
Greg 0d66ed70f8 Update smart input plugin to support more drive types (#5765) 2019-05-07 15:20:03 -07:00
Daniel Nelson 3011a009e5
Skip lines with missing refid in ntpq input (#5782) 2019-05-07 14:54:43 -07:00
Daniel Nelson 61c2cc97a2
Set default timeout of 5s in fibaro input (#5813) 2019-05-07 14:15:30 -07:00
Pontus Rydin aac4c29dc6 Fix interval estimation in vsphere input (#5726) 2019-05-07 11:52:24 -07:00
Daniel Nelson c2643d5f7e
Add README for lustre2 input plugin 2019-05-06 17:31:08 -07:00
frroberts 8abf8c10a7 Fix only one job per storage target reported in lustre2 input (#5771) 2019-05-06 16:57:01 -07:00
matthewwiesen 1e1fa1a580 Add iso9660 to telegraf disk input ignore_fs (#5800) 2019-05-06 13:06:22 -07:00
Greg 93be5759d5 Set host header if configured on http output (#5810) 2019-05-06 12:13:51 -07:00
Alberto del Barrio bae7f59bbf Fix syntax error in cloudwatch sample config (#5797) 2019-05-03 10:05:06 -07:00
Greg 3592433b06 Buffer metrics from failed writes in influxdb2 output if token is invalid (#5792) 2019-05-01 16:46:52 -07:00
Greg 2e6701b44e Update cloudwatch input readme with getMetricData command (#5786) 2019-05-01 13:09:32 -07:00
Ferdi cb4387df3f Verify a process passed by pid_file exists (#5768) 2019-04-29 15:32:10 -07:00
Daniel Nelson 66153625fb
Set socket permissions for unix domain sockets (#5760) 2019-04-25 20:06:39 -07:00
Matthew Crenshaw 9c3af1e6ac Add pagefault data to procstat input plugin (#5769) 2019-04-25 17:21:02 -07:00
Pontus Rydin f32b064d6a Fix race condition in the Wavefront parser (#5764) 2019-04-25 12:22:48 -07:00
Daniel Nelson f5b44fd0bd
Wait for server socket to close in pdns_recursor test 2019-04-24 13:51:21 -07:00
dupondje a0202744cf Add PowerDNS Recursor input plugin (#4545) 2019-04-23 16:34:52 -07:00
Daniel Nelson 3c57dafece
Support Minecraft server 1.13 and newer (#5733) 2019-04-23 11:14:35 -07:00
Łukasz Oleś 01eecee8cf Speed up interface stats in net input (#5757) 2019-04-23 11:13:14 -07:00
Greg e334830458 Collect cloudwatch stats using GetMetricData (#5544) 2019-04-22 17:36:46 -07:00
Daniel Nelson 2faf37e5c1
Fix docs for metric buffer limit to reflect current behavior (#5741) 2019-04-17 15:46:20 -07:00
Greg 72695228b3 Enhance HTTP connection options for phpfpm input plugin (#5713) 2019-04-16 17:56:56 -07:00
Greg 776e06c769 Support verbose query param in ping endpoint of influxdb_listener (#5704) 2019-04-11 13:15:38 -07:00
scottprichard d2666d0db6 Add cmdline tag to procstat input (#5681) 2019-04-10 18:42:38 -07:00
Daniel Nelson 9ea7cdd319
Deprecate uptime_format field in system input (#5708) 2019-04-10 17:19:29 -07:00
Benjamin Fuller b2baa2fdd5 Add optional namespace restriction to prometheus input plugin (#5697) 2019-04-10 14:52:46 -07:00
Daniel Nelson 90593a07b8
Clarify supported ping utils 2019-04-08 15:42:28 -07:00
Daniel Nelson ca99569e6f
Fix wavefront serializer option names in README 2019-04-05 15:06:46 -07:00
Pierre Tessier 267a9f182b Add wavefront serializer plugin (#5670) 2019-04-05 14:46:12 -07:00
Robert Sullivan e5215d74db Allow colons in metric names in prometheus_client output (#5680) 2019-04-04 16:38:33 -07:00
Daniel Fenert a61cb4dca5 Add bind input plugin (#5653) 2019-04-03 15:59:47 -07:00
Daniel Nelson 1bcbc3eea7
Update docs and changelog for github input 2019-04-02 16:27:45 -07:00
David McKay 0a68c8468b Add github input plugin (#5587) 2019-04-02 16:06:15 -07:00
Greg 286eeb117e Remove unused config option from logfmt parser docs (#5669) 2019-04-02 13:06:44 -07:00
Greg d738892c0b Remove tags that would create invalid label names in prometheus output (#5663) 2019-04-02 12:42:48 -07:00
Pierre Tessier ff81811720 Add option to use strict sanitization rules to wavefront output (#5664) 2019-04-02 11:47:25 -07:00
Daniel Nelson c283e5992a
Fix tags applied to wrong metric on parse error (#5650) 2019-04-02 11:14:56 -07:00
liispon 3b80d8a7fd Use github.com/ghodss/yaml to parse k8s config (#5643) 2019-04-02 11:04:37 -07:00
Olli-Pekka Lehto 13a00eeca5 Add option to reset buckets on flush to histogram aggregator (#5641) 2019-04-01 11:53:50 -07:00
Daniel Nelson 5f74c0da0d
Fix basedir check and parent dir extraction in filecount input (#5630) 2019-03-26 18:12:40 -07:00
Daniel Nelson 22ab649261
Listen before leaving start in statsd (#5628) 2019-03-26 18:11:56 -07:00
Daniel Nelson 3bb1548414
Fix plugin name in influxdb_v2 output logging (#5627) 2019-03-26 18:09:35 -07:00
scier 60027cf902 Add support for multiple line text and perfdata to nagios parser (#5601) 2019-03-25 16:24:42 -07:00
Daniel Nelson e793a69533
Fix grammar 2019-03-25 12:11:59 -07:00
Daniel Nelson 888d847a05
Add link to vjeantet/grok to grok parser docs 2019-03-25 12:09:04 -07:00
Daniel Nelson 9ba023fd67
[inputs/diskio] Fix how major and minor identifiers of block devices are read. (#5566)
* 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.

* Use unix.Major/unix.Minor instead of custom implementation

* [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-22 14:03:48 -07:00
Daniel Nelson 72d4f00082
Remove string trimming from grok parser (#5608) 2019-03-22 14:02:15 -07:00
Daniel Nelson 99a390b8e6
Fix open error handling in file output (#5540) 2019-03-22 13:59:30 -07:00
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
Greg 3b1ab6f362 Don't add empty healthcheck tags to consul input (#5575) 2019-03-19 13:39:42 -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
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
Dimitri Saingre 88e0cb16e1 Add hexadecimal string to integer conversion to converter processor (#5569) 2019-03-11 15:36:38 -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
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 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 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 c0e0da7ef6
Fix conversion from string float to integer (#5518) 2019-03-04 12:35:57 -08:00
Greg 30fcaf0987 Improve error handling in prometheus output (#5512) 2019-03-01 13:26:11 -08:00
Daniel Nelson 2c09010f72
Listen before returning from Connect in prometheus output (#5509) 2019-03-01 11:19:31 -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 b805e83b71
Add additional metrics to rabbitmq input 2019-02-26 18:41:18 -08:00
Daniel Nelson 29cbb0ab2d
Add mutual TLS support to prometheus_client output 2019-02-26 18:34:35 -08:00
Greg c6612a4e4a Add cloud pubsub push input plugin (#5442) 2019-02-26 18:25:42 -08:00
Daniel Nelson c023ffe0a5
Add unique_timestamp option from grok parser to logparser grok 2019-02-26 18:05:04 -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 9740e956ca Log permission error and ignore in filecount input (#5483) 2019-02-26 14:03:25 -08:00
Daniel Nelson 04f3c4321c
Fix several influx parser issues (#5484)
- Add line/column position
- Allow handlers to return errors
- Fix tag value escaping
- Allow newline in string fields
2019-02-26 10:48:41 -08:00
Max Eshleman b34ad9efc4 update sample config for prometheus output client
Signed-off-by: Robert Sullivan <rsullivan@pivotal.io>
2019-02-26 11:46:49 -07:00
Max Eshleman a85833ae53 replace gomega with require in prometheus output client tests
Signed-off-by: Robert Sullivan <rsullivan@pivotal.io>
2019-02-26 11:34:50 -07:00
Greg 5253cbfa01 Add ceph_health metrics to ceph input (#5482) 2019-02-25 16:02:30 -08:00
Greg 7fa8b33066 Add backwards compatibility fields in ceph usage and pool stats (#5466) 2019-02-25 15:32:05 -08:00
Greg 9d8a574ac7 Add kinesis input plugin (#5341) 2019-02-25 12:02:57 -08:00
Douglas Drinka 1886676e14 Support configuring a default timezone in JSON parser (#5472) 2019-02-25 11:30:33 -08:00
Daniel Nelson eb794ec30f
Log the protocol and address that socket_listener is listening on (#5454) 2019-02-25 11:11:25 -08:00
Daniel Nelson 0882479cbf
Add command logging to snmp input at debug level (#5474) 2019-02-25 11:04:34 -08:00
Daniel Nelson 9e0248898f
Disable results by row in azuredb query (#5467) 2019-02-25 10:54:19 -08:00
Robert Sullivan 05af32b191 Clean up TLS configuration in prometheus_client output plugin
Signed-off-by: Jesse Weaver <jeweaver@pivotal.io>
2019-02-22 15:26:32 -07:00