Commit Graph

3080 Commits

Author SHA1 Message Date
Thomas Casteleyn bd5c859fd7
style: Add deprecated warning and version to win_perf_counters option (#10579) 2022-02-03 10:33:38 -06:00
Sven Rebhan 4ae8c60178
fix: Statefull parser handling (#10575) 2022-02-03 09:15:38 -07:00
Abair fe240f0c67
docs: updates readme to add service SID auth and cleans up AAD auth dupe info (#10541) 2022-02-01 15:27:02 -07:00
Jim Eagle 85ee82584d
feat: Add caching to internet_speed (#10530)
Co-authored-by: Sven Rebhan <36194019+srebhan@users.noreply.github.com>
2022-02-01 16:12:24 -06:00
cthiel42 6dc8e9d8b9
feat: Xtremio input (#9697) 2022-02-01 15:09:04 -07:00
Sebastian Spaink d61f2e435a
feat(inputs.win_perf_counter): allow errors to be ignored (#10535) 2022-02-01 15:06:44 -07:00
Jason Heard ac65eb6325
fix: update docker memory usage calculation (#10491) 2022-01-28 14:03:50 -07:00
Anatoly Laskaris 531d7bb741
feat: Add ClickHouse driver to sql inputs/outputs plugins (#9671) 2022-01-28 13:35:03 -07:00
Mya 84c1efbef1
fix: collapsed fields by calling more indepth function (#10430) 2022-01-27 14:38:03 -07:00
Sven Rebhan bf447f4488
docs: Update deprecation readme (#10529) 2022-01-27 09:59:33 -06:00
Joshua Powers d2fa0fab16
fix: ipset crash when command not found (#10474) 2022-01-24 15:00:46 -07:00
reimda a3b8852eb9
fix: Update modbus readme (#10501) 2022-01-24 11:30:03 -07:00
Bill Thomson ed31bc0715
Fix: Update README.md (#10500) 2022-01-24 11:22:07 -07:00
Jérome Perrin 9ff4330bae
docs: Fixes for input/sql readme (#10498) 2022-01-24 08:03:29 -07:00
Joshua Powers 26a33a900a
fix: graylog readme to use graylog 3 URLs (#10481) 2022-01-21 14:29:49 -07:00
Joshua Powers 20f007b28e
fix: add RFC3164 to RFC5424 translation to docs (#10480) 2022-01-20 14:47:26 -07:00
Joshua Powers dd98e4b045
fix: add comment to logparser (#10479) 2022-01-20 14:47:12 -07:00
pierwill 23ed788f19
chore: Add `openConnections` to enterprise cluster metrics Readme (#10483) 2022-01-20 14:22:43 -07:00
R290 578fe8bd5f
fix: remove duplicate addition of fields (#10478) 2022-01-20 13:38:58 -07:00
Joshua Powers 61214bd33b
fix: add newline in execd for prometheus parsing (#10463) 2022-01-20 08:39:24 -07:00
Joshua Powers 80580c070f
fix: ensure CI tests runs against i386 (#10457) 2022-01-18 13:45:03 -07:00
Sven Rebhan 193dc450c3
feat: Parser plugin restructuring (#8791) 2022-01-12 15:54:42 -07:00
R290 515715fee3
fix: Accept non-standard OPC UA OK status by implementing a configurable workaround (#10384)
Thanks!
2022-01-11 15:39:18 -07:00
Conor Evans 48b981bd4e
feat: support headers for http plugin with cookie auth (#10404) 2022-01-11 15:31:28 -07:00
Laurent Sesquès 457c98f4c2
fix: snmp input plugin errors if mibs folder doesn't exist (#10346) (#10354) 2022-01-11 15:17:05 -07:00
Joshua Powers 8f02056718
fix: ensure http body is empty (#10396) 2022-01-11 09:22:49 -07:00
Thomas Casteleyn 7f20e7103f
feat: deprecate unused snmp_trap timeout configuration option (#10339) 2022-01-10 07:44:53 -07:00
Martin Reindl 0e1031356e
fix: re-enable OpenBSD modbus support (#10385) 2022-01-07 07:19:19 -07:00
John Seekins 3bbd6be2fa
feat: Add additional stats to bond collector (#10137) 2022-01-06 16:08:17 -06:00
Joshua Powers c353bace3a
feat: update docker client API version (#10382) 2022-01-06 07:30:42 -07:00
Sven Rebhan 7867ef3623
fix: fix missing storage in container with disk plugin (#10318) 2022-01-05 08:45:03 -07:00
Howie 381dc22723
chore: typos across source code comments (#10361) 2022-01-05 08:20:10 -07:00
Mya d8cc355113
chore: document deprecation of timeout (#10373) 2022-01-04 12:46:40 -07:00
Joshua Powers 2220fa2c2d
feat: add mock input plugin (#9782) 2021-12-23 13:34:29 -07:00
Sebastian Spaink f88b873fca
fix: update go-ldap to v3.4.1 (#10343) 2021-12-23 11:51:35 -06:00
Francesco Bartolini 8a1720a785
feat: add consul metrics input plugin (#10258) 2021-12-22 13:49:26 -07:00
Jarno Huuskonen e906698bba
feat: add exclude_root_certs option to x509_cert plugin (#9822) 2021-12-22 13:39:36 -07:00
Alexander Krantz e6cd83f1e7
feat: add option to disable prepared statements for PostgreSQL (#9710) 2021-12-22 13:29:53 -07:00
Laurent Sesquès 911c0a9db6
feat: socketstat input plugin (#3649) 2021-12-22 12:38:14 -07:00
Sebastian Spaink da1ddd53a4
fix: update djherbis/times and fix dependabot (#10332) 2021-12-22 13:30:42 -06:00
Joshua Powers 3a51186e6a
docs: add note about dpdk and socket availability (#10324) 2021-12-21 15:27:04 -07:00
Robert Hajek 6de4d345e9
feat: reworked varnish_cache plugin (#9432)
Co-authored-by: Helen Weller <38860767+helenosheaa@users.noreply.github.com>
2021-12-21 16:07:10 -06:00
Joshua Powers 6a1442f1bc
fix: do not require networking during tests (#10321) 2021-12-21 13:44:10 -07:00
Sebastian Thörn a0242035aa
feat: add timeout-setting to Graylog-plugin (#10220) 2021-12-21 09:10:04 -07:00
Sven Rebhan a57aaddb0d
fix: Fix panic in logparser due to missing Log. (#10296) 2021-12-20 17:30:34 -06:00
Mya 1e81d98fdd
fix: panic due to no module (#10303) 2021-12-20 13:40:00 -07:00
Mya 973ffba9fb
fix: check index before assignment (#10299) 2021-12-20 10:52:47 -07:00
Laurent Sesquès 4e1961b7d8
fix: typo in openstack neutron input plugin (newtron) (#10284) 2021-12-16 08:23:32 -07:00
Sebastian Spaink 68233c5934
fix: mark TestGatherUDPCert as an integration test (#10279) 2021-12-15 18:48:18 -06:00
Petar Obradović 32ca79f83c
feat: add Redis Sentinel input plugin (#10042) 2021-12-14 15:13:33 -07:00
Irina Vasileva c1550a7303
feat: add heap_size_limit field for input.kibana (#10243) 2021-12-14 13:25:45 -07:00
Patryk Małek 1b9572085b
fix(http_listener_v2): fix panic on close (#10132) 2021-12-10 13:14:16 -07:00
Francesco Bartolini 039c9683fd
feat: add Vault input plugin (#10198) 2021-12-10 13:10:26 -07:00
Sven Rebhan 31cbd2e504
fix: Make telegraf compile on Windows with golang 1.16.2 (#10246) 2021-12-08 15:10:31 -07:00
Sven Rebhan 99ddb467e9
feat: Modbus add per-request tags (#10231) 2021-12-08 12:19:13 -07:00
Francesco Bartolini dbf55535c7
feat: add nomad input plugin (#10106) 2021-12-08 09:34:11 -07:00
Sven Rebhan 2d420fbd35
feat: Optimize locking for SNMP MIBs loading. (#10206) 2021-12-07 15:05:33 -07:00
Kuba Trojan d4475b7d08
feat: Add SMART plugin concurrency configuration option, nvme-cli v1.14+ support and lint fixes. (#10150) 2021-12-07 09:10:36 -07:00
Sam Lai 2fdf223efb
fix(inputs/kube_inventory): set TLS server name config properly (#9975) 2021-12-07 08:30:27 -07:00
Aaron Wood 666bfe33a2
fix: pool detection and metrics gathering for ZFS >= 2.1.x (#10099) 2021-12-06 08:37:34 -07:00
Alec 2269ff1242
docs: address documentation gap when running telegraf in k8s (#10215) 2021-12-03 11:48:46 -06:00
Mya d15cf791db
fix: mqtt topic extracting no longer requires all three fields (#10208) 2021-12-02 16:55:16 -07:00
Sven Rebhan 9787f4ac45
feat: Modbus support multiple slaves (gateway feature) (#9279) 2021-12-02 16:06:06 -06:00
reimda df6bf48f8d
feat: Implement deprecation infrastructure (#10200) 2021-12-01 12:38:43 -07:00
n2N8Z 69afb140ad
fix: resolve #10027 (#10112) 2021-12-01 09:49:59 -07:00
Joshua Powers 7053fec4e7
fix: sysstat use unique temp file vs hard-coded (#10165) 2021-12-01 07:39:07 -07:00
Mya 7675ce6d19
refactor: snmp to use gosmi (#9518) 2021-11-30 15:47:50 -07:00
Paweł Żak c875e45422
fix: Linter fixes for plugins/inputs/[a-o]* (leftovers) (#10192)
Co-authored-by: Pawel Zak <Pawel Zak>
2021-11-30 15:59:24 -06:00
Paweł Żak 7aa6b533bd
fix: Linter fixes for plugins/inputs/[p-z]* (leftovers) (#10193)
Co-authored-by: Pawel Zak <Pawel Zak>
2021-11-30 13:31:10 -06:00
Samantha Wang 84e7a6acbe
docs: clean up links (#10135) 2021-11-24 12:59:41 -07:00
Joshua Powers 121ae1faaa
fix: check error before defer in prometheus k8s (#10091) 2021-11-24 12:19:25 -07:00
Mya 84562877cc
chore: clean up all markdown lint errors for input plugins i through m (#10173) 2021-11-24 12:18:53 -07:00
Joshua Powers 79e479c691
fix: markdown: resolve all markdown issues with g-h (#10172) 2021-11-24 11:56:55 -07:00
Joshua Powers 0c02f245d6
fix: markdown: resolve all markdown issues with d-f (#10171) 2021-11-24 11:56:26 -07:00
Joshua Powers 6fa29f2966
fix: markdown: resolve all markdown issues with a-c (#10169) 2021-11-24 11:55:55 -07:00
Mya 7d3531a29b
chore: clean up markdown lint errors input plugins w to z (#10166) 2021-11-24 11:50:22 -07:00
Mya 837465fcd5
chore: clean up all errors for markdown lint input plugins s through v (#10167) 2021-11-24 11:50:13 -07:00
Mya d4582dca70
chore: clean up all markdown lint error on input plugins n through r (#10168) 2021-11-24 11:50:01 -07:00
reimda 6518745153
fix: Add setting to win_perf_counters input to ignore localization (#10101) 2021-11-23 15:11:00 -07:00
Mya 2b43934174
fix: removed snmptranslate from readme and fix default path (#10136) 2021-11-23 15:09:00 -07:00
Sebastian Spaink ba8c29acb0
feat(inputs.win_services): add exclude filter (#10144)
Co-authored-by: Tomas Mikenda <tomas.mikenda@tieto.com>
2021-11-23 15:07:21 -07:00
rentiansheng cd0a7cd52f
fix: input plugin statsd bug (#10116) 2021-11-23 15:05:23 -07:00
bkotlowski 9480e49eee
feat: add intel_pmu plugin (#9724)
Co-authored-by: ktrojan <kuba.trojan@intel.com>
2021-11-23 10:32:19 -06:00
Mya b89ef94777
feat: enable extracting tag values from MQTT topics (#9995) 2021-11-23 08:20:39 -07:00
Pierre Fersing 4a0397342a
fix: update shirou/gopsutil to v3 (#10119) 2021-11-18 09:33:47 -07:00
Paweł Żak 2a0c3059a1
fix: Linter fixes for plugins/inputs/s* (#10104)
Co-authored-by: Pawel Zak <Pawel Zak>
2021-11-18 09:04:52 -07:00
Paweł Żak 146fff3183
fix: Linter fixes for plugins/inputs/[t-z]* (#10105) 2021-11-18 07:22:43 -07:00
Sebastian Spaink 5549bf0f59
fix(inputs/zfs): resolve README.md linter issues (#10109) 2021-11-17 08:24:31 -06:00
Samantha Wang f71695bc98
docs: update deprecated plugin readmes (#10100) 2021-11-16 16:11:24 -06:00
Ehsan db86904759
fix: directory monitor input plugin when data format is CSV and csv_skip_rows>0 and csv_header_row_count>=1 (#9865) 2021-11-16 15:05:48 -07:00
Paweł Żak b9e4978b17
fix: Linter fixes for plugins/inputs/p* (#10066) 2021-11-15 09:14:09 -06:00
anti32 62a05b2372
fix (inputs/mongodb) readme: correct connection URI (#10075) 2021-11-10 13:49:40 -06:00
Sebastian Spaink 279fc8352c
fix(inputs/mongodb): resolve all markdown linter issues in README.md (#10077) 2021-11-10 12:53:11 -06:00
Felix Edelmann f7827a0408
fix: mysql: type conversion follow-up (#9966) 2021-11-09 16:30:42 -06:00
atetevoortwis 8a3ba85419
fix: Changed VM ID from string to int (#10068) 2021-11-09 15:29:36 -07:00
Joshua Powers ce46506e19
fix: do not build modbus on openbsd (#10047) 2021-11-09 16:05:42 -06:00
singamSrikar a288bc0bf8
feat: Openstack input plugin (#9236) 2021-11-09 08:32:07 -07:00
Dane Strandboge ddeb6ec890
build: move to new protobuf library (#10019) 2021-11-09 08:51:14 -06:00
Fan Zhang 0133f1206b
fix: Set the default value correctly (#9980) 2021-11-08 14:42:55 -07:00
Jacob Marble 9871b676a5
chore: update OpenTelemetry plugins (#10010) 2021-11-08 14:41:50 -07:00
Jean-Sébastien Dupuy a2cf4fb98f
docs: add elastic pool in supported versions in sqlserver (#10044) 2021-11-02 08:50:38 -06:00
Paweł Żak c1d4ce4dd5
fix: Linter fixes for plugins/inputs/m* (#10006) 2021-11-02 08:49:26 -06:00
Paweł Żak e6b107b062
fix: Linter fixes for plugins/inputs/[n-o]* (#10011) 2021-11-02 08:42:22 -06:00
Scott Anderson 934db67c2b
fix: update influxdb input schema documentation (#10029) 2021-11-01 13:45:21 -06:00
trojanku 317dd38af3
fix: correct timezone in intel rdt plugin (#10026) 2021-11-01 12:53:23 -06:00
Chris Ruscio 343e846480
feat: add max_processing_time config to Kafka Consumer input (#9988) 2021-10-28 14:35:22 -06:00
Paweł Żak eec6fd5702
fix: Linter fixes for plugins/inputs/[k-l]* (#9999) 2021-10-27 09:48:57 -06:00
Jean-Sébastien Dupuy 5d2b5d15a7
feat: add additional metrics to support elastic pool (sqlserver plugin) (#9841) 2021-10-26 12:07:02 -06:00
Joshua Powers 38aefd99b5
fix: redacts IPMI password in logs (#9997) 2021-10-26 11:03:41 -06:00
Paweł Żak 77248978c7
fix: Linter fixes for plugins/inputs/[h-j]* (#9986) 2021-10-26 07:45:03 -06:00
Sam Lai ecd4d3782c
fix(inputs/kube_inventory): don't skip resources with zero s/ns timestamps (#9978) 2021-10-25 16:01:35 -05:00
Joshua Powers 85a7fbc13f
fix: procstat tags were not getting generated correctly (#9973)
Fixes: #9961
2021-10-25 13:21:39 -06:00
Jean-Sébastien Dupuy 374662be07
test: add sqlserver plugin integration tests (#9943)
* Adding integration tests for AzureSQLDBResourceStats.

* Adding azuresqlmanagedqueries_test.go

* Updated integration tests for sql managed instance queries.

* Updated integration tests for sql database queries.

* Updated integration tests for azure sql database queries

* Updated integration tests for azure sql managed instance queries

* Fixed lint issues with make fmt.

Co-authored-by: yannick <yabromba@microsoft.com>
2021-10-25 09:35:12 -06:00
Gerald Quintana 8265969f52
feat: Kafka Add metadata full to config (#9833) 2021-10-21 15:32:39 -06:00
Alexander Krantz 06f2a37b4a
chore: Update to AWS SDK v2 (#9647) 2021-10-21 16:32:10 -05:00
Sven Rebhan aa2f1b150e
fix: Check return code of zfs command for FreeBSD. (#9956) 2021-10-21 10:51:23 -05:00
Sven Rebhan cf605b5d9a
feat: Modbus connection settings (serial) (#9256) 2021-10-19 15:12:13 -06:00
Aleksandr Venger a7582fb893
fix: segfault in ingress, persistentvolumeclaim, statefulset in kube_inventory (#9585) 2021-10-19 15:09:37 -06:00
Joshua Powers 3e1ebdb4c7
fix: add normalization of tags for ethtool input plugin (#9901) 2021-10-19 14:44:36 -06:00
Sanyam Arya 62d5f635bb
fix: internet_speed input plugin not collecting/reporting latency (#9957) 2021-10-19 10:42:15 -06:00
Alexander Krantz 2e216825db
fix: decode Prometheus scrape path from Kuberentes labels (#9662) 2021-10-18 16:47:45 -05:00
Sebastian Spaink 2e230e6bf4
fix: Correct conversion of int with specific bit size (#9933) 2021-10-18 09:48:16 -05:00
Sam Arnold c4c32025c8
feat: more fields for papertrail event webhook (#9940) 2021-10-18 09:04:53 -05:00
alon 34c2b6232d
fix: solve compatibility issue for mongodb inputs when using 5.x relicaset (#9892) 2021-10-15 13:15:40 -06:00
Felix Edelmann 4194e54ceb
fix: inconsistent metric types in mysql (#9403) 2021-10-14 10:06:43 -06:00
Sebastian Spaink 432b30d2e9
fix(input/prometheus): move err check to correct place (#9920) 2021-10-13 14:43:05 -05:00
xavpaice 4321f8ae67
fix: patched intel rdt to allow sudo (#9527)
Co-authored-by: Joe Guo <joe.guo@canonical.com>
2021-10-11 20:31:33 -05:00
Sebastian Spaink fde637464a
fix: migrate aws/credentials.go to use NewSession, same functionality but now supports error (#9878) 2021-10-07 15:47:56 -05:00
etycomputer d06b387528
feat: Adds the ability to create and name a tag containing the filename using the directory monitor input plugin (#9860)
Co-authored-by: Ehsan Yazdi <Ehsan.Yazdi@elexonmining.com>
2021-10-07 15:38:20 -05:00
Sebastian Spaink 15753a6f7f
fix: migrate to cloud.google.com/go/monitoring/apiv3/v2 (#9880) 2021-10-07 14:47:59 -05:00
Yuji Kawamoto d2a25456d5
feat(prometheus): add ignore_timestamp option (#9740) 2021-10-05 15:11:46 -06:00
Joshua Powers 014161cd0c
feat: add custom time/date format field for elasticsearch_query (#9838) 2021-10-05 16:06:53 -05:00
Howard Yoo c1f51b0645
fix: mongodb input plugin issue #9845 (#9846) 2021-10-04 10:04:58 -06:00
Guo Qiao (Joe) 6c1bdfad76
fix: logging in intel_rdt.go caused service stop timeout even as root (#9844) (#9850) 2021-10-04 10:04:30 -06:00
Joshua Powers ac40bdc52e
fix: procstat missing tags in procstat_lookup metric (#9808)
In #9488 the way that tags were built for procstat_lookup was changed
and it was only including the pid_finder and result tags. This is not
consistent with the documentation and is a regression from how they were
previously constructed.

Becuase of the large change to how procstat metrics are gathered, this
will use one of the process metric's tags as a basis for the tags for
procstat_lookup.

Resolves: #9793
2021-10-01 15:10:25 -06:00
Samantha Wang 11193a3b4c
docs: update readme title for amd_rocm_smi (#9826) 2021-09-29 15:40:23 -06:00
Alexander Krantz 872b29bf95
fix: Couchbase insecure certificate validation (#9458) 2021-09-29 15:39:46 -06:00
Joshua Powers e615534620
feat: add debug query output to elasticsearch_query (#9827) 2021-09-29 07:50:44 -06:00
helotpl 56398237c4
feat: telegraf to merge tables with different indexes (#9241) 2021-09-28 15:24:08 -06:00
Eng Zer Jun 6a3b27126a
refactor: move from io/ioutil to io and os package (#9811) 2021-09-28 15:16:32 -06:00
Sven Rebhan c4d2ad85f0
feat: Allow user to select the source for the metric timestamp. (#9013) 2021-09-28 08:09:20 -06:00
Samantha Wang 3ec4c128ca
docs: add trig and twemproxy plugin readmes (#9801) 2021-09-23 12:15:43 -05:00
Jacob Marble fb088bd69c
fix: error returned to OpenTelemetry client (#9797) 2021-09-23 10:05:29 -06:00
Sven Rebhan ceae37d66e
fix: Rename KNXListener to knx_listener (#9741) 2021-09-23 08:10:44 -06:00
Joshua Powers 3eebfd2f0f
feat: add Linux Volume Manager input plugin (#9771) 2021-09-21 15:51:43 -06:00
Samantha Wang c4c3c8ade9
docs: update caddy server instructions (#9698) 2021-09-21 14:03:41 -05:00
John Seekins 90d08787f5
feat: add measurements from puppet 5 (#9706) 2021-09-21 10:07:58 -06:00
Sean Molenaar b93f20068a
docs: fix jenkins plugin documentation (#9714) 2021-09-20 11:10:36 -05:00
John Seekins f5a3df429a
fix: add additional logstash output plugin stats (#9707) 2021-09-16 16:19:51 -05:00
John Seekins 0e9391d43f
feat: add count of bonded slaves (for easier alerting) (#9762) 2021-09-15 11:56:52 -06:00
Sanyam Arya 40fa10ba0b
feat: Internet Speed Monitor Input Plugin (#9623) 2021-09-14 15:26:49 -06:00
Doron-Bargo 646273abe0
fix: pagination error on cloudwatch plugin (#9693) 2021-09-14 17:06:11 -04:00
Sebastian Spaink cfd50de57c
fix(inputs.tail): change test default watch method to poll when Win 2021-09-14 15:56:49 -05:00
Sven Rebhan 3c27f598bb
fix: Update gopcua library to latest version (#9560) 2021-09-14 08:31:44 -05:00
Alexander Krantz ba1484cb75
Fix memory leak in couchbase input (#9544) 2021-09-07 15:25:30 -06:00
Mariusz Białończyk 0317d7c3db
fix (inputs.ping): change edit to restart in README.md (#9728) 2021-09-07 12:41:07 -05:00
Alexander Krantz 7de9c5ff27
fix: bump thrift to 0.14.2 and zipkin-go-opentracing 0.4.5 (#9700) 2021-09-02 10:23:30 -06:00
Sebastian Spaink a86f5997b9
fix: migrate dgrijalva/jwt-go to golang-jwt/jwt/v4 (#9699) 2021-09-02 09:08:24 -06:00
Matteo Concas 04c3e9bb24
feat: Add rocm_smi input to monitor AMD GPUs (#9602) 2021-09-02 08:57:17 -06:00
Sebastian Spaink b8ff3e9c56
fix: run go fmt on inputs.mdstat with go1.17 (#9702) 2021-09-01 10:35:10 -06:00
John Seekins 435c2a6e33
feat: add inputs.mdstat to gather from /proc/mdstat collection (#9101) 2021-08-31 17:04:32 -05:00
David B 4dc2967e34
feat(plugins/inputs/systemd_units): add pattern support (#9665) 2021-08-26 15:34:52 -05:00
Alexander Krantz 1a59157b91
fix(mongodb): change command based on server version (#9674) 2021-08-26 15:32:48 -05:00
Sebastian Spaink 3a7d9b6d98
fix: support 1.17 & 1.16.7 Go versions (#9642) 2021-08-23 15:37:44 -05:00
Grace Wehner fe144e7c99
fix: issues with prometheus kubernetes pod discovery (#9605) 2021-08-17 15:54:55 -06:00
Alexander Krantz cfd7348e5c
docs: improve redis commands documentation (#9606) 2021-08-17 16:13:43 -05:00
Alexander Krantz 83bd10b4db
feat: Pull metrics from multiple AWS CloudWatch namespaces (#9386) 2021-08-10 16:47:23 -05:00
Eugene Klimov b1930526f8
fix: improve Clickhouse corner cases for empty recordset in aggregation queries, fix dictionaries behavior (#9401)
Signed-off-by: Eugene Klimov <eklimov@altinity.com>
2021-08-10 17:20:22 -04:00
Marcus Ilgner 7def7e7328
fix(opcua): clean client on disconnect so that connect works cleanly (#9583) 2021-08-10 16:18:04 -05:00
Sebastian Spaink fa77d2fb07
fix: muting tests for udp_listener (#9578) 2021-08-05 09:59:51 -06:00
Sven Rebhan 249bcd25d5
fix: Do not return on disconnect to avoid breaking reconnect (#9524) 2021-08-05 09:54:29 -06:00
varunjain0606 16597586f5
fix: Fixing k8s nodes and pods parsing error (#9581) 2021-08-04 17:52:52 -05:00
Jacob Marble bfcd0f6bb1
feat: OpenTelemetry output plugin (#9228) 2021-08-04 16:11:55 -04:00
Alexander Krantz de01d37a36
feat: Support AWS Web Identity Provider (#9411) 2021-08-03 17:29:26 -04:00
Alexander Krantz 9bb274b45a
fix: Normalize unix socket path (#9554) 2021-08-03 17:20:02 -04:00
Marius Bezuidenhout 1afbff8904
feat: Modbus Rtu over tcp enhancement (#9570) 2021-08-03 17:09:51 -04:00
Sebastian Spaink c9bbb3241c
Update vmware/govmomi to v0.26.0 (#9552) 2021-07-30 15:49:49 -05:00
R290 3633853235
Do not skip good quality nodes after a bad quality node is encountered (#9550) 2021-07-30 16:26:47 -04:00
Helen Weller 9fcd5a5b54
fix test so it hits a fake service (#9564) 2021-07-30 15:14:23 -04:00
Sebastian Spaink 126825d944
Fix procstat plugin README to match sample config (#9553) 2021-07-28 16:22:37 -06:00
Alexander Krantz fdec5f1f31
Prevent segfault in persistent volume claims (#9549) 2021-07-28 14:50:18 -06:00
Sebastian Spaink 5843b27d75
Update procstat to support cgroup globs & include systemd unit children (Copy of #7890) (#9488) 2021-07-27 16:51:56 -05:00
Sven Rebhan 80829b3b5a
Fix attempt to connect to an empty list of servers. (#9503) 2021-07-27 15:39:43 -06:00
Roger Coll Aumatell 837eb31b3f
Suricata alerts (#9322) 2021-07-27 16:31:24 -05:00
Paweł Żak 87c94e4ac3
Linter fixes for plugins/inputs/[fg]* (#9387) 2021-07-27 15:28:26 -06:00
Martin Molnar 1a42c7d289
For Prometheus Input add ability to query Consul Service catalog (#5464) 2021-07-27 17:23:01 -04:00
bhsu-ms 27b98083f4
Change the timeout from all queries to per query (#9471) 2021-07-27 16:14:49 -05:00
Raphael Yu 51720f3bd7
Attach the pod labels to the `kubernetes_pod_volume` & `kubernetes_pod_network` metrics. (#9438) 2021-07-27 17:13:12 -04:00
Dominik Rosiek 348c18db75
feat(http_listener_v2): allows multiple paths and add path_tag (#9529) 2021-07-27 16:10:50 -05:00
Mark Wilkinson - m82labs 57ecd1d21b
Worktable workfile stats (#8587) 2021-07-26 20:55:03 -05:00
Sven Rebhan 754b7ff4c1
Example input plugin (#9409) 2021-07-26 12:36:09 -05:00
Alexander Krantz 32d4234ae4
Prevent x509_cert from hanging on UDP connection (#9323) 2021-07-22 17:44:36 -07:00
Alexander Krantz cae338814b
Switch MongoDB libraries (#9493) 2021-07-22 14:50:23 -06:00
Imran Ismail 8965291f29
Fix prometheus cadvisor authentication (#9497) 2021-07-20 17:08:29 -04:00
Mya ff8ed37762
fixed percentiles not being able to be ints (#9447) 2021-07-19 08:53:07 -06:00
Jacob Hochstetler 4591c62cfc
Http plugin add cookie auth (#9395) 2021-07-13 15:58:49 -06:00
Madhushree Sreenivasa 2267733a04
Provide detailed error message in telegraf log (#9466) 2021-07-13 15:08:41 -06:00
Russ Savage 55a27bb62d
chore: fixing link in influxdb_listener plugin (#9431) 2021-07-09 21:24:44 -05:00
Andre Nathan 59e79fa8d4
Allow multiple keys when parsing cgroups (#8108) 2021-07-08 16:54:22 -04:00
Mat Wood f69b37b759
Adding RFC3164 support to inputs.syslog (#8454) 2021-07-08 14:39:46 -06:00
reimda 537ac63c68
Sqlserver input: require authentication method to be specified (#9388) 2021-07-07 13:09:52 -06:00
Dmitry Alimov 285cae2b64
Fix typo in perDeviceIncludeDeprecationWarning (#9442) 2021-07-06 17:04:06 -04:00
Alexander Krantz a0ec75a62b
Fix segfault in kube_inventory (#9456) 2021-07-06 13:57:52 -06:00
Alexander Krantz 17e86ab4ca
Add include_nodes filter for jenkins (#9351) 2021-07-01 14:54:53 -06:00
Alexander Krantz e0ac5078bb
Fix Couchbase regression (#9448) 2021-07-01 14:50:35 -06:00
Niek Bruins 9b22161d92
Fix nil pointer error in knx_listener (#9444) 2021-07-01 14:42:48 -06:00
Sven Rebhan e2ab2188db
Fix RabbitMQ regression in #9383 (#9443) 2021-06-29 16:01:46 -05:00
Sven Rebhan e4bd01e0c7
Exclude read-timeout from being an error (#9429) 2021-06-24 14:50:24 -06:00
Brian Lamar c6c3efdb97
Don't stop parsing after statsd parsing error (#9423) 2021-06-24 14:43:23 -06:00
Russ Savage 314bc0ff7f
chore: readme updates (#9367) 2021-06-23 11:26:13 -05:00
Mya b846c5069d
added a check for oid and name to prevent empty metrics (#9366) 2021-06-22 15:59:02 -05:00
Sven Rebhan d63a7010d9
Fix messing up the 'source' tag for https sources. (#9400) 2021-06-22 13:45:03 -05:00
Jarno Huuskonen ac9bf5a0ec
Fix x509_cert input plugin SNI support (#9289) 2021-06-22 11:41:45 -05:00
Leandro Piccilli 81f882a271
Add Elasticsearch query input plugin (#3536) 2021-06-21 16:35:26 -05:00
Jörg Thalheim cf616939f1
kube_inventory: expand tls key/tls certificate documentation (#9357) 2021-06-21 11:56:16 -05:00
Jack Henschel 5f6c37bb86
Adjust link to ceph documentation (#9378) 2021-06-21 10:50:19 -05:00
Paweł Żak 9a794919e3
Linter fixes for plugins/inputs/[de]* (#9379) 2021-06-21 10:07:52 -05:00
Mya 28fbdd8fba
Use gosmi for SNMP traps (#9343)
Use gosmi for snmp_trap plugin

Co-authored-by: Logan McNaughton <logan@bacoosta.com>
Co-authored-by: reimda <reimda@users.noreply.github.com>
2021-06-16 10:20:33 -06:00
Sven Rebhan ee0a86c4ae
Fix import of sqlite and ignore it on all platforms that require CGO. (#9359) 2021-06-15 16:46:53 -06:00
Alexander Krantz d7afebf7e6
Fix connecting to the wrong url (#9329) 2021-06-15 16:04:22 -05:00
Sven Rebhan 908ad2f6ce
Generic SQL input (#8735) 2021-06-15 13:10:52 -06:00
Vyacheslav Stepanov 905b22cac9
Closing all idle connections in docker input plugin (#9243)
This prevents error "too many open files" in most cases
2021-06-14 23:23:39 -05:00
Sebastian Spaink 1d4b8d62f5
Support new Suricata JSON format which includes arrays and strings (#9338) 2021-06-14 10:07:36 -05:00
Mya Longmire f6a9d104f8
Feature powermode smartctl (#9306)
Co-authored-by: Steven Soroka <ssoroka@influxdata.com>
2021-06-10 15:51:33 -05:00
Pascal Zimmermann 3ad40df311
Update pgx to v4 (#9182) 2021-06-02 21:28:16 -06:00
Sven Rebhan 2e7b232073
Modbus refactor (#9141) 2021-05-27 16:58:46 -04:00
Russ Savage 467ab87912
chore: update prometheus input readme to match config options (#9270) 2021-05-25 15:11:14 -06:00
Samantha Wang 8eec159871 update HTTP v2 listener readme (#9250) 2021-05-20 16:48:12 -06:00
Chris Dagenais 60bb676730
vSphere input: need to be able to configure the historical interval duration (#9276) 2021-05-20 13:50:40 -07:00
Victor Marinsky 0e55eedd7e
Improve eventhub_consumer input documentation (#8731) 2021-05-20 16:37:01 -04:00
Rajiv Kushwaha 8c73370e50
inputs.ping: Add an option to specify packet size (#9274) 2021-05-20 14:21:20 -05:00
Russ Savage e8ae01921b
Set user agent when scraping prom metrics (#9271) 2021-05-20 08:36:36 -06:00
Giovanni Luisotto ae7d31996b
SQL Server - SQL Requests - added s.[login_name] (#8351) 2021-05-13 23:59:02 -05:00
Erikas 760ad3e366
Update kafka.conf (#9263) 2021-05-13 16:36:46 -04:00
Sebastian Spaink 5330a74fea
Migrate soniah/gosnmp import to gosnmp/gosnmp (#9203) 2021-05-13 15:00:57 -05:00
maxuntr 741e3884e6
Kinesis_consumer input plugin - fix repeating parser error (#9169) 2021-05-11 17:16:58 -04:00
Giovanni Luisotto 8b9883e2ec
SQL Server - sqlServerRingBufferCPU - removed whitespaces (#9130)
### Required for all PRs:

- [ ] Updated associated README.md.
- [ ] Wrote appropriate unit tests.

Removed a pair of whitespace chars from the **sqlServerRingBufferCPU** SQL statement and added some formatting.
This query exists only for the on-prem version of SQL Server (`database_type = "SQLServer"`)

If you were unlucky enough to have some SQL 2008 the query wouldn't work as the whitespace char is not allowed inside the statement.
2021-05-11 16:08:25 -05:00
Josef Johansson 537bc9d21d
plugins/inputs/dovecot: Add support for unix domain sockets (#9223)
It's safer for dovecot to export metrics via a UDS instead of tcp port,
this will add support for that option.

### Required for all PRs:

<!-- Complete the tasks in the following list. Change [ ] to [x] to
show completion. -->

- [x] Updated associated README.md.
- [x] Wrote appropriate unit tests.

resolves #9215 

dovecot: Add support for unix domain sockets as well
2021-05-04 16:09:55 -05:00
Sebastian Spaink 175cd16f19
Migrate ipvs library from docker/libnetwork/ipvs to moby/ipvs (#9235) 2021-05-04 11:15:47 -05:00
Adam Dobrawy 26e791f1c8 Add docs for docker-compose labels in docker input (#9173) 2021-05-03 16:15:35 -04:00
SomKen 09faa32043
Document using group membership to allow access to /dev/pf for pf input plugin (#9232) 2021-05-03 13:35:04 -06:00
Jacob Marble 6977121aed
OpenTelemetry Input Plugin (#9077) 2021-04-30 10:36:48 -04:00
i-prudnikov e3ae7caaf0
Fix for #9135 (#9156) 2021-04-29 11:06:36 -05:00
Paweł Żak ff2992ed21
New DPDK input plugin (#8883) 2021-04-28 09:54:22 -06:00
David Bennett d181b4338f
Fix apcupsd 'ALARMDEL' bug via forked repo (#9195)
* add oauth2 to http input

* switch APC UPSD dependency to forked version with bug fixed.

* fix branch discrepancies

* fix branch discrepancies

* fix branch discrepancies

* fix branch discrepancies

* fork to influxdata repo
2021-04-28 09:43:19 -04:00
Paweł Żak 1fabc5f1fe
Linter fixes for plugins/inputs/[c]* (#9194)
* Linter fixes for plugins/inputs/[c]*

* Linter fixes for plugins/inputs/[c]*

Co-authored-by: Pawel Zak <Pawel Zak>
2021-04-27 20:41:52 -05:00
Paweł Żak e058f3641c
Linter fixes for plugins/inputs/[ab]* (#9191) 2021-04-26 15:57:05 -05:00
David Bennett 8bb388584d
Add OAuth2 to HTTP input (#9138)
* add oauth2 to http input

* linter fixes

* add http config to common plugin

* address linter changes

* Update README.md

* add log for user if fields are missing

* add correct logger

* alter output plugin as well

* fix formatting

* add oauth2 separate package

* fix package naming

* remove unnecessary logger
2021-04-23 09:37:27 -04:00
Sven Rebhan 03b2daeb1b
Linter fixes (unhandled errors) -- Part 2 (#9122) 2021-04-22 16:08:03 -05:00
Avinash Nigam f39d68d1fa
SQL Server input plugin - Enable Azure Active Directory (AAD) authentication support (#8822)
### Required for all PRs:

- [ ] Associated README.md updated.
- [ ] Has appropriate unit tests.

Associated to feature request - [Azure Active Directory (AAD) authentication support in SQL Server input plugin](https://github.com/influxdata/telegraf/issues/8808#issue-801695311)

Co-authored-by: Sven Rebhan <36194019+srebhan@users.noreply.github.com>
2021-04-21 11:02:07 -05:00
David Bennett e29bca7419
Add Glob / Wildcard support to Cloudwatch input for 'Dimensions' configuration (#9136)
I believe this will resolve #4046
2021-04-20 16:29:58 -05:00
Gennady e5b7a094da
Gather all mysql channels (#5517) 2021-04-14 14:13:32 -05:00
Wilfried OLLIVIER 1fa9259392
Fix: sync nfsclient ops map with nfsclient struct (#9128) 2021-04-14 13:43:07 -05:00
Helen Weller 91690803d6
Add custom docker image info to nvidia plugin (#9124) 2021-04-14 09:48:56 -04:00
Thomas Casteleyn 4b2e2c5263
Log snmpv3 auth failures (#8917) 2021-04-13 17:46:34 -04:00
Pontus Rydin 5f26582582
Added MetricLookback setting (#9045)
* Added MetricLookback setting

* Fixed go mod issue
2021-04-13 16:07:54 -05:00
Helen Weller 66e12e062d
remove deprecation warning (#9125) 2021-04-13 16:13:06 -04:00
David Bennett 842a788022
Remove error return type from metric.New method (#9116)
* Remove error return type from metric.New method.

* Formatting changes for linter + gofmt

* Additional linter fixes.

* More linter fixes.

* Linter fix.

* address comments
2021-04-13 14:40:03 -04:00
R290 114e4c2f68
Fix opcua integration test (#9107) 2021-04-09 14:23:32 -04:00
Sven Rebhan 9853bf6c54
Get rid of deprecated internal.{Duration,Size,Number} (#8969) 2021-04-09 13:15:04 -04:00
Sven Rebhan 8e7da355b3
Linter fixes (unhandled errors) -- Part 1 (#8992) 2021-04-08 11:43:39 -05:00
David Bennett 14f428d2fd
Add ability to handle 'binary logs' mySQL query with 3 columns, in case 3 columns are sent (MySQL 8 and greater) (#9082)
* Add ability to handle 'binary logs' mySQL query with 3 columns, in case 3 columns are sent (MySQL 8 and greater)

* Update mysql.go

* Update mysql.go
2021-04-06 17:45:36 -04:00
David Bennett ef2def20dc
Delete log.Fatal calls and replace with error returns. (#9086)
* Delete log.Fatal calls and replace with error returns.

* Update opcua_util.go

* Update opcua_util.go
2021-04-06 17:35:54 -04:00
David Bennett 868befcb5f
Add support for Logstash 7 'queue' stats from the Pipelines API (#9080)
* LAdd support for logstash 7 'queue' stats for its pipelines stats API

* appease the linter

* Update samples_logstash7.go
2021-04-06 17:33:35 -04:00
David Bennett 78d67ba87b
Add configurable option for the 'path' tag override in the Tail plugin. (#9069)
* Add configurable option for the 'path' tag override in the Tail plugin.

* get test cases to pass

* update default config

* convert to configurable string field
2021-03-31 12:06:13 -04:00
Sebastian Spaink 071fef78ef
inputs.nfsclient: use uint64, also update error handling (#9067)
* Use uint64
Fix error handling

* update comment

* More detail to error
2021-03-30 21:43:08 -05:00
Thomas Casteleyn 66c639668c
Fix inputs.snmp init when no mibs installed (#9050) 2021-03-30 13:08:14 -06:00
Sebastian Spaink 7d665904fc
inputs.ping: Always SetPrivileged(true) in native mode (#9072)
* Always SetPrivileged(true)

* Improve error message
2021-03-30 13:08:54 -05:00
David Bennett 470628e5db
Add ~200 more Couchbase metrics via Buckets endpoint (#9032)
* Couchbase new metrics for buckets

* updated

* update to simplify two different modes.

* cleanup code

* linter telling me to fix things I didn't do

* add include/exclude filter

* update sample config

* appease the linter

* Update README.md

* make all metrics configurable, defaults as just 'basic bucket metrics'

* check error in test
2021-03-30 11:17:58 -04:00
Mattias Jiderhamn 871447b22c
input/sqlserver: Add service and save connection pools (#8596) 2021-03-29 11:22:36 -04:00
Paweł Żak 099ccda3f9
Linter fixes - gosimple (#9046) 2021-03-25 13:57:01 -04:00
Samantha Wang 5423e7a049
update: inputs.sqlserver support version in readme (#9040) 2021-03-24 13:42:58 -07:00
Sebastian Spaink 29ac77906d
Change duplicate kubernetes import and update protobuf to v1.5.1 (#9039)
* Change import and update protobuf

* fix check-deps

* go mod tidy

* keep imports consistent
2021-03-24 10:59:05 -05:00
Paweł Żak 5de640b855
Linter fixes - unconvert, revive:empty-lines, revive:var-naming, revive:unused-parameter (#9036)
Co-authored-by: Pawel Zak <Pawel Zak>
2021-03-24 11:27:46 -04:00
Cláudio Silva 9aaaf72a96
SQLServer - Fixes sqlserver_process_cpu calculation (#8549) 2021-03-23 17:45:27 -04:00
jaroug b2b361356e
Wildcard support for x509_cert files (#6952)
* Accept standard unix glob matching rules

* comply with indentation

* update readme

* move globing expand and url parsing into Init()

* chore: rebase branch on upstream master

* rename refreshFilePaths to expandFilePaths
* expandFilePaths handles '/path/to/*.pem' and 'files:///path/to/*.pem'
* update sample config

* fix: recompile files globing pattern at every gather tic

 * add var globFilePathsToUrls to stack files path
 * add var globpaths to stack compiled globpath
 * rework sourcesToURLs to compile files path and stack them
 * rename expandFilePaths to expandFilePathsToUrls
 * rework expandFilePathsToUrls to only match compiled globpath
 * rework the `Gather` ticker to match globpath at each call

* fix: comply with requested changes

 * add specifics regarding relative paths in sample config
 * add logger and use it in expandFilePathsToUrls()
 * precompile glob for `files://`, `/` and `://`

* fix: update README to match last changes

* fix: comply with last requested changes

 * rename expandFilePathsToUrls() to collectCertURLs()
 * collectCertURLs() now returns []*url.URL to avoid extra field
globFilePathsToUrls in structure
 * update the Gather() ticker accordingly

* fix(windows): do not try to compile glopath for windows path as it's not supposed to be supported by the OS

* fix(ci): apply go fmt

* fix(ci): empty-lines/import-shadowing

Co-authored-by: Anthony LE BERRE <aleberre@vente-privee.com>
2021-03-23 17:31:15 -04:00
Helen Weller f4a51a4c33
Fix ipmi panic (#9035) 2021-03-23 10:09:51 -04:00
Aladex dc8e4ef62e
check for length of perusage for stat gathering and removed not used function (#9009) 2021-03-22 15:01:25 -04:00
Paweł Żak 74a1acd814
Linter fixes - revive:unused-parameter, unparam, varcheck and unused (#8984)
* Linter fixes - revive:unused-parameter and unparam

* Linter fixes - revive:unused-parameter and unparam

* Linter fixes - revive:unused-parameter and unparam

* "nolint"'s removed

* Fixes for "varcheck" and "unused" added.

* Fixes for "varcheck" and "unused" added.

* Fixes for "varcheck" and "unused" added.

* Fixes for "varcheck" and "unused" added.

* Fixes for "varcheck" and "unused" added.

* Fixes for "varcheck" and "unused" added.

* Fixes for "varcheck" and "unused" added.

Co-authored-by: Pawel Zak <Pawel Zak>
2021-03-22 12:21:36 -05:00
Steven Soroka 4dcc3c0ad7
exec plugins should not truncate messages in debug mode (#8333) 2021-03-18 17:21:30 -04:00
Dominic Tootell 30830c2ec2
Add content_encoding option to kinesis_consumer input (#8891) 2021-03-18 14:43:39 -06:00
Helen Weller cc6c51cf16
Adds snappy support for http_listener_v2 (#8966) 2021-03-18 11:33:14 -04:00
Sven Rebhan 1eb47e245c
Add input plugin for KNX home automation bus (#7048) 2021-03-18 08:39:44 -06:00
Sebastian Spaink 79f5803444
Migrate from github.com/ericchiang/k8s to github.com/kubernetes/client-go (#8937)
* new k8 client

* Make all tests pass

* Update licenses

* add timeout back

* Resolve merge conflicts

* Fix tests and linter

* Fix linter errors

* Linting issues

* Extra empty line

Co-authored-by: Bas <3441183+BattleBas@users.noreply.github.com>
2021-03-17 16:35:25 -05:00
Felix Moessbauer 927612a0a7
fix segfaults in sflow plugin by checking if protocol headers are set (#8995) 2021-03-17 15:42:35 -04:00
Shangxin Du f5552944d1
cisco_telemetry_mdt enhancement (#8661) 2021-03-16 17:49:07 -04:00
Denis Pershin 8a47d6f104
Add top stat info to mongodb plugin (#8861)
* Add top stat info

* fixes after review

* fix README.md
2021-03-16 15:54:57 -05:00
Josh Keegan c4a126073c
Teamspeak input plugin query clients (#8950)
* Add query_clients_online to the teamspeak input plugin

* Update readme for teamspeak input plugin following introduction of new query_clients_online field
2021-03-16 15:48:19 -05:00
Daniel Moran 1b09a9f3dc
chore: remove references to outdated InfluxDB settings. (#8754) 2021-03-16 16:02:59 -04:00
Paweł Żak 38c61c07ef
Revive fixes - part 4: (#8981)
empty-lines

Co-authored-by: Pawel Zak <Pawel Zak>
2021-03-12 14:21:51 -06:00
David Bennett c905116ade
Add 'field name' config option to customize field name when using Value parser. (#8979) 2021-03-11 21:53:32 -05:00
helenosheaa 94d441c488 Merge branch 'master' of github.com:influxdata/telegraf 2021-03-11 16:21:03 -05:00
helenosheaa ba8452d61d resolved conflicts 2021-03-11 16:19:23 -05:00
Connor Quagliana 30e189df16
Add an optional health metric for the sqlserver input plugin (#8544) 2021-03-11 16:07:38 -05:00
Madhushree Sreenivasa 35b75e959c
Filter data out from system databases for Azure SQL DB only (#8849)
* Excluding data from system databases like msdb,model which are not
relevant for monitoring in Azure SQL

Please enter the commit message for your changes. Lines starting

* Addressing review comments to handle null scenarios
2021-03-11 15:04:09 -06:00
Steven Soroka 7726f94621 fix ping tests 2021-03-10 16:55:59 -05:00
Steven Soroka 7651651867 add more logging to ping plugin 2021-03-10 12:11:19 -05:00
Sebastian Spaink 3af16aa885
Support Go version 1.16 (#8882)
* Support 1.16

* Use 1.16 in mod file

* update go.sum

* update go.mod after updating to 1.16 locally

* Fix go vet

* Remove exit

* Use require.NoError

* Only run tidy explicitly in "dep" job

* install 1.16 for go

* typo

* update xcode

* specific version not working

* Get 1.16 go formula

* Change brew call

* brew update

* typo

* Resolve go.sum conflict

* go mod tidy
2021-03-08 16:29:11 -06:00
Samantha Wang 188163c1e7
NFS Client input plugin README cleanup (#8943)
* NFS Client input plugin README cleanup

* reorder
2021-03-08 09:52:57 -08:00
Grace Wehner d7df2c546b
Prometheus [Input] plugin - Optimizing for bigger kubernetes clusters (500+ pods) when scraping thru 'monitor_kubernetes_pods' (#8762) 2021-03-08 11:00:56 -05:00
Paul Choi aabec054a7
Set $HOSTIP in default URL (#8721)
Telegraf daemonset pod cannot contact kube-apiserver via localhost.
Should be `$HOSTIP`, and the default port is 6443.

Co-authored-by: Paul Choi <pchoi@apple.com>
2021-03-05 11:30:45 -06:00
Pmoranga 74d4836c25
Nfsclient input: (Reopen of PR 1491 and 1684) (#4615) 2021-03-05 09:56:28 -05:00
Russ Savage 9e45322661
chore: update docs link in influxdbv2listener (#8939)
* chore: update docs link in influxdbv2listener

* chore: one more update to use latest
2021-03-04 16:02:12 -06:00
Russ Savage 9b3bd86d6d
fix: Beat readme title (#8938) 2021-03-04 16:01:43 -06:00
David Bennett cfc5300ee2
Get Tail tests to pass on windows (#8927)
* fix tests

* Update tail_test.go
2021-03-04 14:37:57 -05:00
Russ Savage d85a3637d5
chore: update csgo readme title (#8933) 2021-03-04 11:28:05 -05:00
Paweł Żak 17efd172b7
Clearing LGTM alerts and warnings (#8923) 2021-03-03 14:56:31 -05:00
Marcin Lewandowski 5e3d7b8a16
Input plugin for RavenDB (#8834) 2021-03-03 14:37:06 -05:00
oofdog ee09a39de5
Add CSGO SRCDS input plugin (#8525) 2021-03-03 14:05:14 -05:00
Andrés Álvarez 786dca2d5e
[plugins/input/docker] Make perdevice affect also cpu and add class granularity through perdevice_include/total_include (#7312) 2021-03-03 14:02:04 -05:00
reimda 851136f16c
Add PPID field to procstat input plugin (#8887) 2021-03-02 21:42:06 -07:00
David Bennett 600816826d
Adding a new directory monitor input plugin. (#8751) 2021-03-02 17:30:59 -05:00
Avinash Nigam cf9ae34d03
SqlServer - fix for default server list (#8655) 2021-03-02 14:55:28 -05:00
Patrick Koenig 6bc731be92
Use consistent container name in docker input plugin (#8703) 2021-03-02 14:19:08 -05:00
Paweł Żak 8a6907a186
Revive fixes - part 3 (#8872)
* * Revive fixes regarding following set of rules: [rule.var-naming]
2021-03-01 16:04:35 -05:00
Avinash Nigam b362ee4665
Bug Fix - SQL Server HADR queries for SQL Versions (#8833) 2021-02-26 13:59:29 -05:00
David Bennett accf91305f
add proxy (#8915) 2021-02-26 13:58:28 -05:00
Antonio Garcia 7ed98c7e5c
fix: reading multiple holding registers in modbus input plugin (#8628) 2021-02-26 11:45:33 -05:00
Niels Huylebroeck e1a896ca12
Non systemd support with unittest (#8785) 2021-02-26 10:42:46 -05:00
David Bennett 25aa0eeb21
Fix statsd concurrency bug (#8885)
* Fix the issue

* Remove test I was using for replication

* Accidentally removed test.

* Add lock only where it is necessary.

* eliminate unnecessary space
2021-02-25 17:17:46 -05:00
Thomas Casteleyn 47e12d1981
Support more snmpv3 authentication protocols (#8850) 2021-02-24 11:44:53 -07:00
Avinash Nigam 2372db9028
SQL Perfmon counters - synced queries from v2 to all db types (#8393) 2021-02-19 15:59:26 -05:00
Andreas Fuchs b991aab75d
plugins/filestat: Skip missing files (#7316) 2021-02-17 15:50:25 -05:00
sarvanikonda 458f9d1e47
added member_id as tag(as it is a unique value) for redfish plugin and added address of the server when the status is other than 200 for better debugging (#8813) 2021-02-17 11:17:13 -05:00
Paweł Żak d9736d543f
Revive fixes - part 2 (#8835)
* Revive fixes regarding following set of rules:
[rule.if-return]
[rule.increment-decrement]
[rule.var-declaration]
[rule.package-comments]
[rule.receiver-naming]
[rule.unexported-return]
2021-02-16 18:19:50 -05:00
Sebastian Spaink 71be90d992
Support exclamation mark to create non-matching list in tail plugin (#8613)
* Replace exclamation mark with caret

* Update README and use table driven tests

* Use ReplaceAll instead

* Use doublestar package instead to glob filepath

* Add license

* Fix order of dependencies

* Doc improvement, maybe better then str replace?

* Forgot to remove nil from test

* Use regex instead of library

* Revert unnecessary change

* Go back to using library
replace string twice to handle edge case
2021-02-16 15:53:50 -06:00
Sreejith Pp f888136333
Add support for datadog distributions metric (#8179)
* Add support for datadog distributions in statsd

* Parse metric distribution correctly

* Add tests to check distributions are parsed correctly

* Update Statsd plugin Readme with details about Distributions metric

* Refactor metric distribution initialization code

* Update distribution metric interface to replace fields with value

* Refactor statsd distribution metric test code

* Fix go formatting errors

* Add tests to parse only when DataDog Distributions config is enabled

* Add config to enable parsing DataDog Statsd Distributions

* Document use of datadog_distributions config in Readme
2021-02-16 11:50:01 -06:00
viperstars fe16d56a3e
inputs.x509_cert: Fix timeout issue (#8824)
* reproduce timeout issue #8809

* fix timeout issue #8809

* set default timeout to 5s

* closes #8809

Co-authored-by: 彭浩 <penghao@qiyi.com>
2021-02-16 12:11:53 -05:00
Helen Weller f3a208ee28
Fix reconnection issues mqtt (#8821) 2021-02-11 11:45:13 -05:00
Johannes Deger 198bcc8f36
Expose v4/v6-only connection-schemes through GosnmpWrapper (#8804) 2021-02-10 09:28:37 -07:00
Sebastian Spaink aa6dc79fc6
Sort and timeout is deadline (#8839) 2021-02-09 10:50:57 -06:00
Paweł Żak ba66d4facb
Revive fixes - part 1 (#8797)
* Revive fixes regarding following set of rules:
[rule.blank-imports]
[rule.context-as-argument]
[rule.context-keys-type]
[rule.dot-imports]
[rule.error-return]
[rule.error-strings]
[rule.indent-error-flow]
[rule.errorf]
2021-02-08 11:18:40 -05:00
Sebastian Spaink 90392e16d1
Update README for inputs.ping with correct cmd for native ping on Linux (#8787)
* Update readme  to enable native ping

* Provide more information on the numbers being set

* reference for ping_group_range already exists
2021-02-08 09:36:23 -06:00
Sebastian Spaink 244178e5ca
Set interface for native (#8770)
Support both name and IP
2021-01-28 11:30:00 -06:00
Sebastian Spaink 03fe914c59
Resolve regression, re-add missing function (#8764) 2021-01-28 10:54:29 -05:00
Shawn Guo 5c4c0e1494
improve mntr regex to match user specific keys. (#7533)
* improve mntr regex to match user specific keys.

* Update plugins/inputs/zookeeper/zookeeper.go

Co-authored-by: Sven Rebhan <36194019+srebhan@users.noreply.github.com>

Co-authored-by: guoxu <guoxu@chinatelecom.cn>
Co-authored-by: Sven Rebhan <36194019+srebhan@users.noreply.github.com>
2021-01-27 15:39:28 -05:00
omgold 8707a2d847
Fix crash in lustre2 input plugin, when field name and value (#7967)
are not separated by whitespace, which happens when numbers grow large (#7966)

Co-authored-by: Oliver Mangold <o.mangold@gmail.com>
2021-01-27 15:36:29 -05:00
Sebastian Spaink c237989631
Use go-ping for "native" execution in Ping plugin (#8679)
* Use go-ping for "native" execution in Ping plugin

* Check for ipv6 and deadline out of go func

* ensure dns failure

* Move interval and timeout calc to init
Removed dns failure check, 3rd parties libary responsibility

* Rename timeout to avoid conflict

* Move native ping to interface
Update tests

* Check for zero length
2021-01-26 16:02:43 -06:00
Helen Weller d41569caed
Integration test audit (#8725) 2021-01-26 11:06:12 -07:00
viperstars eda1dbc4dc
fix x509 cert timeout issue (#8741) 2021-01-26 13:02:23 -05:00
A. Binzxxxxxx 358633bc4d
Add setting to enable caching in ipmitool (#8335) 2021-01-21 16:14:21 -07:00
Dae-Ho Kim 54422f4f1d
add kafka connect example to jolokia2 input (#8709)
* feat: add kafka connect example to jolokia2 input

* docs: add kafka connect example link

* chore: polishing
2021-01-19 20:45:24 -06:00
Helen Weller 76c2201bbe
Fix Redis output field type inconsistencies (#8678) 2021-01-14 11:47:00 -05:00
David Bennett fbd54e84a2
GNMI plugin should not take off the first character of field keys when no 'alias path' exists. (#8659)
* GNMI plugin should not take off the first character of field keys when no 'alias path' exists.

* fix test method name

* fix test file formatting

* fix test file formatting

* Remove my unnecessary failing test
2021-01-13 15:48:21 -05:00
David Bennett d9f237759d
Use the 'measurement' json field from the particle webhook as the measurment name, or if it's blank, use the 'name' field of the event's json. (#8609) 2021-01-12 17:59:42 -05:00
David Bennett 70d2b1f790
Procstat input plugin should use the same timestamp in all metrics in the same Gather() cycle. (#8658) 2021-01-12 17:59:13 -05:00
Földi Tamás 0c99ae9e1d
Add timestamp column support to postgresql_extensible (#8602) 2021-01-11 13:53:44 -05:00
Steven Soroka 9814d3d84d fix some annoying tests due to ports in use 2021-01-08 17:30:43 -05:00
Nathan Ferch f31203b4b2
Add Beat input plugin (#6653)
This plugin is known to work with Kafkabeat and Filebeat, and will
likely work with other Beat instances that have a similar HTTP API.

It is based on work done by @dmitryilyin.

Co-authored-by: Dmitry Ilyin <idv1985@gmail.com>
2021-01-08 13:06:59 -05:00
Aladex 4b7d11385c
Using mime-type in prometheus parser to handle protocol-buffer responses (#8545) 2021-01-07 11:21:09 -05:00
Dušan Pajin 9ee6e034fb
Input SNMP plugin - upgrade gosnmp library to version 1.29.0 (#8588) 2021-01-07 08:44:33 -07:00
Sebastian Spaink ee76535a12
Provide test environment for kibana input plugin (#8629) 2021-01-06 16:23:40 -06:00
Samantha Wang 3d30fd85c6
update intel powerstat readme (#8600) 2020-12-23 16:41:59 -05:00
Andreas Fuchs 3c9c013f4b
common/tls: Allow specifying SNI hostnames (#7897)
* tls_config: Allow specifying SNI hostnames

Add a new configration field `tls_server_name` that allows specifying
the server name that'll be sent in the ClientHello when telegraf makes
a request to TLS servers. This allows checking against load balancers
responding to specific hostnames that otherwise wouldn't resolve to
their addresses.

Add the setting to the documentation of common TLS options, as well as
to the http_response plugin.

Fixes #7598.

* Adjust the x509_cert to allow usage of tls_server_name

This plugin has been using ServerName previously, and will have to
deal with the new setting, too: Extract the server-name choosing into
a method & add a test to ensure we choose the right value (and error
under the right circumstances). Also document that the two settings
are mutually exclusive.

* Improve documentation on what we try to accomplish in the nil return

Also get rid of the TODO, as I am fairly certain this behavior is the
correct one.

* Remove unused struct field in tests
2020-12-23 13:39:43 -06:00
David Pryor ea4feb1a07
fixed formatting (+1 squashed commit) (#8541)
Squashed commits:
[c4e2bee2] Closes #8530: Extended the internal snmp wrapper to support AES192, AES192C, AES256, and AES256C.  Updated the example configuration with the new privProtocols.  Added the warning that those protocols are only supported if you have the appropriate tooling on your system.  Added test to ensure all 4 new privProtocols could be selected and properly encrypt the priv password.
2020-12-23 10:19:53 -06:00
Greg 7c17055178
Provide method to include core count when reporting cpu_usage in procstat input (#6165)
* Provide a non-irix reporting of cpu_usage in procstat input

* Update sample config to include cpu gathering mode

* cleanup readme from merge
2020-12-23 09:30:47 -06:00
JS1010111 ed72aac0be
Add support for an inclusive job list in Jenkins plugin (#8287)
* Add support for an inclusive job list

* Update jenkins plugin tests

* Update jenkins plugin docs

* Update jenkins plugin docs
2020-12-23 09:21:38 -06:00
Peng Xiao 2c61fad895
improve the error log message for snmp trap (#8552)
add OID value and source information into error log and make it easier for troubleshooting
2020-12-23 09:12:41 -06:00
Sam Lai 35a221018b
[http_listener_v2] Stop() succeeds even if fails to start (#8502)
* [http_listener_v2] Stop() succeeds even if fails to start

In cases where the http_listener_v2 plugin config is invalid, when the agent attempts to cleanup by stopping all the inputs, the Stop method here panics as it tries to call listener.Stop() when no listener has been set. This also masks the error message returned from the Start method.

```
> telegraf --test
2020-10-27T12:21:45Z I! Starting Telegraf 1.16.0
2020-10-27T12:21:45Z I! Using config file: /etc/telegraf/telegraf.conf
...
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0x1245130]

goroutine 45 [running]:
github.com/influxdata/telegraf/plugins/inputs/http_listener_v2.(*HTTPListenerV2).Stop(0xc00043e000)
        /go/src/github.com/influxdata/telegraf/plugins/inputs/http_listener_v2/http_listener_v2.go:178 +0x30
github.com/influxdata/telegraf/agent.stopServiceInputs(0xc00045e480, 0x5, 0x8)
        /go/src/github.com/influxdata/telegraf/agent/agent.go:445 +0x82
github.com/influxdata/telegraf/agent.(*Agent).testRunInputs(0xc000288080, 0x32be8c0, 0xc0000f1f00, 0x0, 0xc00000f480, 0x0, 0x0)
        /go/src/github.com/influxdata/telegraf/agent/agent.go:434 +0x1b7
github.com/influxdata/telegraf/agent.(*Agent).test.func4(0xc000057b70, 0xc000288080, 0x32be8c0, 0xc0000f1f00, 0x0, 0xc00000f480)
        /go/src/github.com/influxdata/telegraf/agent/agent.go:977 +0x8b
created by github.com/influxdata/telegraf/agent.(*Agent).test
        /go/src/github.com/influxdata/telegraf/agent/agent.go:975 +0x352
```

This fixes this issue by checking if the listener has been set before calling listener.Stop.

```
> ./telegraf --config test.conf --test
2020-10-27T12:43:25Z I! Starting Telegraf
2020-10-27T12:43:25Z E! [agent] Starting input inputs.http_listener_v2: listen tcp: address address_without_port: missing port in address
```

* retry CI
2020-12-23 09:09:42 -06:00
Aleksei Magusev 0731585d61
Unify comments style in the CPU input (#8605) 2020-12-21 15:44:51 -05:00
David Bennett dd09f46863
Add hex_key parameter for IPMI input plugin connection (#8524) 2020-12-21 11:45:58 -05:00
David Bennett c47fcf6626
Add configurable number of 'most recent' date-stamped indices to gather in Elasticsearch input (#8543)
Add configurable number of 'most recent' date-stamped indices to gather in the Elasticsearch input plugin, and allow wildcards to account for date-suffixed index names. Configuring '3' for num_most_recent_indices will only gather the 3 latest indices, based on the date or number they end with. Finding the date or number is dependent on the targeted indices being configured with wildcards at the end of their 'base' names.
2020-12-21 11:45:19 -05:00
Paweł Żak 7bf8cdb8e3
[ethtool] interface_up field added (#8590)
Co-authored-by: Pawel Zak <Pawel Zak>
Co-authored-by: Sven Rebhan <36194019+srebhan@users.noreply.github.com>
2020-12-18 12:04:02 -05:00
Helen Weller 04e62e3d23
changed TestThreadStats acc to wait for 2 and added warning comment (#8592) 2020-12-17 19:32:49 -05:00
Samantha Wang ee91b4856b
update inputs.influxdb readme (#8569)
* update inputs.influxdb readme

* remove duplicate
2020-12-17 08:21:45 -08:00
Steven Soroka a27ded6d95
fix potential issue with race condition (#8577) 2020-12-16 15:39:12 -05:00
Steven Soroka e39208d60a
fix issue with mqtt concurrent map write (#8562) 2020-12-16 15:38:33 -05:00
Sebastian Spaink b858eb962a
Added Glob pattern matching for "Windows Services" plugin (#8575)
* Allow glob patterns in config

* Update README

* Move creating filter to init

* Need to explictly call init

Co-authored-by: Bas <3441183+BattleBas@users.noreply.github.com>
2020-12-16 14:32:29 -06:00
Vyacheslav Stepanov b64c38bb00
Remove duplicated field "revision" from ecs_task because it's already defined as a tag there (#8574) 2020-12-16 13:23:31 -05:00
vhqtvn 8e08da1889
fix crash when socket_listener receiving invalid data (#8551)
Co-authored-by: Hoa Nguyen Van <vanhoa@vhn.vn>
2020-12-15 13:52:48 -05:00
Oleksandr 21253ecae1
Add per user metrics to mysql input (#6132) 2020-12-15 08:59:52 -07:00
Vyacheslav Stepanov 0fe2386494
Fixing issue with missing metrics when pod has only pending containers (#8472)
Also added Pod Phase and Pod Reason fields
fixes #8347

Co-authored-by: Vyacheslav-Stepanov <Vyacheslav_Stepanov@epam.com>
2020-12-11 09:08:30 -05:00
Joshua Gross a063f9d7f7
fix edge case in aerospike plugin where an expected hex string was converted to integer if all digits (#8542) 2020-12-10 17:38:21 -05:00
Sven Rebhan 34151c47a6
[inputs.github] Add query of pull-request statistics (#8500) 2020-12-10 15:23:57 -05:00
MaciejMis 9166a16577
New Intel PowerStat input plugin (#8488) 2020-12-10 13:23:27 -07:00
Joe Wang 99287d89e0
Update string parsing of allocatable cpu cores in kube_inventory (#8512) 2020-12-10 12:38:01 -07:00
Pontus Rydin 6062265f94
Fixed misspelled check for datacenter (#8505) 2020-12-10 12:02:36 -05:00
alespour d3031a467d
feat: add build number field to jenkins_job measurement (#8038) 2020-12-10 12:02:07 -05:00
Frank Riley 97de3981bd
Add percentiles to the ping plugin (#7345) 2020-12-09 10:54:51 -07:00
bhsu-ms 752a4b77e1
Added tags for monitoring readable secondaries for Azure SQL MI (#8369) 2020-12-08 15:42:31 -05:00
Avinash Nigam e687cd7a5f
SQL Server HA/DR Availability Group queries (#8379) 2020-12-08 15:40:11 -05:00
Sven Rebhan d712bd13d6
Add initialization example to mock-plugin. (#8520) 2020-12-07 17:43:15 -05:00
Wiard van Rij 139498937a
Add support to convert snmp hex strings to integers (#8426) 2020-12-07 14:45:06 -07:00
Joe Wang 97469f6d85
Update kube_inventory readme (#8510) 2020-12-07 13:59:32 -05:00
David Bennett 2187baceea
Add configurable Max TTL duration for statsd input plugin entries (#8509)
* Adding max TTL duration for all metric caches in the statsd input plugin

* Update README.md

was missing type in readme
2020-12-04 14:39:00 -05:00
Helen Weller ef6ce2c9d9
fixed network test (#8498) 2020-12-04 12:08:11 -05:00
Stephanie Engel 7f3773e8e7
Add configurable timeout to bind input plugin http call (#8508) 2020-12-03 13:42:50 -06:00
bhsu-ms f7d94430d2
Added is_primary_replica for monitoring readable secondaries for Azure SQL DB (#8368) 2020-12-03 11:07:08 -05:00
Igor Kuchmienko def6963b5e
sqlAzureMIRequests - remove duplicate column [session_db_name] (#8462) 2020-12-03 11:06:19 -05:00
Igor Kuchmienko a267570ae3
Add column measurement_db_type to output of all queries if not empty (#8464) 2020-12-03 11:05:43 -05:00
reimda 498a6da75f
Add node groups to opcua input plugin (#8389) 2020-12-02 17:06:47 -07:00
Dmitry Senin 0ccb134ae4
Add a parser plugin for prometheus (#7778) 2020-12-02 12:48:44 -07:00
SoerMan 05378980a3
Add FLOAT64-IEEE support to inputs.modbus (#8361) (by @Nemecsek) (#8474) 2020-11-30 16:22:57 -05:00
Mike Dalrymple 6be3bd8c9c
Log SubscribeResponse_Error message and code. #8482 (#8483) 2020-11-30 12:12:10 -05:00
Ben Carlton 143cabc4b7
Removed outdated information about Windows support (#7971)
Newer versions of Telegraf for Windows do not appear to support using WMI query patterns as values for the "pattern" option. Regular expressions appear to be the only patterns now supported.
2020-11-27 16:15:11 -05:00
Enzo Hamelin ef91f96de9
Add dataset metrics to zfs input (#8383) 2020-11-27 13:58:32 -05:00
Vipin Menon d536f610cd
Support Riemann-Protobuff Listener (#8163) 2020-11-27 11:30:45 -05:00
Steven Soroka 4090c77275
proxy support for http input (#8477) 2020-11-26 17:16:25 -05:00
Tuamas a7096c8128
Translate snmp field values (#8466) 2020-11-26 13:21:57 -05:00
Igor Kuchmienko e28cccf201
Fix typo in column name (#8468) 2020-11-24 14:45:09 -05:00
Paweł Żak 832925d9c8
[php-fpm] Fix possible "index out of range" (#8461) 2020-11-23 17:21:36 -05:00
Steven Soroka 8b30bb9534
Enable kafka zstd compression and idempotent writes (#8435) 2020-11-23 15:51:58 -05:00
Paweł Żak 0fcfee0caf
Fix tests for Windows - part 1 (#8414) 2020-11-23 10:40:32 -05:00
Loïc Tosser d64c72294a
Add response_time to monit plugin (#8056) 2020-11-23 10:35:00 -05:00
Roy Lenferink 521caf3995
Update mdlayher/apcupsd dependency (#8444) 2020-11-20 13:54:56 -05:00
Alexey Kuzyashin 8ad288bad4
Add DriverVersion and CUDA Version to output (#8436) 2020-11-19 09:52:47 -07:00
Krzysztof Dąbrowski fb463bcc17
proxmox: ignore QEMU templates and iron out a few bugs (#8326) 2020-11-12 18:12:29 -05:00
Kevin R 97fb465c2d
systemd_units: add --plain to command invocation (#7990) (#7991) 2020-11-12 15:51:44 -05:00
Russ Savage dabea48a90
Fix minor typos in readmes (#8370) 2020-11-12 10:20:50 -07:00
Paweł Żak ff0a8c2d87
Fix SMART plugin to recognize all devices from config (#8374) 2020-11-12 11:04:52 -05:00
smizach d369003912
Add OData-Version header to requests (#8288)
Closes
influxdata#8093
2020-11-06 10:15:27 -05:00
Steven Soroka f8daed0597 misc tests 2020-11-03 16:02:34 -05:00
Pontus Rydin 89919631c5
Prydin issue 8169 (#8357) 2020-11-03 13:09:37 -05:00
Giovanni Luisotto 1939e58b68
On-prem fix for #8324 (#8356) 2020-11-03 11:04:24 -05:00
Roman Dodin 68a4f18e3d
added support for bytes encoding (#7938) 2020-11-02 11:11:28 -05:00
reimda 73b2f988c4
Update jwt-go module to address CVE-2020-26160 (#8337) 2020-11-02 09:07:37 -07:00
Konstantin Kulikov 9be445c958
fix plugins/input/ras test (#8350)
On some systems /tmp/test.db happens to exist which
makes this test fail.
2020-11-02 10:17:54 -05:00
Giovanni Luisotto c5e04325ab
SQL Server Azure PerfCounters Fix (#8331) 2020-10-28 14:00:37 -04:00
Steven Soroka e83a165635
kafka sasl-mechanism auth support for SCRAM-SHA-256, SCRAM-SHA-512, GSSAPI (#8318) 2020-10-28 12:16:59 -04:00
Giovanni Luisotto 1313f2314f
SQL Server - PerformanceCounters - removed synthetic counters (#8325) 2020-10-27 15:19:49 -04:00
Giovanni Luisotto f14a50b511
SQL Server - server_properties added sql_version_desc (#8324) 2020-10-27 14:36:21 -04:00
Paweł Żak 14e81f479d
Disable RAS input plugin on specific Linux architectures: mips64, mips64le, ppc64le, riscv64 (#8317) 2020-10-26 15:33:26 -06:00
Steven Soroka 0e31020836
processes: fix issue with stat no such file/dir (#8309) 2020-10-26 11:35:10 -04:00
Steven Soroka 0ec97a2bdd
fix issue with PDH_CALC_NEGATIVE_DENOMINATOR error (#8308) 2020-10-26 11:06:39 -04:00
Paweł Żak 69230017b0
RAS plugin - fix for too many open files handlers (#8306) 2020-10-23 17:11:32 -04:00
tlusser-inv 9c2979dced
Fix wrong memory measurements of containers and vms (#8290) 2020-10-21 10:50:29 -04:00
Paweł Żak 14a73055f4
New input plugin for RAS with fixed GLIBC issue (#8293) 2020-10-20 17:59:05 -04:00
Steven Soroka 01230889b4
fix issue with phpfpm url usage (#8292) 2020-10-20 11:45:30 -04:00
reimda 5a5f6fbd47
Update sarama library to 1.27.1 (#8289) 2020-10-20 11:42:37 -04:00
Giovanni Luisotto f61457f87a
sqlAzureMIResourceStats - added sorting (#8286) 2020-10-20 10:17:17 -04:00
simnv e3aa6eb577
Fix Event timestamps (#8216)
Closes #8204
2020-10-19 12:24:46 -04:00
Steven Soroka 0ae6fe7c9c
fix flakey proc test (#8279) 2020-10-16 17:03:36 -04:00
Steven Soroka 933925e8e3 temporarily remove RAS plugin 2020-10-16 14:44:15 -04:00
Labesse Kévin 527a11a656
http_response: match on status code (#8032) 2020-10-16 11:40:17 -06:00
Samantha Wang 4872d7b4a9
cleanup Intel RDT readme (#8268)
* cleanup Intel RDT readme

* Update intel_rdt.go
2020-10-15 09:09:09 -07:00
Russ Savage d5f0a120d8
fix(exec): fix typo in exec readme (#8265) 2020-10-14 14:08:47 -04:00
Russ Savage d0faa740b5
fix(ras): update readme title (#8266) 2020-10-14 14:08:35 -04:00
Steven Soroka ac8f4c1e15 add plugin documentation 2020-10-14 12:27:16 -04:00
Giovanni Luisotto 1d6172bd2d
New sql server queries (on-prem) - refactoring and formatting (#8172) 2020-10-14 11:07:13 -04:00
Alestrix aa0363eb84
Update README.md (#8049) 2020-10-13 18:06:07 -04:00
Steven Soroka 18609ac130 fix ci test 2020-10-09 17:14:10 -04:00
Steven Soroka 827b2d4df5 fix flakey tests 2020-10-09 16:10:17 -04:00
Alexandru Tudori 01eaa202d9
Add agent host tag configuration option (#8082) 2020-10-08 11:43:28 -04:00
Paweł Żak c8e69aca3c
Fixed almost all bugs found by LGTM analysis platform (#8240) 2020-10-08 11:20:35 -04:00
Colin Ameigh 7f7703b8fc
Multiple escaping occurs on Jenkins URLs at certain folder depth (#8048)
Co-author: @hansnqyr
2020-10-07 18:20:26 -04:00
Giovanni Luisotto d840448b65
New sql server queries (Azure) - refactoring and formatting (#8186)
* sqlAzureDBResourceStats - formatting & engine check
* sqlAzureDBResourceGovernance - formatting & engine check
* sqlAzureDBWaitStats - formatting and engine check
* sqlAzureDBDatabaseIO - formatting and engine check
* sqlAzureDBProperties - formatting and engine check
* sqlAzureDBProperties - fix [engine_edition]
* sqlAzureDBOsWaitStats - formatting and engine check
* sqlAzureDBOsWaitStats - fix DBMIRROR_QUEUE string
* sqlAzureDBMemoryClerks  - formatting and engine check
* sqlAzureDBRequests - formatting and engine check
* sqlAzureDBSchedulers - moved near other queries
* sqlAzureMIRequests - added [session_db_name]
* sqlAzureDBPerformanceCounters - formatting and engine check
* sqlAzureMIProperties - formatting and engine check
* sqlAzureMIResourceStats - formatting and engine check
* sqlAzureMIResourceGovernance - formatting and engine check
* sqlAzureMIDatabaseIO - formatting and engine check
* sqlAzureMIMemoryClerks - formatting and engine check
* sqlAzureMIOsWaitStats - formatting and engine check
* sqlAzureDBPerformanceCounters - fix check edition
* sqlAzureMIPerformanceCounters - formatting and engine check
* sqlAzureMIRequests - formatting and engine check
* sqlAzureMISchedulers - engine check
* Changed error msg to include DB_NAME
* removed DEADLOCK_PRIORITY from most queries
* sqlAzureDBSchedulers - added engineedition check
2020-10-07 11:56:13 -04:00
Steven Soroka 392ef9b9c0
change influxdb port 9999 to 8086 (#8198) 2020-10-07 11:54:51 -04:00
Vyacheslav Mitrofanov a452feb18d
input consul - added metric_version flag (#7875)
Co-authored-by: Вячеслав Митрофанов <vmitrofanov@mfms.ru>
2020-10-07 11:31:02 -04:00
Giovanni Luisotto 88698a68d9
Fixed Query mapping (#8200) 2020-10-07 08:30:54 -06:00
Samantha Wang 660714b943
add min telegraf to plugin readme (#8223)
* add min telegraf versions to readme
* add new telegraf plugins to main readme
2020-10-06 14:44:00 -07:00
Paweł Żak fa32975d0f
New input plugin for RAS (Reliability, Availability and Serviceability) (#8114) 2020-10-01 16:54:51 -04:00
Paweł Żak 5f02c69da5
New input plugin for Intel RDT (Intel Resource Director Technology) (#8150)
Co-authored-by: Trojan, Kuba <kuba.trojan@intel.com>
2020-10-01 16:49:09 -04:00
Russ Savage 6665b48008
fix(win_eventlog): fixing config (#8209) 2020-10-01 12:49:43 -04:00
Paweł Żak 3efec1a10c
Fix vulnerabilities found in BDBA scan (#8199) 2020-09-30 13:24:10 -04:00
Yoofi Quansah 2332e28802
feat: add functionality to get values from redis commands (#8196) 2020-09-30 12:36:45 -04:00
Josh Bonello 06c62f263c
Implement AWS CloudWatch Input Plugin ListMetrics API calls to use Active Metric Filter (#7894) 2020-09-29 16:31:38 -06:00
reimda 8006068e94
If the community string is available, add it as a tag (#8189) 2020-09-29 10:23:23 -04:00
simnv 57cd20a26c
Windows eventlog input plugin (based on #7020) (#8000)
Co-authored-by: Anuar Serdaliyev <serdaliyev.anuar@gmail.com>
2020-09-28 18:15:28 -04:00
Steven Soroka 382dac70c7
Semigroupoid multiline (#8167) (#8190)
Co-authored-by: javicrespo <javiercrespoalvez@gmail.com>
Co-authored-by: jcrespo <javier.crespo@ingenico.com>
Co-authored-by: semigroupoid <semigroupoid@users.noreply.github.com>
2020-09-28 18:06:00 -04:00
Paweł Żak e1cb269a35
Add more missing NVMe attributes to smart plugin (#8113) 2020-09-28 11:16:49 -04:00
Avinash Nigam bb5c65f5f3
Added more performance counters to SqlServer input plugin (#8120) 2020-09-24 10:09:51 -06:00
Steven Soroka 5a09735020 minor docs cleanup 2020-09-18 15:06:58 -04:00
Steven Soroka 080e0dbbfa update shim docs to point users in the right direction 2020-09-18 15:06:58 -04:00
Labesse Kévin ce133505f2
influxdb_v2_listener - add /ready route (#8133) 2020-09-17 11:49:51 -04:00
John Ibsen d764f862b5
Influxdb v2 listener (#7828) 2020-09-14 18:41:46 -04:00
James Beckett 55a9d36b21
SNMP input plugin: document partial table collection (#8104)
Co-authored-by: James Beckett <hackery@users.noreply.github.com>
2020-09-11 09:44:59 -07:00
denzilribeiro f0c2c38931
Database_type config to Split up sql queries by engine type (#7934) 2020-09-08 17:36:23 -04:00
James DeFelice 8c28661ca7
[fix] add missing error check for HTTP req failure (#8071) 2020-09-08 14:13:23 -04:00
Bryan FRIMIN 6324b1fd63
add nsd input plugin (#7822) 2020-09-04 14:56:25 -06:00
reimda b2ac8b4ac6
Opcua cleanup (#8076) 2020-09-03 21:48:00 -06:00
Samantha Wang f4e5b0ef63
update opcua readme (#8075) 2020-09-03 15:37:42 -06:00
Chris Hayles 160e1d11c7
Add OPC UA input plugin (#8009) 2020-09-02 16:52:46 -06:00
Sven Rebhan b5fafb4c95
Fix CI AppVeyor 'make check' errors for go 1.15 on windows (#8061)
Avoid writing to nul on windows.  On Appveyor, writing to nul creates a file instead of discarding output.  The file's existence creates errors later in the build.
2020-09-01 11:52:41 -06:00
Joshua Gross 4ebb8c7820
Add set, and histogram reporting to aerospike telegraf plugin (#8025)
Co-authored-by: Joshua Gross <joshua.gross@indexexchange.com>
2020-08-28 12:05:42 -04:00
Pontus Rydin 60d402d827
vSphere Fixed missing clustername issue 7878 (#8026) 2020-08-26 12:58:28 -04:00
Patryk Małek 48bab9db86
Fix string to int conversion in eventhub consumer (#8006) 2020-08-26 09:26:37 -06:00
DasSkelett 7354a44240
Fix Ping Input plugin for FreeBSD's ping6 (#7861) 2020-08-20 18:05:50 -04:00
Steven Soroka 11afd42617
fix issue with shim use of config.Duration (#7996) 2020-08-18 14:20:31 -04:00
Steven Soroka b2eb774049
http_listener_v2: make http header tags case insensitive (#7986) 2020-08-14 13:43:31 -04:00
Russ Savage b8b6f2e533
fix(readmes): updates to internal and proxmox readmes (#7982) 2020-08-13 23:50:09 -04:00
effITient c0ab96586d
Proxmox plugin (#7922) 2020-08-12 12:26:38 -04:00
Eugene Klimov 78811f7b1c
add additional metrics to clickhouse input plugin (#7904)
add metrics and test for following ClickHouse tables:
- system.zookeeper
- system.detached_parts
- system.dictionaries
- system.replication_queue
- system.mutations
- system.disks
- system.processes
- system.text_log
- system.part_log
2020-08-12 11:48:07 -04:00
Russ Savage 8878f3f311
fix(puppet): update broken link (#7977) 2020-08-12 10:09:04 -04:00
Russ Savage 786b1b3859
fix(ipmi): update link in readme (#7975) 2020-08-11 23:30:38 -04:00
Russ Savage 40c6d189fe
fix(readmes): standarize first line of readmes (#7973) 2020-08-11 16:10:41 -04:00
Vikky Omkar a6c8f5be13
Updated http_response input plugin README.md (#7962) 2020-08-10 15:52:38 -04:00
Russ Savage 75e701c288
fix(readmes): adding code block annotations (#7963) 2020-08-10 15:50:48 -04:00
Peter A. Bigot 242714224b
rabbitmq: remove deprecated healthcheck (#7823) (#7920) 2020-08-10 13:02:38 -04:00
Giovanni Luisotto 211c2369aa
added new counter - Lock Timeouts (timeout > 0)/sec (#7808) 2020-08-10 11:08:26 -04:00
Steven Soroka 63dde6f733 fix cloudwatch tests 2020-08-07 13:31:55 -04:00
Steven Soroka 4d11d76bb1
cleanup cloudwatch plugin (#7928) 2020-08-07 10:12:14 -04:00
kelseiv 198f92be41
Add descriptions for measurement & fields (#7902) 2020-08-06 14:05:35 -04:00
reimda c7236ebbe5
Fix tail following on EOF (#7927) 2020-07-31 13:31:02 -06:00
Matthias Seelig 7ae240326b
fix broken link to proc.c (#7918) 2020-07-29 11:02:09 -04:00
Vikky Omkar 02454315ab
MongoDB: Added new metric "pages written from cache" (#7870) 2020-07-27 23:45:37 -04:00
Franz-Josef Kaiser d233b4c27f
Fix/extend support of fixed point values on input (modbus plugin) (#7869)
* Add input float types FIXED/UFIXED (#7317)
2020-07-27 16:48:44 -04:00
Steven Soroka dab07c61e8
jolokia: add some error message context (#7906) 2020-07-27 16:07:15 -04:00
A. Binzxxxxxx 72fdfd8bb0
fixed cgroups docu (#7889) 2020-07-24 12:42:17 -04:00
Steven Soroka 569584d7df
shim logger improvements (#7865) 2020-07-22 14:29:50 -04:00
Daniel Nelson b9a71880d7
Recv next message after send returns EOF (#7872) 2020-07-21 15:24:45 -07:00
Steven Soroka 9f6b7092f2
fix issue with execd restart_delay being ignored (#7867) 2020-07-21 13:06:33 -04:00
Steven Soroka de313fcde6 clarify docs and add warning if execd is misconfigured (#7866) 2020-07-20 22:38:00 -04:00
Stephen Solka 6580c6a597
prefer testify error funcs over nil checks (#7857) 2020-07-20 10:34:46 -04:00
kiokoman bf5befa8fc
Fix suricata input docs (#7856) 2020-07-20 10:32:24 -04:00
Samantha Wang 3441fb1419
Update redfish docs with link (#7846) 2020-07-16 14:36:11 -07:00
Daniel Nelson cd97534315
Set log output before starting plugin (#7820) 2020-07-10 13:58:38 -07:00
Daniel Nelson 51f6cc36cd
Close file to ensure it has been flushed (#7819) 2020-07-10 10:59:06 -07:00
Labesse Kévin c90229deb2
fix typo in cloud_pubsub docs (#7815) 2020-07-10 11:34:56 -04:00
Daniel Nelson 413398d1a1
Add minimum version for new plugins (#7810) 2020-07-09 11:29:12 -07:00
Yamagishi Kazutoshi b6b1e7f4dd
Fix markdown syntax (#7806) 2020-07-08 12:25:19 -07:00
reimda 6f9c623986
Add ifname processor plugin (#7763) 2020-07-07 15:37:53 -06:00
Daniel Nelson a19befe376
Traverse redfish api using resource links (#7722) 2020-07-07 14:25:55 -07:00
Daniel Nelson be77fbab31
Support utf-16 in file and tail inputs (#7792) 2020-07-07 12:43:32 -07:00
Steven Soroka 876fc5b4bc
Run all Go tests with flag -race (#7783) 2020-07-07 15:14:00 -04:00
Sergey 55b672e4fc
Add v3 metadata support to ecs input (#7154) 2020-07-07 11:14:05 -07:00
Steven Soroka 07f601f304
Fix inputs.execd readme links (#7791) 2020-07-06 17:09:23 -04:00
Jakub Warczarek c116f0d039 Fix data race in input plugin ping_windows 2020-07-06 21:29:51 +02:00
Steven Soroka df26b037cb Shim refactor to support processors and output 2020-07-02 18:55:14 -04:00
Jakub Warczarek decd656a93
Fix data race in tail input tests (#7780) 2020-07-02 15:20:47 -07:00
Steven Soroka 0efcca3c33
execd output (#7761) 2020-07-02 11:59:29 -04:00
Krzysztof Dąbrowski e81031dfd0
Accept decimal point when parsing kibana uptime (#7768) 2020-07-01 12:40:08 -07:00
Daniel Nelson 3fa4acf903
Update common/tls import path 2020-06-30 23:38:56 -07:00
Daniel Nelson eeb422e017
Update nginx_sts plugin readme 2020-06-30 23:37:10 -07:00
Zinovii Dmytriv 0830b2f8af
Add nginx_sts input plugin (#7205) 2020-06-30 23:29:44 -07:00
Steven Soroka 12bf382e88
Rename cisco_telemetry_gnmi input to gnmi (#7695) 2020-06-30 23:19:16 -07:00
Daniel Nelson 81ec33c560
Fix data race in phpfpm initializing http client (#7738) 2020-06-30 14:19:54 -07:00
Adam Dobrawy 4e3434a81e
Fix typo in elasticsearch input docs (#7764) 2020-06-30 10:57:35 -07:00
Daniel Nelson 1adc4f0f2a
Allow any key usage type on x509 certificate (#7760) 2020-06-30 00:31:07 -07:00
Steven Soroka d75ca67e47
Execd processor (#7640) 2020-06-26 18:18:19 -04:00
Steven Soroka 5c8666d1af clean up tests 2020-06-26 17:29:39 -04:00
Steven Soroka 9785d3c2c6 address feedback 2020-06-26 16:38:07 -04:00
Daniel Nelson f063ff78f2
Update tls import path 2020-06-25 11:49:45 -07:00
Daniel Nelson c73ed8ca6c
Export internal/tls package for use in execd plugins (#7697) 2020-06-25 11:44:22 -07:00
Daniel Nelson 810bb6da8f
Add laundry to mem input plugin on FreeBSD (#7736)
Additionally only report fields that may be set on the platform.
2020-06-25 10:50:51 -07:00
Jakub Warczarek 6d120168fe
Fix data race in plugins/inputs/stackdriver/stackdriver_test.go (#7744) 2020-06-25 10:37:29 -07:00
Jakub Warczarek 84ac738168
Fix data race in plugins/inputs/suricata/suricata_test.go (#7745) 2020-06-25 10:34:01 -07:00
Daniel Nelson c06eef47e7
Fix data race in kafka_consumer_test.go (#7737) 2020-06-24 15:21:56 -07:00
reimda 7f3c30b8f2
Fix SNMP trap test race (#7731) 2020-06-24 12:50:01 -06:00
denzilribeiro 1874ab53cb
Fix incorrect Azure SQL DB server properties (#7715) 2020-06-24 10:34:00 -07:00
Steven Soroka 36e584e92f execd processor 2020-06-24 13:01:46 -04:00
Piotr Szczepanik 6c1d9f765a
Add missing nvme attributes to smart plugin (#7575) 2020-06-23 11:55:32 -07:00
denzilribeiro dd3ff0e8b4
Add counter type to perfmon collector (#7712) 2020-06-23 11:44:08 -07:00
Ricardo Ribalda Delgado e8461fe27a
Skip overs errors in the output of the sensors command (#7718) 2020-06-23 11:40:53 -07:00
Ben Zvan 8a456266c3
Remove master/slave terminology from tests (#7719) 2020-06-23 08:24:10 -07:00
Nathan Ferch 423fc283ac
Fix ping exit code handling on non-Linux (#7658) 2020-06-22 16:16:24 -07:00
Daniel Nelson b4bfecc95b
Update changelog and redfish docs 2020-06-18 19:04:20 -07:00
sarvanikonda b0cd913ff7
Add redfish input plugin (#7082) 2020-06-18 12:16:49 -07:00
Jimmy Seto c8b2423bdd
Add ability to add selectors as tags in kube_inventory (#7267) 2020-06-18 12:08:52 -07:00
Giovanni Luisotto 5b84d3ba92
Remove trailing backslash management in sqlserver input (#7700)
Backslash removal on tags is performed by the influx serializer now.
2020-06-17 14:11:10 -07:00
David McKay 3568200431
Add state and readiness to kube_inventory pod metrics (#7691) 2020-06-16 13:28:09 -07:00
Steven Soroka 0e6566a20f
procstat performance enhancement (#7686)
up to 40/120x better performance on FullPattern/Pattern functions
2020-06-16 13:46:32 -04:00
Nicolas Filotto 59e2bdde66
Fix processor initialization (#7693) 2020-06-16 09:16:27 -07:00
Samantha Wang d0857f9be7
Update gNMI plugin readme (#7685) 2020-06-15 18:08:36 -07:00
Giovanni Luisotto c560aea5a9
Improve sqlserver input compatibility with older server versions (#7495) 2020-06-12 11:56:06 -07:00
Steven Soroka dda46ea32b
Flaky shim test (#7656) 2020-06-09 16:24:02 -04:00
Nicolas Filotto bf0f674458
Add ability to collect response body as field with http_response (#7596) 2020-06-08 15:29:34 -07:00
Daniel Nelson 894841a723
Update to github.com/shirou/gopsutil v2.20.5 (#7641) 2020-06-08 13:25:59 -07:00
Chase Diem 073cb9b7db
Fix source field for icinga2 plugin (#7651)
The plugin uses the icinga2 server name, but does not provide the actual host the check is running on.

This fixes that by adding a new field called `server`, where `server` is the icinga2 server and `source` is hostname of the service or host object that icinga2 performing the checks on.
2020-06-08 10:11:01 -07:00
Daniel Nelson bfaecf62b8
Update changelog 2020-06-08 10:04:07 -07:00
Xinyang Chen fd59d55499
Add video codec stats to nvidia-smi (#7646) 2020-06-08 10:00:36 -07:00
reimda 49caba9b2f
Add tags to snmp_trap input for context name and engine ID (#7633)
Add tags for the context name and engine ID
2020-06-05 08:35:14 -06:00
Daniel Nelson 6f931c9834
Clarify use of multiple mqtt broker servers 2020-06-04 14:43:32 -07:00
kauppine 36316ee8f2
Add SNMPv3 trap support to snmp_trap input plugin (#7294)
Extend snmp_trap input plugin to support SNMPv3 traps. MD5 and SHA1 authentication protocols are supported, and DES, AES, AES192, AES256, AES192c and AES256c privacy protocols are supported.
2020-06-04 15:19:47 -06:00
Simon Knittel af8093e00e
Fix typo in queue depth example of diskio plugin (#7613) 2020-06-02 23:11:13 -07:00
Yamagishi Kazutoshi 1e7f714b2b
Add support for env variables to shim config (#7603) 2020-06-02 09:29:57 -04:00
Nicolas Filotto 430854f6de
Fix segmentation violation on connection failed (#7593) 2020-05-28 11:05:57 -07:00
Nicolas Filotto 7ef1d53551
Allow collection of HTTP Headers in http_response input (#7405) 2020-05-26 15:52:13 -07:00
Daniel Nelson d27f676091
Update to Go 1.14.3 with testing using 1.13.11 (#7564) 2020-05-26 15:40:25 -07:00
Harshit Bansal 092059c066
Exclude csv_timestamp_column and csv_measurement_column from fields (#7572) 2020-05-26 14:16:48 -07:00
Harshit Bansal 22c0bdb38c
Fix the typo in `gcc_pu_fraction` to `gc_cpu_fraction` (#7573) 2020-05-26 12:18:24 -07:00
raul-te 4d071bed24
Add option to disable mongodb cluster status (#7515)
It can be expensive to compute these metrics. In particular, when
retrieveing the amount of jumbo chunks, an index is not being used and
consequently the query triggers an expensive COLLSCAN. For big
databases, this query has negative impact on the cluster performance.
2020-05-22 00:11:00 -07:00
Josh Soref f975b94404
Fix typos in sqlserver input (#7524) 2020-05-22 00:05:10 -07:00
Steven Soroka d4e9fd15ce
fix randomly failing CI test (#7514) 2020-05-21 16:53:07 -04:00
debu99 f10c8ff92d
Add cluster state integer to mongodb input (#7489) 2020-05-20 17:34:50 -07:00
denzilribeiro 5280023abe
Fix instance name resolution in performance counter query (#7526) 2020-05-20 16:55:37 -07:00
Daniel Nelson 443ac6df23
Fix negative value parsing in impi_sensor input (#7541) 2020-05-19 11:20:29 -04:00
Josh Soref bf1eb291f2
Fix assorted spelling mistakes (#7507) 2020-05-15 15:43:32 -07:00
Max Greenwald f74824eecb
Fix documentation of percent_packet_loss field (#7510) 2020-05-14 13:39:00 -07:00
Daniel Nelson 68b936c9f0
Update procstat pid_tag documentation 2020-05-14 00:48:05 -07:00
Josh Soref 2c56d6de81
Fix spelling errors in comments and documentation (#7492) 2020-05-14 00:41:58 -07:00
Darin Fisher 670277f785
Add authentication support to the http_response input plugin (#7491) 2020-05-12 14:01:17 -07:00
Kostiantyn Nemchenko 00ad5baa19
Add additional fields to mongodb input (#7321)
New metrics include:
- assertions
- database operations
- documents/index keys usage
- replication
- tcmalloc memory management
- storage
- version
2020-05-12 11:31:54 -07:00
Giovanni Luisotto db0d950b3a
Add cpu query to sqlserver input (#7359) 2020-05-07 11:25:03 -07:00
i-prudnikov 0924ad2668
Use docker log timestamp as metric time (#7434) 2020-05-06 11:20:44 -07:00
Steven Soroka 022ff63d29
fix issue with execd-multiline influx line protocol (#7463) 2020-05-05 17:43:45 -04:00
Giovanni Luisotto 53c86890af
Rename measurement to sqlserver_volume_space (#7457) 2020-05-05 10:56:03 -07:00
Steven Soroka cc927357a4
shim improvements for docs, clean quit, and slow readers (#7452) 2020-05-05 10:14:57 -04:00
Daniel Nelson d16485e1a3
Fix gzip support in socket_listener with tcp sockets (#7446) 2020-05-04 16:26:05 -07:00
Steven Soroka b73a232a6a
Support Go execd plugins with shim (#7283) 2020-05-04 14:09:10 -04:00
Steven Soroka 07c6b78c8f
Sflow rework (#7253) 2020-04-29 17:28:55 -04:00
Daniel Nelson 476a899a1a
Fix typo in name of gc_cpu_fraction field (#7425) 2020-04-28 14:41:44 -07:00
Pierrick Brossin 7ee776d67a
Fix interfaces with pointers (#7411) 2020-04-27 11:52:24 -04:00
Daniel Nelson be1dc49ad9
Document distinction between file and tail inputs (#7353) 2020-04-24 16:40:08 -07:00
Len Smith d915f7c7d6
Fix shard indices reporting in elasticsearch input (#7332) 2020-04-24 13:38:58 -07:00
Mark Drayton 1bb436e8a8
Fix string to int64 conversion for SNMP input (#7407) 2020-04-24 13:35:59 -07:00
timhallinflux 8957032790
Update nvidia-smi README for Windows users (#7399) 2020-04-23 17:20:35 -07:00
Jesper Brix Rosenkilde 8ab555129d
Extract target as a tag for each rule in iptables input (#7391) 2020-04-23 15:38:31 -07:00
Daniel Nelson 5a30c9816e
Use new higher per request limit for cloudwatch GetMetricData (#7335) 2020-04-22 15:53:01 -07:00
hydro-b 4db9e8a968
Add support for MDS and RGW sockets to ceph input (#6915) 2020-04-21 16:29:43 -07:00
Daniel Nelson 702946b5cf
Add option to save retention policy as tag in influxdb_listener (#7356) 2020-04-21 13:54:39 -07:00
Giovanni Luisotto 82c9f0f7f8
Trim instance tag in the sqlserver performance counters query (#7351) 2020-04-21 13:42:35 -07:00
Pontus Rydin d0db0e8f0a
Fix vSphere 6.7 missing data issue (#7233) 2020-04-21 11:30:29 -07:00
Daniel Nelson d1f109b316
Update modbus readme 2020-04-21 11:27:35 -07:00
Sven Rebhan 1006c65587
Add retry when slave is busy to modbus input (#7271) 2020-04-21 11:21:27 -07:00
Daniel Nelson a4eb9c2205
Use the product token for the user agent in more locations (#7378) 2020-04-21 10:02:18 -07:00
Pierrick Brossin 52a3f5d404
Fibaro input: for battery operated devices, add battery level scraping (#7319) 2020-04-20 10:58:50 -04:00
Daniel Nelson 73ef0bcba2
Deprecate logparser input and recommend tail input as replacement (#7352) 2020-04-16 13:07:03 -07:00
M0rdecay 27f09758ba
Add reading bearer token from a file to http input (#7304) 2020-04-14 12:31:26 -07:00
Daniel Nelson 48f5da7e33
Fix status path when using globs in phpfpm (#7324) 2020-04-14 12:14:49 -07:00
Giovanni Luisotto c56596dec2
Sql Server - Disk Space Measurement (#7214) 2020-04-06 11:53:54 -04:00
Russ Savage 73911d00f1
Add series cardinality warning to sflow readme (#7285) 2020-04-03 12:52:23 -07:00
Daniel Nelson fb0fee0fbb
Update permission docs on postfix input (#7255) 2020-04-03 10:09:24 -07:00
kelseiv 6445e775cf
Document kapacitor_alert and kapacitor_cluster measurements (#7278) 2020-04-02 18:24:10 -07:00
denzilribeiro ccefc42711
Add OPTION RECOMPILE for perf reasons due to temp table (#7242) 2020-03-31 12:54:22 -07:00
Sven Rebhan 3650d74de2
Add possibility to specify measurement per register (#7231) 2020-03-30 13:30:42 -07:00
Daniel Nelson 9a1c26d6cc
Add limit to number of undelivered lines to read ahead in tail (#7210) 2020-03-27 15:40:08 -07:00
Sven Rebhan f882b8f94f
Add support for 64-bit integer types to modbus input (#7225) 2020-03-26 17:05:43 -07:00
dbutler-starry 124735af2e
Apply ping deadline to dns lookup (#7140) 2020-03-24 17:02:23 -07:00
Programmer19 715e991186
Add ability to specify HTTP Headers in http_listener_v2 which will added as tags (#7223) 2020-03-24 14:20:46 -07:00
Denis Pershin 4c59de9023
Add additional concurrent transaction information (#7193) 2020-03-23 16:14:56 -07:00
AnastasiyaRagozina 3e1c7a8948
Add commands stats to mongodb input plugin (#6905) 2020-03-23 12:33:10 -07:00
Harshit Bansal a907edc1f3
Fix url encoding of job names in jenkins input plugin (#7211) 2020-03-23 11:33:06 -07:00
Daniel Nelson 2a45781697
Fix datastore_include option in vsphere input readme 2020-03-18 16:13:14 -07:00
Daniel Nelson 9fbf288518
Remove init checks for valid label and field selectors (#7198)
Importing k8s.io/klog starts a long running goroutine at init time.
2020-03-18 13:48:29 -07:00
Daniel Nelson cc92d4aba7
Add sFlow input plugin (#7188) 2020-03-18 12:12:24 -07:00
Steven Barth 064247a345
Add support for GNMI DecimalVal type (#7173) 2020-03-17 12:56:51 -07:00
reimda ef2bff2916
Set headers on influxdb_listener ping URL (#7182) 2020-03-17 11:03:27 -06:00
Steven Soroka c78e4b449c
fix broken test on mac (#7181) 2020-03-16 19:07:39 -04:00
Harshit Bansal a612a4d85f
Add option for explicitly including queries in sqlserver input plugin (#7150) 2020-03-16 13:46:42 -07:00
Giovanni Luisotto 20d45d651c
Fix schedulers query compatibility with pre SQL-2016 (#7144) 2020-03-16 13:36:31 -07:00
denzilribeiro 0a75dea70d
Add Database IO Tempdb per Azure DB and fix PerfmonV2 collection for on-prem (#7163) 2020-03-16 13:32:30 -07:00
Daniel Nelson 9508bbdf29
Update eventhub_consumer README. 2020-03-16 13:21:53 -07:00
Daniel Nelson 1b187b173d
Update changelog 2020-03-16 12:37:44 -07:00
Daniel Nelson 79aad9f06a
Rename eventhub -> eventhub_consumer 2020-03-16 12:15:18 -07:00
R290 f69b639aa9
Add Azure IoT Hub / Event Hub input plugin (#6928) 2020-03-16 10:54:21 -07:00
Daniel Nelson d5df7666d8
Update changelog 2020-03-12 17:01:07 -07:00
Tim Hughes e6f0644128
Add Arista LANZ consumer input plugin (#4112) 2020-03-12 16:45:35 -07:00
Samantha Wang 0be6275495
Add versioning to example readme (#7152) 2020-03-10 18:31:59 -04:00
Steven Soroka 64fecfa19e
fix inputs.postgresql panic in posgres 12 (#7151) 2020-03-10 17:06:29 -04:00
Steven Soroka 3bc53558a4
fix concurrency panic in ntpq input. Closes #7101 (#7143) 2020-03-10 16:48:30 -04:00
Steven Soroka c31ba94bb8
modbus to support scaling int32 and float32-ieee (#7148) 2020-03-10 16:46:36 -04:00
Daniel Nelson b6de4da41f
Add topic tag options to kafka output (#7142) 2020-03-10 13:38:26 -07:00
Giovanni Luisotto 1601a06915
Fix several issues with DatabaseIO query in sqlserver input (#7103) 2020-03-10 12:44:54 -07:00
Harshit Bansal 1ce56f8b59
Document port specification in postgres input plugins (#7132) 2020-03-10 12:02:50 -07:00
Kevin Lin d35290ac7e
plugins/inputs: New input for Wireguard server (#6367) 2020-03-09 18:34:43 -04:00
Russ Savage 898487b2da
Fix typo in salesforce readme (#7120) 2020-03-05 18:07:28 -08:00
Daniel Nelson 7b03a6f4ab
Update stackdriver plugins to reflect new product naming (#7098) 2020-03-05 10:36:36 -08:00
Daniel Nelson 561bb3df2e
Fix spelling error in the SNMP field example (#7118) 2020-03-05 10:16:49 -08:00
Daniel Nelson 3817aafdcb
Update clickhouse docs with renamed source tag 2020-03-04 14:46:27 -08:00
Daniel Nelson 6edd57ea87
Rename clickhouse user to username 2020-03-04 14:44:37 -08:00
Daniel Nelson bffd57aa58
Update readme and changelog 2020-03-04 14:42:50 -08:00
Daniel Nelson e4caa347a2
Add ClickHouse input plugin (#6441) 2020-03-04 14:20:46 -08:00
reimda a0276385b1
Refactor InfluxDB listener (#6974)
Use streaming parser in InfluxDB listener
2020-03-04 11:13:44 -07:00
josephpeacock ab8438dcc6
Add threaded parsing in statsd input plugin (#6922) 2020-03-03 14:47:33 -08:00
mg03 dd1ace73b0
Add label and field selectors to prometheus input k8s discovery (#6969) 2020-03-02 18:51:31 -08:00
Andre Nathan 88216eb4d2
Allow globs in FPM unix socket paths (#7089) 2020-02-28 14:47:04 -08:00
Steven Soroka a34180459a Close stdin on exit in execd input 2020-02-28 13:58:56 -05:00
Jan Graichen a20e6953d2
Add an exec daemon plugin (#4424) 2020-02-28 13:46:03 -05:00
Joao Gilberto Magalhães de16279d72
Add RabbitMQ slave_nodes and synchronized_slave_nodes metrics (#7084) 2020-02-25 16:36:06 -08:00
Anthony Arnaud 8c99dc7b5e
Use the same timestamp per call if no time is provided (#7063) 2020-02-25 12:19:28 -08:00
Steven Soroka 2e32f894b6
Fix inconsistency with input error counting (#7077) 2020-02-25 10:40:29 -08:00
donvipre b127254cca
Add additional tags and fields to apcupsd (#7065)
- new tags:
  - model
- new metrics:
  - battery_date
  - nominal_input_voltage
  - nominal_battery_voltage
  - nominal_power
  - firmware
2020-02-24 16:32:09 -08:00
Giovanni Luisotto 413ca898be
Fix perf counters collection on named instances in sqlserver input (#7060) 2020-02-21 11:11:50 -08:00
R.I.Pienaar 79ff743064
Add support for credentials file to nats_consumer and nats output (#7022) 2020-02-20 14:30:04 -08:00
James Buchan cd2a77a95b
Remove duplicate loop in net_response plugin (#7055) 2020-02-20 13:31:41 -05:00
Steven Soroka 5023df08d8
resolves issues where failed api calls lead to obscure errors (#7051) 2020-02-19 21:46:08 -05:00
prashanthjbabu 59a506ae4a
Add process created_at time to procstat input (#7039) 2020-02-19 11:57:07 -08:00
Steven Barth 0a1373765e
Fix dash to underscore replacement when handling embedded tags in Cisco MDT (#7035)
Currently configuring embedded_tags for cisco_telemetry_mdt input
requires an unusual mix of - and _, i.e. one needs to specify e.g.
Cisco-IOS-XR-wdsysmon-fd-oper:system-monitoring/cpu-utilization/process_cpu/process-id
for it to work correctly. Additionally, tags created might still contain
dashes against convention.

This fix creates correctly formatted tags with underscores instead of
dashes and unifies the configuration parameter to expect either dashes
or underscores, so old configurations are still valid.
2020-02-18 17:31:39 -08:00
Steven Soroka 8b3bd2585d
Fix issues with failing tests on darwin (#7042) 2020-02-18 16:13:53 -08:00
Atakan Özceviz 397a04aa32
Fix typo in http_response readme (#7036) 2020-02-18 14:30:56 -08:00
Daniel Nelson 784266a301
Update jenkins readme 2020-02-14 15:36:58 -08:00
vikkyomkar e056097cb4
Add new fields for Jenkins Total and Busy executors (#6957) 2020-02-14 14:04:54 -08:00
Daniel Nelson cb192c85b2
Update pgbouncer readme 2020-02-12 21:15:59 -08:00
Daniel Nelson cb2c26a332
Fix support with pgbouncer <1.9 2020-02-12 21:15:29 -08:00
Mark Fletcher 6c839a33a4
Fix pgbouncer input when used with newer pgbouncer versions (#6820) 2020-02-12 20:53:11 -08:00
Quanah Gibson-Mount e082c8d800
Add support for MDB database information to openldap input (#6993) 2020-02-12 17:33:48 -08:00
Alvaro Olmedo Rodriguez e122bc7503
Fix units in redis documentation (#7016) 2020-02-12 09:43:44 -08:00
Antonio Garcia 9d97ed22e6
Fix float conversion and startup connection issue in modbus input (#7002) 2020-02-10 16:54:33 -08:00
Daniel Nelson 5b8c71e61a
Search for chronyc only when chrony input plugin is enabled (#7005) 2020-02-10 14:22:07 -08:00
Daniel Nelson 0710cc7488
Parse NaN values from summary types in prometheus input (#6997) 2020-02-10 14:18:29 -08:00
Daniel Nelson d46f94112c
Use require in cisco mdt tests to avoid follow on errors (#6984) 2020-02-06 14:18:42 -08:00
Antonio Garcia bbb8858c1d
Delete .README.md.swp (#6980) 2020-02-04 10:36:02 -08:00
Daniel Nelson 38bc81e746
Fix atomic usage in tests (#6964) 2020-01-31 14:14:44 -08:00
SirishaGopigiri 6cac2fb388
Improve monit http client transport mock (#6955) 2020-01-31 15:09:09 -07:00
Antonio Garcia 9389099820
Add modbus input plugin (#6154) 2020-01-29 02:18:58 -08:00
victornet c6b8947c15 Add counters for merged reads and writes to diskio input. 2020-01-24 11:57:47 -07:00
AnastasiyaRagozina cb50fadc20 Add replica set tag to mongodb input (#6914) 2020-01-23 15:46:23 -08:00
Daniel Nelson bbe2d12e7e
Update kibana docs 2020-01-23 15:33:13 -08:00
vikkyomkar bc3429ed48 Add compatibility for Kibana 6.4 and later (#6923) 2020-01-23 12:08:16 -08:00
Daniel Nelson 9243ae9f51
Add udp internal metrics for the statsd input (#6921) 2020-01-22 15:28:41 -08:00
Daniel Nelson ec35f07770
Update monit docs and update changelog/readme 2020-01-22 15:27:54 -08:00
SirishaGopigiri 9fd400c9ac Add input plugin for monit (#6850) 2020-01-22 14:45:18 -08:00
Daniel Nelson 9747fa7f07
Update changelog 2020-01-21 17:11:50 -08:00
James Beckett 916f39d285 Add server_name override for x509_cert plugin (#6917) 2020-01-21 17:06:58 -08:00
Daniel Nelson 5f1f4b9e8d
Use Go modules for dependency management (#6912) 2020-01-16 14:38:06 -08:00
Daniel Nelson 17c165391b
Update documentation for infiniband plugin 2020-01-16 13:56:23 -08:00
Will Furnell 182104f95e Add a new input plugin for InfiniBand card/port statistics (#6631) 2020-01-16 12:51:33 -08:00
Pontus Rydin c7b7336da3 Exclude resources by inventory path in vsphere input (#6859) 2020-01-16 12:14:00 -08:00
Daniel Nelson d7b3f1f4ea
Document workaround for truncated powershell output (#6910) 2020-01-15 19:29:50 -08:00
like-inspur 68925ed1ef Change description for config dns_lookup (#6902) 2020-01-14 18:35:48 -08:00