100 Commits
Author SHA1 Message Date
Daniel NelsonandGitHub 3c57dafece Support Minecraft server 1.13 and newer (#5733) 2019-04-23 11:14:35 -07:00
Daniel NelsonandGitHub bc95a2a2b5 Don't start telegraf when stale pidfile found (#5731) 2019-04-17 15:47:03 -07:00
Daniel NelsonandGitHub 2faf37e5c1 Fix docs for metric buffer limit to reflect current behavior (#5741) 2019-04-17 15:46:20 -07:00
Daniel NelsonandGitHub 9ea7cdd319 Deprecate uptime_format field in system input (#5708) 2019-04-10 17:19:29 -07:00
Daniel NelsonandGitHub 6feb6c1853 Add support for ${} env vars in configuration file (#5648) 2019-03-29 16:02:10 -07:00
Daniel NelsonandGitHub 4e3244c575 Fix aggregator window and shutdown of multiple aggregators (#5644) 2019-03-29 15:40:33 -07:00
Daniel NelsonandGitHub c57ba6110d Exit after running --test without requiring --console (#5631) 2019-03-26 18:17:27 -07:00
Daniel NelsonandGitHub 5f74c0da0d Fix basedir check and parent dir extraction in filecount input (#5630) 2019-03-26 18:12:40 -07:00
Daniel NelsonandGitHub 22ab649261 Listen before leaving start in statsd (#5628) 2019-03-26 18:11:56 -07:00
Daniel NelsonandGitHub 3bb1548414 Fix plugin name in influxdb_v2 output logging (#5627) 2019-03-26 18:09:35 -07:00
Daniel NelsonandGitHub 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 NelsonandGitHub 417c5c1de8 Add owned directories to rpm package (#5607) 2019-03-22 14:02:45 -07:00
Daniel NelsonandGitHub 72d4f00082 Remove string trimming from grok parser (#5608) 2019-03-22 14:02:15 -07:00
Daniel NelsonandGitHub 99a390b8e6 Fix open error handling in file output (#5540) 2019-03-22 13:59:30 -07:00
Daniel NelsonandGitHub 5e88824c15 Improve stability of appveyor builds (#5578) 2019-03-18 17:54:12 -07:00
Daniel NelsonandGitHub 91cd17fd40 Use random available port in prometheus output tests (#5555) 2019-03-08 14:54:16 -08:00
Daniel NelsonandGitHub 9378de942d Update gopsutil to v2.19.02 (#5552) 2019-03-07 12:53:25 -08:00
Daniel NelsonandGitHub c3e793bb4e Return any errors when creating tls config (#5541) 2019-03-06 17:37:44 -08:00
Daniel NelsonandGitHub b5adaff07f Sort metrics by timestamp in prometheus output (#5534) 2019-03-05 11:08:02 -08:00
Daniel NelsonandGitHub a0527db037 Allow grok to produce metrics with no fields (#5533) 2019-03-05 11:07:39 -08:00
Daniel NelsonandGitHub 0b5811e193 Fix panic when rejecting empty batch (#5524) 2019-03-04 12:36:19 -08:00
Daniel NelsonandGitHub c0e0da7ef6 Fix conversion from string float to integer (#5518) 2019-03-04 12:35:57 -08:00
Daniel NelsonandGitHub c57f2d9d48 Ignore tracking for metrics added to aggregator (#5508) 2019-03-01 11:21:31 -08:00
Daniel NelsonandGitHub 2c09010f72 Listen before returning from Connect in prometheus output (#5509) 2019-03-01 11:19:31 -08:00
Daniel NelsonandGitHub 65b76dc746 Add tag based routing in influxdb/influxdb_v2 outputs (#5490) 2019-02-27 10:54:02 -08:00
Daniel NelsonandGitHub b805e83b71 Add additional metrics to rabbitmq input 2019-02-26 18:41:18 -08:00
Daniel NelsonandGitHub 29cbb0ab2d Add mutual TLS support to prometheus_client output 2019-02-26 18:34:35 -08:00
Daniel NelsonandGitHub 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 NelsonandGitHub 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
Daniel NelsonandGitHub eb794ec30f Log the protocol and address that socket_listener is listening on (#5454) 2019-02-25 11:11:25 -08:00
Daniel NelsonandGitHub 0882479cbf Add command logging to snmp input at debug level (#5474) 2019-02-25 11:04:34 -08:00
Daniel NelsonandGitHub 9e0248898f Disable results by row in azuredb query (#5467) 2019-02-25 10:54:19 -08:00
Daniel NelsonandGitHub 843d842d02 Add stackdriver input plugin (#5406) 2019-02-20 13:23:59 -08:00
Daniel NelsonandGitHub 7f54ae18b5 Send metrics in ascending time order in stackdriver output (#5385) 2019-02-06 14:17:51 -08:00
Daniel NelsonandGitHub d4ab5da34f Skip string fields in stackdriver output (#5384) 2019-02-05 18:22:42 -08:00
Daniel NelsonandGitHub 7dffb1b5f9 Update to gopsutil v2.19.01 (#5380) 2019-02-05 13:09:56 -08:00
Daniel NelsonandGitHub c579a6bdb9 Add linux mipsle packages (#5234) 2019-02-04 13:50:13 -08:00
Daniel NelsonandGitHub 00734c56c4 Return new Syslog instance for each plugin (#5372) 2019-02-04 11:21:16 -08:00
Daniel NelsonandGitHub 6b144db504 Remove unimplemented auth options from azure_monitor documentation (#5348) 2019-02-04 11:19:04 -08:00
Daniel NelsonandGitHub d5a03eb690 Use Go 1.10.8 and 1.11.5 (#5346) 2019-01-25 18:08:48 -08:00
Daniel NelsonandGitHub d1610d50e6 Always send basic auth in jenkins input (#5329) 2019-01-23 14:17:57 -08:00
Daniel NelsonandGitHub b34c5e0d04 Update the buffer_size internal metric after writes (#5314) 2019-01-22 13:43:51 -08:00
Daniel NelsonandGitHub b6cc324d10 Add note on performance to grok parser documentation (#5291) 2019-01-17 12:00:07 -08:00
Daniel NelsonandGitHub da80276802 Use lifo order in metric buffer (#5287) 2019-01-15 11:48:52 -08:00
Daniel NelsonandGitHub 193aba8673 Ack delivery if it is unparseable in amqp_consumer input (#5286) 2019-01-15 11:48:36 -08:00
Daniel NelsonandGitHub 42184fd1c8 Use gopsutil 2.18.12 (#5288) 2019-01-15 11:47:06 -08:00
Daniel NelsonandGitHub e20ba1e2b6 Fix intermittent test cases in cloud_pubsub (#5271) 2019-01-09 15:55:57 -08:00
Daniel NelsonandGitHub 0fd08dd65a Add a copy of the input metric when adding to aggregator (#5266) 2019-01-08 11:56:44 -08:00
Daniel NelsonandGitHub 84139cf890 Use gofmt from Go 1.11 (#5259) 2019-01-07 17:14:07 -08:00
Daniel NelsonandGitHub 0ceb10e017 Rewrite configuration documentation (#5227) 2019-01-07 14:31:10 -08:00
Daniel NelsonandGitHub 334f9267b6 Use Go 1.11.4 and 1.10.7 (#5221) 2019-01-03 12:41:16 -08:00
Daniel NelsonandGitHub 4e35732279 Fix toml option names in parser processor (#5218) 2019-01-02 13:55:59 -08:00
Daniel NelsonandGitHub 2ff3683b50 Improve config file environment variable documentation (#5200) 2018-12-27 13:12:00 -08:00
Daniel NelsonandGitHub 3fbfe3acd2 Fix usage of loop variable in function closure (#5195) 2018-12-27 13:08:19 -08:00
Daniel NelsonandGitHub dbe6f594a9 Allow floats in valuecounter aggregator (#5168) 2018-12-26 19:39:34 -08:00
Daniel NelsonandGitHub 7497a2027b Deliver empty metric tracking group immediately (#5176) 2018-12-26 19:36:10 -08:00
Daniel NelsonandGitHub c12eecc90e Signal telegraf process until it exits (#5169) 2018-12-26 18:54:50 -08:00
Daniel NelsonandGitHub 675178f915 Update golang.org/x/sys to latest revision (#5174) 2018-12-20 12:15:40 -08:00
Daniel NelsonandGitHub 841860890f Add support for basic auth to couchdb input (#5160) 2018-12-19 12:59:27 -08:00
Daniel NelsonandGitHub 544262a23a Apply global and plugin level metric modifications before filtering (#5152) 2018-12-18 14:20:43 -08:00
Daniel NelsonandGitHub 4d3519756c Add support for sending a request body to http input (#5074) 2018-12-11 19:12:00 -08:00
Daniel NelsonandGitHub cf2b85f383 Add running field to procstat_lookup (#5069) 2018-12-11 19:11:33 -08:00
Daniel NelsonandGitHub 34231f6141 Update to pgx 3.2.0 (#5068) 2018-11-29 15:56:11 -08:00
Daniel NelsonandGitHub 0a506a93fe Remove metrics from the buffer on write (#5052) 2018-11-29 12:58:48 -08:00
Daniel NelsonandGitHub 55b798bd20 Fix mongodb document stats (#5049) 2018-11-28 16:43:13 -08:00
Daniel NelsonandGitHub 140387d2c3 Log warning when wireless plugin is used on unsupported platform (#4986) 2018-11-15 15:45:56 -08:00
Daniel NelsonandGitHub 274af39a5e Update kubernetes input docs (#4990) 2018-11-15 15:43:47 -08:00
Daniel NelsonandGitHub 574fa5a6be Add support for fetching config over https (#4637) 2018-11-05 14:19:46 -08:00
Daniel NelsonandGitHub 6e5c2f8bb6 Remove outputs blocking inputs when output is slow (#4938) 2018-11-05 13:34:28 -08:00
Daniel NelsonandGitHub ad320ac1e0 Remove the time_key from the field values in JSON parser (#4951) 2018-11-02 17:53:45 -07:00
Daniel NelsonandGitHub f5af2ab799 Remove dead link from logparser sampleconfig and fix syntax (#4883) 2018-10-18 23:26:42 -07:00
Daniel NelsonandGreg cd865cfd22 Lower authorization errors to debug level in mongodb input (#4869) 2018-10-17 12:44:48 -06:00
Daniel NelsonandGitHub 152365ae06 Rework mqtt_consumer connect/reconnect (#4846) 2018-10-15 13:03:52 -07:00
Daniel NelsonandGitHub 38e644ff12 Support uint fields in aerospike input (#4851) 2018-10-12 14:37:30 -07:00
Daniel NelsonandGitHub 27bd51b9ac Use container name from list if no name in container stats (#4854) 2018-10-12 14:36:55 -07:00
Daniel NelsonandGitHub a6b5f2c093 Document that taginclude/tagexclude can remove ANY tag (#4847) 2018-10-10 18:06:24 -07:00
Daniel NelsonandGreg c3bab78ea8 Fix case of timezone/grok_timezone options. (#4799) 2018-10-03 13:58:21 -06:00
Daniel NelsonandGitHub 5101f075e1 Skip tags with empty values in cloudwatch output (#4785) 2018-10-01 18:27:44 -07:00
Daniel NelsonandGitHub 7553c8fd13 Remove metric recreation when filtering (#4767) 2018-09-28 14:48:20 -07:00
Daniel NelsonandGitHub 54e61aa78a Use FieldList in basicstats to improve performance (#4741) 2018-09-26 19:08:46 -07:00
Daniel NelsonandGitHub 38e5e103ce Clarify platform support for temp input (#4756) 2018-09-26 19:05:55 -07:00
Daniel NelsonandGitHub b5299f4cc4 Fix cleanup of csv parser options, use per file parser (#4712) 2018-09-18 09:23:45 -07:00
Daniel NelsonandGitHub f05fdde48b Remove the startup authentication check from the cloudwatch output (#4695) 2018-09-18 09:07:28 -07:00
Daniel NelsonandGitHub 41d528c8ce Split parser/serializer docs (#4690) 2018-09-17 11:45:08 -07:00
Daniel NelsonandGitHub 4c571d2cfa Log access denied opening a service at debug level (#4674) 2018-09-11 16:04:16 -07:00
Daniel NelsonandGitHub eff7f0f083 Use operation subtables in enum and rename processors (#4672) 2018-09-11 16:03:47 -07:00
Daniel NelsonandGitHub 1ca17652cd Fix parsing and documentation for json_string_fields (#4656) 2018-09-10 11:55:08 -07:00
Daniel NelsonandGitHub 7b05993a6e Fix sending of basic auth credentials in http output (#4609) 2018-08-29 12:28:29 -07:00
Daniel NelsonandGitHub 8b2d64585d Use the correct GOARM value in the armel package (#4608) 2018-08-29 12:28:00 -07:00
Daniel NelsonandGitHub fed959531c Remove timeout deadline for udp syslog input. (#4605) 2018-08-29 11:39:10 -07:00
Daniel NelsonandGitHub 1e3edbc55d Ensure channel closed if an error occurs in cgroup input (#4606) 2018-08-29 11:38:40 -07:00
Daniel NelsonandGitHub e2b1a6bc89 Add read_buffer_size option to statsd input (#4598) 2018-08-27 14:47:04 -07:00
Daniel NelsonandGitHub d2cf9a7157 Add support for static and random routing keys in kafka output (#4579) 2018-08-21 12:44:10 -07:00
Daniel NelsonandGitHub 886d8cc840 Drop message batches in kafka output if too large (#4565) 2018-08-17 13:51:21 -07:00
Daniel NelsonandGreg 6e92df45e7 Use dep v0.5.0 (#4542) 2018-08-14 15:55:38 -06:00
Daniel NelsonandGreg fa30f568ec Skip unserializable metric in influxDB UDP output (#4534) 2018-08-14 14:36:29 -06:00
Daniel NelsonandGitHub 31e1c04ed0 Set version to unknown if not set (#4521) 2018-08-12 16:52:35 -07:00
Daniel NelsonandGitHub feb75d493a Lock buffer when adding metrics (#4514)
This function is not thread-safe but is currently used by multiple
goroutines in RunningOutput
2018-08-07 11:22:10 -07:00
Daniel NelsonandGitHub 4dfb80d0fc Fix error message if URL is unparseable in influxdb output (#4511) 2018-08-07 11:07:46 -07:00
Daniel NelsonandGitHub a5409d7cf2 Use explicit zpool properties to fix parse error on FreeBSD 11.2 (#4510) 2018-08-07 11:07:07 -07:00