Commit Graph

2273 Commits

Author SHA1 Message Date
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
Jesse Weaver c9fb1fcdca Add mutual TLS support to prometheus_client output plugin
Signed-off-by: Robert Sullivan <rsullivan@pivotal.io>
2019-02-22 12:19:29 -07:00
Pierre Tessier 5f1bc9e49f Accept values with a negative exponent in wavefront parser (#5462) 2019-02-21 14:49:52 -08:00
Nicolas Bazire 33dfbfdf5e Fix delete in place of keys in stackdriver output (#5465) 2019-02-21 12:19:50 -08:00
Daniel Nelson 0a2cc3ac3f
Update link to grok built in patterns 2019-02-21 12:11:00 -08:00
Daniel Nelson 3c95b25588
Update link to grok built in patterns 2019-02-21 12:08:59 -08:00
Daniel Nelson f8cc9719a2
Document how to increase the file limit in the ping input 2019-02-20 17:57:39 -08:00
emily 0a01713bcc Retry restarting receiver on PubSub service error (#5458) 2019-02-20 17:33:56 -08:00
Andrew Ernst 6add84eb25 Support Azure Sovereign Environments with endpoint_url option (#5453) 2019-02-20 15:16:23 -08:00
Daniel Nelson 843d842d02
Add stackdriver input plugin (#5406) 2019-02-20 13:23:59 -08:00
Robert Edström 5823fefb7a Group stackdriver requests to send one point per timeseries (#5407) 2019-02-20 13:16:02 -08:00
Olli-Pekka Lehto 5dfa3fa769 Fix InfluxDB output UDP line splitting (#5439) 2019-02-19 15:08:54 -08:00
Greg e586fdb27f Append host if arguments are specified for ping input (#5450) 2019-02-19 11:18:15 -08:00
Daniel Nelson ab1a1b075d
Disable export_timestamp by default in prometheus output 2019-02-14 15:09:12 -08:00
Greg 3e9703a573 Add rcode tag and field to dns_query input (#5417) 2019-02-12 17:57:20 -08:00
Tomas Barton ee5827ccbd Remove error log when snmp6 directory does not exists with nstat input (#5403) (#5413) 2019-02-12 16:17:09 -08:00
Pontus Rydin c0bb8625dc Add resource path based filtering to vsphere input (#5165) 2019-02-12 14:05:14 -08:00
Greg ddf35ddaf3 Note how to use all namespaces in kube_inventory (#5416) 2019-02-12 11:36:22 -08:00
Daniel Nelson c08b454af4
Fix typos in mqtt output documentation 2019-02-11 17:25:25 -08:00
Paweł Kraszewski 0084138bc6 Add option to set retain flag on messages in mqtt output (#4892) 2019-02-11 17:22:31 -08:00
Phil Schwartz c8832a28c4 Set deadlock priority in sqlserver input (#5301) 2019-02-11 17:10:42 -08:00
Daniel Nelson c612f707f4
Comment out optional parameters to stackdriver output 2019-02-11 14:58:30 -08:00
Greg 16a7ce39da Add internal metric for line too long in influxdb_listener (#5396) 2019-02-11 12:49:06 -08:00
Robert Edström 3f9860a685 Add resource type and resource label support to stackdriver output (#5391) 2019-02-08 12:13:33 -08:00
Daniel Nelson 7f54ae18b5
Send metrics in ascending time order in stackdriver output (#5385) 2019-02-06 14:17:51 -08:00
Daniel Nelson d4ab5da34f
Skip string fields in stackdriver output (#5384) 2019-02-05 18:22:42 -08:00
Daniel Nelson f54da4d748
Update changelog/csv parser docs 2019-02-05 17:45:44 -08:00
Greg 10ac030502 Unify time parsing in json/csv parsers (#5382) 2019-02-05 17:43:35 -08:00
Greg 1137fa50ad Continue checking cert from other sources if error occurs (#5381) 2019-02-05 17:38:04 -08:00
Ami Blonder cce160322e Replace subscription with topic in the pubsub output plugin (#5378) 2019-02-05 11:04:51 -08:00
Greg 94de223916 Add kube_inventory input plugin (#5110) 2019-02-04 12:28:43 -08:00
Daniel Nelson 00734c56c4
Return new Syslog instance for each plugin (#5372) 2019-02-04 11:21:16 -08:00
Daniel Nelson 6b144db504
Remove unimplemented auth options from azure_monitor documentation (#5348) 2019-02-04 11:19:04 -08:00
Daniel Nelson 35381707db
Fix grammar in influxdb_v2 README 2019-02-01 12:27:31 -08:00
Daniel Nelson 8e46414da2
Clean pubsub sample config 2019-02-01 12:27:31 -08:00
Daniel Nelson 2857f07af9
Add stats option to basicstats sample config 2019-02-01 12:27:31 -08:00
Pontus Rydin d207269a30 Added performance section to vsphere README (#5353) 2019-01-29 17:32:48 -08:00
Frank Reno a15305385f Add carbon2 serializer (#5345) 2019-01-25 18:06:08 -08:00
Jeff Ashton 4ca0a04df1 Removing authentication from the /ping route to match influxdb (#5316) 2019-01-25 12:57:35 -08:00
vignemail1 7a229e25a6 Update sudo config recommendation (#5337) 2019-01-24 10:54:25 -08:00
Daniel Nelson 35d18d3fd7
Update multifile plugin docs 2019-01-23 17:26:50 -08:00
Martin Pittermann 7a031c48cd Add multifile input plugin (#5256) 2019-01-23 16:23:58 -08:00
Daniel Nelson d1610d50e6
Always send basic auth in jenkins input (#5329) 2019-01-23 14:17:57 -08:00
Daniel Nelson 17460be771
List deprecation version for consul datacentre 2019-01-23 14:12:19 -08:00
Marcelo Almeida f739ce2a35 Use datacenter option spelling in consul input (#5320) 2019-01-23 14:10:38 -08:00
Daniel Nelson efbc83c8b6
Document that sqlserver input requires SP3 2019-01-22 15:47:57 -08:00
Daniel Nelson b2f6fd685d
Update link to InfluxDB v2.x 2019-01-22 15:29:46 -08:00
Daniel Nelson 5acf2e6ed7
Update filecount docs 2019-01-22 14:13:15 -08:00
Greg 5b85569316 Cleanup logs in kinesis output (#5328) 2019-01-22 14:05:20 -08:00
Greg cf10d03bb9 Remove credentials from cluster tag in couchbase (#5313) 2019-01-18 11:43:24 -08:00
Daniel Nelson b6cc324d10
Add note on performance to grok parser documentation (#5291) 2019-01-17 12:00:07 -08:00
Artem V. Navrotskiy 3380fdf69d Add option to report input timestamp in prometheus output (#5292) 2019-01-17 10:51:18 -08:00
Greg b620a56d21 Collect from newly discovered/launched pods (#5293) 2019-01-16 15:49:24 -08:00
Artem V. Navrotskiy 2b8729e048 Fix typo in mongodb field name (#5299) 2019-01-16 15:39:55 -08:00
Greg 50ba5c15a4 Support passing bearer token directly in k8s input (#5295) 2019-01-15 15:26:18 -08:00
Greg d759b46345 Support passing bearer token directly in prometheus input (#5294) 2019-01-15 15:25:26 -08:00
Dmitry Ilyin e404e5145b Add nginx_upstream_check input plugin (#4303) 2019-01-15 12:56:40 -08:00
Daniel Nelson 193aba8673
Ack delivery if it is unparseable in amqp_consumer input (#5286) 2019-01-15 11:48:36 -08:00
Artem V. Navrotskiy df33759711 Add flush_total_time_ns and additional wired tiger fields to mongodb input (#5273) 2019-01-15 11:31:51 -08:00
Daniel Nelson ccfd9ca522
Update mongodb readme 2019-01-10 14:38:13 -08:00
Daniel Nelson e20ba1e2b6
Fix intermittent test cases in cloud_pubsub (#5271) 2019-01-09 15:55:57 -08:00
Artem V. Navrotskiy 4b3580cceb Add raw counters to mongodb input (#5264) 2019-01-09 15:48:45 -08:00
Daniel Nelson 10b3e45775
Sort fields in nowmetric test 2019-01-08 17:57:38 -08:00
emily f5f85aa74f Add GCP Cloud Pubsub output plugin (#5202) 2019-01-08 15:53:02 -08:00
Daniel Nelson 2474a3a54b
Remove unsupported parallel testing 2019-01-08 15:43:50 -08:00
Daniel Nelson c9d8be9ab5
Update changelog and docs for nowmetric serializer 2019-01-08 15:32:49 -08:00
JefMuller e6724bfb7c Add ServiceNow serializer (#4809) 2019-01-08 15:28:00 -08:00
Daniel Nelson dd20b1cd10
Update changelog and docs for neptune_apex plugin 2019-01-08 15:09:36 -08:00
Max Renaud 4125e4161c Add input plugin for Neptune Apex aquarium controller (#5191) 2019-01-08 15:02:32 -08:00
Phil Schwartz 1c3acafc8f Fix arithmetic overflow in sqlserver input (#5261) 2019-01-08 14:13:14 -08:00
Daniel Nelson 84139cf890
Use gofmt from Go 1.11 (#5259) 2019-01-07 17:14:07 -08:00
j2gg0s 9800779e64 Fix err in graphite parser_test (#5257) 2019-01-07 11:30:48 -08:00
hydrandt 9dc9bd653a Document response_string_match field in http_response (#5251) 2019-01-07 11:25:08 -08:00
Mark Amery 39022cd2f4 Fix typo in graylog documentation (#5253) 2019-01-07 11:05:22 -08:00
Daniel Nelson 0afa99c17b
Update changelog and supporting files for cloud_pubsub 2019-01-03 16:28:15 -08:00
emily f42d9378ba Add cloud_pubsub input plugin (#5136) 2019-01-03 16:20:07 -08:00
Greg 723d8f0104 Fix panic in docker input with bad endpoint (#5226) 2019-01-03 15:57:39 -08:00
Greg 3c4e737f6b Add example to topk readme. Fix defaults to skip loop (#5220) 2019-01-03 12:06:56 -08:00
Daniel Nelson bd54e4a002
Update readme for varnish input 2019-01-03 11:35:13 -08:00
Kamil Szczygieł 3f158429bc Add configurable timeout to varnish input (#5214) 2019-01-03 11:33:04 -08:00
Pontus Rydin 3356f1dc82 Fix discovery race condition in vsphere input (#5217) 2019-01-03 11:30:05 -08:00