Commit Graph

2430 Commits

Author SHA1 Message Date
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