Commit Graph

3350 Commits

Author SHA1 Message Date
Joshua Powers 564f24a0a4
chore: Enable additional gocritic (#13713) 2023-08-03 16:11:26 +02:00
Sven Rebhan 2ae65d1a94
feat(inputs.solr): Support version 7.x to 9.3 (#13699) 2023-08-02 20:33:10 +02:00
Matt Schmitz 66dc5ce940
fix(inputs.cisco_telemetry_mdt): Fix MDT source field overwrite (#13693) 2023-07-31 21:26:22 +02:00
Joshua Powers 0496741f4a
fix(inputs.jti_openconfig_telemetry): Reauthenticate connection (#13647) 2023-07-31 13:22:38 +02:00
Sven Rebhan f5afcc169c
feat(inputs.nvidia_smi): Support newer data schema versions (#13678) 2023-07-28 13:38:35 -06:00
Sven Rebhan babd887469
test(inputs.solr): Rework testing (#13692) 2023-07-28 12:20:14 -06:00
Joshua Powers a438fa7630
docs(inputs.conntrack): Explain different collection methods (#13691) 2023-07-28 18:45:10 +02:00
Joshua Powers 043aa0374b
feat(inputs.jenkins): Add option for node labels as tag (#13649) 2023-07-28 07:23:53 -06:00
Sven Rebhan 80ce606cef
test(inputs.radius): Use random port for test (#13683) 2023-07-27 07:01:33 -06:00
Joshua Powers 80094507e4
fix(inputs.mqtt_consumer): Client logs via option (#13663) 2023-07-26 18:51:03 +02:00
Sven Rebhan fe8467539a
feat(inputs.influxdb_listener): Add token based authentication (#13610) 2023-07-24 16:08:16 -06:00
Joshua Powers 54b1009a9f
fix(inputs.docker): Add restart count (#13646) 2023-07-24 09:25:31 +02:00
Maxim Ivanov 59defb0bc5
docs(inputs.postgresql_extensible): Document 'measurement' query config option (#13631) 2023-07-21 11:15:14 +02:00
Maxim Ivanov 9d894e7dee
fix(inputs.prometheus): Don't collect metrics from finished pods (#13629) 2023-07-21 11:09:44 +02:00
Maxim Ivanov cb966ebf6b
fix(inputs.prometheus): Fix missing metrics when multiple plugin instances specified (#13627) 2023-07-21 11:06:51 +02:00
Maxim Ivanov 42c7a2027f
feat(inputs.prometheus): Always apply kubernetes label and field selectors (#13624) 2023-07-21 11:00:54 +02:00
Maxim Ivanov 22100d4914
feat(inputs.postgresql_extensible): Introduce max_version for query (#13620) 2023-07-21 10:56:49 +02:00
Sven Rebhan 0ba463817c
feat(inputs.http): Rework token options (#13622) 2023-07-14 16:52:16 +02:00
Joshua Powers 9f83bee8ef
Revert "feat(inputs.kafka_consumer): Refresh regexp topics periodically (#13410)" (#13617)
This reverts commit a13f3463eb.
2023-07-14 16:06:45 +02:00
Joshua Powers 9ede0b0c49
chore: Enable multi-os golanglint-ci (#13599) 2023-07-14 15:58:19 +02:00
Joshua Powers 14f52eae01
feat(parsers.influx): Allow a user to set the timestamp precision (#13419) 2023-07-13 11:09:12 -06:00
Aleks Vagachev b20c0d7fad
fix(inputs.postgresql): Default database definition (#13602) 2023-07-12 16:04:26 -06:00
Sven Rebhan d8f8d3cbc5
chore(inputs.net): Deprecate 'ignore_protocol_stats' value 'false' (#13608) 2023-07-12 08:04:00 -06:00
Sven Rebhan 2e3adbd520
docs(inputs.gnmi): Add troubleshooting section for Juniper devices (#13582) 2023-07-10 08:33:52 -06:00
Joshua Powers 908c6a551f
fix(inputs.mqtt_consumer): Print warning on no metrics generated (#13574) 2023-07-10 14:02:42 +02:00
Joshua Powers c050c010bc
fix: replace github.com/denisenkom/go-mssqldb with github.com/microsoft/go-mssqldb (#13524) 2023-07-07 11:01:55 -06:00
Adam Thornton a13f3463eb
feat(inputs.kafka_consumer): Refresh regexp topics periodically (#13410) 2023-07-07 10:45:37 -06:00
Sven Rebhan c3d30c8227
chore(deps): Bump github.com/snowflakedb/gosnowflake from 1.6.13 to 1.6.22 (#13544) 2023-07-07 09:42:10 -06:00
Joshua Powers 341190d8a4
fix(inputs.mqtt_consumer): Correctly handle semaphores on messages (#13478) 2023-07-07 08:38:39 -06:00
Jacob Marble c34a1f70d9
chore(inputs.opentelemetry): Unbreak after interface change (#13559) 2023-07-06 16:19:29 +02:00
Joshua Powers 64ea1d00cb
fix(inputs.vpshere): Compare versions as a string (#13557) 2023-07-06 16:13:12 +02:00
Sven Rebhan cec60dbfa9
fix(inputs.gnmi): Add option to explicitly trim field-names (#13517) 2023-07-06 11:20:11 +02:00
Aleks Vagachev be2f950a3c
feat(inputs.pgbouncer): Added show_commands to select the collected pgbouncer metrics (#13436) 2023-07-05 08:11:11 -06:00
mark-chandler ae163536e6
fix(inputs.snmp_trap): Copy GoSNMP global defaults to prevent side-effects (#13542) 2023-07-05 08:10:19 -06:00
Sven Rebhan 261e0223a7
fix(inputs.opcua): Ensure we are connected after reconnect (#13514) 2023-06-30 12:49:26 -06:00
Sven Rebhan 96b9845853
feat(inputs.modbus): Add per-metric configuration style (#13507) 2023-06-30 12:47:16 -06:00
Sven Rebhan 590e4e5bc7
fix(inputs.cloud_pubsub): Properly lock for decompression (#13525) 2023-06-30 10:27:25 -06:00
Michael Cassaniti 435e42cfd4
feat(internal): Add gather_timeouts metric (#13471) 2023-06-30 08:19:13 -06:00
Paweł Żak 68edb20382
docs(intel_baseband): Remove ACC101 mentions from documentation (#13518) 2023-06-29 06:54:04 -06:00
massimogallina ef86635d21
feat(inputs.amqp_consumer): Add support to rabbitmq stream queue (#13496) 2023-06-27 11:40:27 -06:00
Michał 2e957cc003
docs(inputs.ravendb): Change metrics requirements in readme (#13494) 2023-06-27 17:17:05 +02:00
Vanilla f2a1101581
feat(inputs.procstat): Add status field (#13505) 2023-06-27 17:12:16 +02:00
Joshua Powers 40b7dbb407
fix(inputs.internet_speed): Add location as a field (#13497) 2023-06-27 09:39:04 +02:00
Joshua Powers 6f6e49d615
fix(inputs.phpfpm): Check address length to avoid crash (#13495) 2023-06-26 19:06:29 +02:00
Sven Rebhan 56aac4f0e1
fix(inputs.modbus): Fix optimization of overlapping requests and add warning (#13486) 2023-06-23 07:53:57 -06:00
Sven Rebhan c459d7b8ff
fix(inputs.modbus): Check number of register for datatype (#13485) 2023-06-23 07:51:56 -06:00
Zeyad Kenawi 577db893e2
feat(internal): Add zstd to internal content_coding (#13423) 2023-06-22 08:54:13 -06:00
Sven Rebhan a1c06429de
fix: Handle compression level correctly for different algorithms (#13434) 2023-06-20 07:55:10 -06:00
Fredrik Nilsson 390751b94b
feat(inputs.sqlserver): Add IsHadrEnabled server property (#13448) 2023-06-20 07:33:43 -06:00
Joshua Powers 33be0dc081
feat(inputs.openstack): Gather cinder services (#13443) 2023-06-16 11:08:54 +02:00
Sven Rebhan 1cfa48eea9
feat(inputs.fail2ban): Allow specification of socket (#13452) 2023-06-15 12:34:59 -06:00
Joshua Powers fc5412dd9b
test: Do not use hard-coded /tmp/telegraf (#13444) 2023-06-14 21:39:31 +02:00
Michał 866d77192c
feat(inputs.ravendb): Add new disk metrics fields (#13433) 2023-06-14 12:18:15 +02:00
Sven Rebhan 8ceaeece8b
feat(inputs.netflow): Allow to specify custom PEN field mappings (#13360) 2023-06-12 14:32:54 +02:00
bkotlowski 09adec7395
feat(inputs): New Intel Baseband Accelerator Input Plugin (#13397) 2023-06-09 08:02:34 -06:00
Dan Clough 037eb2f545
fix(inputs.upsd): Handle float battery.runtime value (#13412) 2023-06-09 07:37:19 -06:00
Zeyad Kenawi cba7369903
feat(internal): Add additional faster compression options (#13316) 2023-06-09 07:28:14 -06:00
Paweł Żak a2f65d5728
chore: Fix linter findings for Windows (part4) (#13246)
Co-authored-by: Pawel Zak <Pawel Zak>
Co-authored-by: pzak <pzak>
2023-06-09 10:24:43 +02:00
Jacob Marble 0f7004e7ea
feat(inputs.opentelemetry): Add configurable span dimensions (#13404) 2023-06-09 10:14:20 +02:00
Paweł Żak 02f0b15033
chore: Enable dynamicFmtString and sprintfQuotedString checkers for gocritic (#13279)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-06-09 10:11:52 +02:00
Joshua Powers ebe346103e
fix(inputs.mqtt): ACK messages when persistence enabled (#13350) 2023-06-07 20:50:00 +02:00
Sven Rebhan 6d1da80ebb
docs(inputs.prometheus): Add example for prometheus timestamps (#13362) 2023-06-06 07:28:45 -06:00
Sven Rebhan 187902ecd4
chore(inputs.gnmi): Test plugin and subscription options (#13384) 2023-06-05 13:56:09 -06:00
Sven Rebhan 97d10a5ee9
fix(internal): Fix time parsing for abbreviated timezones (#13363) 2023-06-02 10:05:55 -06:00
Sven Rebhan 9c6cd94d6e
chore: Add generator for sample-config includes (#13348) 2023-06-02 08:08:56 -06:00
Povilas Versockas cd4eaf564f
chore(deps): Bump github.com/influxdata/influxdb-observability libraries from 0.3.3 to 0.3.15 (#13265) 2023-06-02 13:24:33 +02:00
Joshua Powers ca7c8f7005
chore: update removal and deprecations for v1.30.0 (#13351) 2023-06-02 12:36:19 +02:00
Sven Rebhan 9147afbeca
fix(inputs.gnmi): Handle canonical field-name correctly for non-explicit subscriptions (#13332) 2023-06-01 11:32:51 -06:00
MartinHBA 1c60c057e9
feat(inputs.sqlserver): Check SQL Server "encryptionEnforce" with xp_instance_regread (#13284) 2023-06-01 07:00:56 -06:00
Sven Rebhan 2be423a1e9
chore(deps): Bump github.com/showwin/speedtest-go from 1.5.2 to 1.6.2 (#13369) 2023-06-01 11:34:34 +02:00
Sven Rebhan 6c49584355
feat(inputs.netflow): Add sFlow decoder (#13047) 2023-06-01 10:02:21 +02:00
Yannick Binnenweg 76889af6f2
fix(inputs.mysql): Update MariaDB Dialect regex version check (#13361) 2023-05-31 10:09:58 +02:00
Sven Rebhan 5874825624
docs: Fix markdownlinter issues (#13365) 2023-05-30 11:13:54 -06:00
Joshua Powers bc3ac27aef
docs(inputs.cisco_telemetry_mdt): Specify max msg upper limit (#13346) 2023-05-30 16:50:38 +02:00
Johannes Albrecht 2a33f496c4
feat: Add input plugin for ctrlX Data Layer (#11155) 2023-05-26 07:49:47 -06:00
Sven Rebhan 8f07761cba
feat(inputs.gnmi): Allow canonical field names (#13326) 2023-05-24 08:14:06 -06:00
Sven Rebhan 60ee14d50b
fix(inputs.netflow): Handle PEN messages correctly (#13320) 2023-05-24 08:07:54 -06:00
Sven Rebhan 5237d569d7
fix(inputs.netflow): Fix field mappings (#13325) 2023-05-24 07:09:21 -06:00
Muhammad Ahsan Ali 2010926e25
feat(inputs.cloudwatch): Add support for cross account oberservability (#12448) 2023-05-24 09:42:30 +02:00
Sven Rebhan 7ced2606b2
chore(parsers)!: Remove old-style creation (#13310) 2023-05-23 14:17:11 -06:00
Adam Thornton 8762c71e65
feat(inputs.kafka_consumer): Add regular expression support for topics (#11831) 2023-05-23 12:08:01 -06:00
Sven Rebhan fb3cd61579
fix(inputs.gnmi): Allow optional origin for update path (#13304) 2023-05-23 07:06:02 -06:00
Joshua Powers ef8484aab3
fix(inputs.temp): Ignore warnings, return errors (#13307) 2023-05-22 22:11:05 +02:00
Sven Rebhan 759691a1fd
fix(inputs.socket_listener): Fix race in tests (#13300) 2023-05-22 06:31:22 -06:00
cui fliter b08a2bb324
chore(docs): Remove repetitive "the" (#13295) 2023-05-22 06:14:01 -06:00
Neelay Upadhyaya 2476640d0f
feat(inputs.sql): Add 'disconnected_servers_behavior' field in the configuration (#13289) 2023-05-22 09:39:16 +02:00
Sven Rebhan ed72510fe3
feat(inputs.nats_consumer): Add receiver subject as tag (#13293) 2023-05-19 12:39:59 -06:00
varunjain0606 1b74a25252
feat(inputs.kubernetes): Extend kube_inventory plugin to include and extend resourcequota, secrets, node, and pod measurement (#13040) 2023-05-19 07:54:09 -06:00
Sven Rebhan ad4df2105c
fix(inputs.socket_listener): Avoid noisy logs on closed connection (#13288) 2023-05-19 07:05:24 -06:00
Paweł Żak 727533ee55
chore: Enable deferInLoop, exitAfterDefer and unnecessaryDefer checkers for gocritic (#13280)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-05-19 09:55:08 +02:00
Neelay Upadhyaya 129f8881c8
fix(inputs.vsphere): specify the correct option for disconnected_servers_behavior (#13286) 2023-05-18 11:47:08 -06:00
Niko d7dfe4ed48
feat(inputs.sqlserver): Add Azure Arc-enabled SQL MI support (#13261) 2023-05-17 12:36:02 -06:00
Patrick Hemmer f098e5f9f6
fix(inputs.socket_listener): Fix loss of connection tracking (#13056) 2023-05-17 12:34:53 -06:00
Thomas Casteleyn f0dc15fd9c
feat(inputs.directory_monitor): Improve internal stats (#13089) 2023-05-17 12:05:48 -06:00
Maxim Ivanov 5cb928cc5d
fix(inputs.prometheus): Avoid race when creating informer factory (#13231) 2023-05-08 16:25:32 +02:00
Sven Rebhan fc4e896746
feat(inputs.sql): Add FlightSQL support (#13091) 2023-05-05 11:04:18 -06:00
Daniel Ayvar 43048aad8c
fix(inputs.cloud_pubsub): Fix gzip decompression (#13238) 2023-05-04 19:19:06 +02:00
Joshua Powers 1b8339ace8
docs(common.kafka): Remove experimental notes (#13232) 2023-05-04 19:17:40 +02:00
Paweł Żak 7919405cfd
chore: Fix linter findings for Windows (part3) (#13143) 2023-05-04 10:14:36 -06:00
Luke Winikates e9f55a848f
chore(deps): Bump prometheus from v1.8.2 to v2.42.0 (#13225)
Dependency version 0.42.0 corresponds to release version 2.42.0 see [prometheus versioning description](https://github.com/prometheus/prometheus#prometheus-code-base) for details.
2023-05-03 09:47:00 +02:00
Daniel Ayvar 872d51714e
feat(cloud_pubsub): Add support for gzip compression (#13094) 2023-05-02 20:04:00 +02:00
Povilas Versockas 92b6d96486
feat(inputs.statsd): Add optional temporality and start_time tag for statsd metrics (#13087) 2023-05-02 19:19:30 +02:00
Joshua Powers 9284bdabf0
feat(inputs.suricata): Add ability to parse drop or rejected (#13048) 2023-05-02 19:07:34 +02:00
Paweł Żak 30b603626c
chore: Enable G404 rule for gosec (#13095) 2023-05-02 06:31:50 -06:00
tguenneguez 3d40659387
feat(inputs.filecount): Add oldestFileTimestamp and newestFileTimestamp (#13163) 2023-05-02 13:34:56 +02:00
Joshua Powers 7436575ea7
docs(inputs.vsphere): Resolve copy/paste typo with resource pools (#13162) 2023-05-02 13:32:02 +02:00
Joshua Powers f55d214082
fix(inputs.gnmi): Create selfstat to track connection state (#13149) 2023-05-02 13:29:30 +02:00
David Roy a868add749
feat(inputs.gnmi): Support Juniper GNMI Extension Header (#13116) 2023-04-27 17:30:21 +02:00
PanKaker f297d3e6c3
fix(inputs.intel_pmu): Fix handling of the json perfmon format (#13139) 2023-04-26 22:04:17 +02:00
Alex Zherebtsov cd535165d0
feat(inputs.nvidia_smi): Add additional memory related fields (#13133) 2023-04-26 22:00:14 +02:00
Paweł Żak 77ee21f8e5
chore: Fix linter findings for Windows (part1) (#13057) 2023-04-25 07:15:55 -06:00
Svyat Sobol c44c5ed317
docs(inputs.knx_listener): Add link to config generation project (#13128) 2023-04-25 11:40:38 +02:00
Paweł Żak 4d4bed4ec4
chore: Fix linter findings for Windows (part2) (#13096)
Co-authored-by: pzak <pzak>
2023-04-25 11:29:23 +02:00
Joshua Powers 6315d76335
docs(inputs.mysql): remove duplicate settings from config (#13131)
fixes: #13130
2023-04-24 07:33:37 -06:00
Joshua Powers e0b95ea391
chore: update golangci-lint (#13110) 2023-04-18 14:01:28 -06:00
Gangadharaswamy HU b323d1ce3c
feat(inputs.vsphere): Adding vSAN extension to vSphere plugin (#11955) 2023-04-18 11:03:28 -06:00
Paweł Żak ba16eeb495
chore: Enable G110 rule for gosec (#13044)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-04-14 17:14:55 +02:00
Patrick Hemmer 596ecc4a67
fix(inputs.socket_listener): Fix TLS socket initialization(#13050) 2023-04-13 14:30:33 +02:00
Ivaylo Ivanov 14c84a00ee
fix(inputs.prometheus): Add namespace option in k8s informer factory (#13063)
Co-authored-by: ivayloi2 <ivayloi2@vmware.com>
2023-04-12 17:00:57 +02:00
Paweł Żak 5f2142a6cc
chore: Enable G601 rule for gosec (#13042) 2023-04-12 16:56:07 +02:00
Paweł Żak 55e4bb6808
chore: Enable G103 rule for gosec (#13038) 2023-04-12 07:32:46 -06:00
Sven Rebhan 9bb2d1562d
chore(serializers): Add new-style framework and migrate influx (#12920) 2023-04-11 21:52:42 +02:00
Patrick Hemmer 7b31606cf0
fix(inputs.socket_listener): Fix tracking of unix sockets (#13059) 2023-04-11 11:46:57 +02:00
Paweł Żak 89fa07fc5e
chore: Enable G301, G302 and G306 rules for gosec (#13022) 2023-04-04 08:51:08 -06:00
r3inbowari 19c4316694
chore: Update README.md (#12989) 2023-04-04 13:43:49 +02:00
Paweł Żak 079c50128b
chore: Enable G401, G403, G501, G502, G503 and G505 rules for gosec (#13021)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-04-04 13:17:38 +02:00
genofire 9bfe6425b3
fix(inputs.procstat): Return tags of pids if lookup_error (#13015) 2023-04-03 20:28:50 +02:00
Joshua Powers 52b3f5211f
chore(deps): Bump github.com/shirou/gopsutil from 3.23.2 to 3.23.3 (#13017) 2023-04-03 20:27:19 +02:00
Neelay Upadhyaya e1e4ebcd62
fix(inputs.netflow): Use correct name in the build tag (#13006) 2023-04-03 07:44:15 -06:00
Sven Rebhan 83b4056985
fix(secrets): Minimize secret holding time (#13002) 2023-04-03 07:28:41 -06:00
Paweł Żak edcd28650c
chore: Enable G112 and G114 rules for gosec (#12986)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-04-03 15:23:05 +02:00
Paweł Żak c76f319b84
chore: Remove `revive:unhandled-error` - `errcheck` is more flexible (#13008) 2023-04-03 07:19:43 -06:00
Gianluca Sartori b75fa42d75
fix(inputs.sqlserver): Converted THROW to RAISERROR for 2008 compatibility 2023-04-03 15:19:28 +02:00
Sven Rebhan f8a991b829
fix(secretstores): Handle array of secrets correctly (#12919) 2023-04-03 07:03:38 -06:00
Sven Rebhan 3213af612e
fix(secret): Add function to set a secret (#13012) 2023-04-03 07:01:47 -06:00
Maxim Ivanov 5fdeae1ab1
feat(inputs.prometheus): Control which pod metadata is added as tags (#12851) 2023-04-03 10:08:15 +02:00
r3inbowari 789a49858e
feat(inputs.internet_speed): Support multi-server test (#12797) 2023-04-03 10:06:27 +02:00
Paweł Żak 9608d118bd
chore: Don't use all default exclude patterns for golangci-lint (#12969)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-03-29 09:50:00 +02:00
Joshua Powers 19d2bbbb90
fix(inputs.upsd): Include ups.real_power (#12961) 2023-03-28 18:41:43 +02:00
Gianluca Sartori bfeae49e1b
fix(inputs.execd): Read from stdout using ReadLine instead of scanner.Scan to overcome 64kb buffer limit (#12935) 2023-03-28 18:40:45 +02:00
Joshua Powers 8a5c3573df
docs(inputs.upsd): Add comment about ipv6 addresses (#12962) 2023-03-28 11:48:29 +02:00
Paweł Żak 73076bb9fa
chore: Fix linter findings for Darwin (#12958)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-03-28 11:46:32 +02:00
Joshua Powers 3415cc8c80
chore: Fix gosec G102 issues (#12923) 2023-03-28 11:40:29 +02:00
Joshua Powers 5e7c5c84e9
docs: Explain and note service inputs (#12870) 2023-03-27 14:12:35 +02:00
Maxim Ivanov 771153e76d
feat(inputs.kubernetes): Apply timeout for the whole HTTP request (#12918) 2023-03-22 13:33:53 +01:00
Joshua Powers 02eea01397
fix(inputs.ethtool): Check for nil (#12867) 2023-03-22 13:03:44 +01:00
Joshua Powers 77bebd8660
fix(inputs.prometheus): Use set over add for custom headers (#12907) 2023-03-21 16:39:34 +01:00
abhi-jha e4cf2904ca
docs: Fix various typos in comments (#12888) 2023-03-21 16:27:38 +01:00
Sven Rebhan bd5f6b7c7c
feat(common.opcua): Add support for secret-store secrets (#12863) 2023-03-21 08:58:06 -06:00
Joshua Powers bd065e3553
fix(inputs.prometheus): Correctly set timeout param (#12864) 2023-03-15 17:52:51 +01:00
Joshua Powers 9256a3f2e6
chore: Ensure go generate runs on all platforms (#12871) 2023-03-15 17:47:55 +01:00
Joshua Powers 84d1bdf73c
fix(inputs.internet_speed): Rename host tag to source (#12877) 2023-03-15 08:22:38 -06:00
Jacob Marble 240c239321
chore(deps): Update OpenTelemetry from 0.3.1 to 0.3.3 (#12840) 2023-03-13 12:22:03 +01:00
Pontus Rydin 7daf7bb38f
feat(inputs.vsphere): Flag for more lenient behavior when connect fails on startup (#12828) 2023-03-13 12:19:49 +01:00
Sven Rebhan 2006086262
feat(inputs.modbus): Allow to convert coil and discrete registers to boolean (#12825) 2023-03-13 12:18:02 +01:00
Sven Rebhan bea5414384
feat(parsers.xpath): Add timezone handling (#12820) 2023-03-13 12:17:14 +01:00
Joshua Powers f104c1a708
chore: add service input stub to Windows event log, not windows (#12837) 2023-03-10 14:11:50 -07:00
Hr0bar 97fd189d11
feat(inputs.radius): Add plugin for simple radius auth response time monitoring (#12736) 2023-03-09 09:00:42 -07:00
Pontus Rydin 405c1d97d3
docs(inputs.vsphere): Update inventory docs & removed unnecessary if-statement (#12819) 2023-03-09 08:27:31 -07:00
Sven Rebhan 501e920ef1
fix(inputs.amqp_consumer): Avoid deprecations when handling defaults (#12818) 2023-03-09 15:59:07 +01:00
Sven Rebhan e58891be11
fix(inputs.amqp_consumer): Fix panic on Stop() if not connected successfully (#12817) 2023-03-09 15:20:53 +01:00
Joshua Powers 603cdfb620
fix(inputs.ethtool): Close namespace (#12815) 2023-03-09 12:00:02 +01:00
Simon Everts d063dc2e58
feat(inputs.ethtool): Add support for link speed, duplex, autoneg and… (#12814) 2023-03-09 11:59:04 +01:00
Sven Rebhan 0e1b637414
feat(inputs.win_eventlog): Add state-persistence capabilities (#12790) 2023-03-07 11:53:25 -07:00
Sven Rebhan 0a0cbc24d5
feat(inputs.modbus): Add RS485 specific config options (#12786) 2023-03-07 11:29:59 -07:00
an0nfunc 69d9a4322f
feat(inputs.cgroup): Added support for cpu.stat (#12798) 2023-03-07 09:42:53 +01:00
Joshua Powers 4747e7ba10
chore: Unify sample configs across OSes (#12789) 2023-03-07 09:38:05 +01:00
Maxim Ivanov ee682539e7
feat(inputs.prometheus): Use namespace annotations to filter pods to be scraped (#12777) 2023-03-07 09:26:38 +01:00
Joshua Powers 5cc55fa900
chore: run make docs (#12802) 2023-03-06 07:29:29 -07:00
Sven Rebhan 119a95dc72
feat(inputs.docker_log): Add state-persistence capabilities (#12775) 2023-03-06 12:33:23 +01:00
Paweł Żak 360edd52b6
chore: Fix linter findings for errorlint (part8) (#12785)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-03-06 12:27:03 +01:00
Jovan Kostovski 332997089b
docs: Add optional tls parameters to the documentation (#12788) 2023-03-06 12:25:04 +01:00
Joshua Powers 8e5c2d0538
chore: Specify distro support (part 3) (#12792) 2023-03-06 12:18:43 +01:00
Paweł Żak d59ea7d0ce
chore: Remove usages of github.com/pkg/errors dependency (archived) (#12787)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-03-03 19:04:41 +01:00
Joshua Powers dfe8b43e20
fix(inputs.statsd): On close, verify listener is not nil (#12778) 2023-03-03 06:45:33 -07:00
Paweł Żak e2a510f157
chore: Fix linter findings for errorlint (part7) (#12772)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-03-03 10:11:54 +01:00
Paweł Żak 5c234d8749
chore: Bump golangci-lint from v1.51.0 to v1.51.2 (#12782)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-03-03 10:06:54 +01:00
Sven Rebhan f87916aaa9
feat: Plugin state-persistence (#12166) 2023-03-01 15:34:48 -07:00
Joshua Powers 3a0a9f0f92
chore: Document linux only plugins (part 2) (#12765) 2023-03-01 22:22:29 +01:00
Joshua Powers 5e65077860
chore: Document linux only plugins (part 1) (#12764) 2023-03-01 22:21:14 +01:00
Paweł Żak b2b58bab9e
chore: Fix linter findings for errorlint (part6) (#12733)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-03-01 22:19:38 +01:00
Paweł Żak 5b2346dfa0
chore: Fix linter findings for errorlint (part5) (#12731)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-03-01 22:18:35 +01:00
Joshua Powers 56ecbba523
chore: Enable printing Windows sample configs on non-Windows (#12741) 2023-03-01 14:31:45 +01:00
Joshua Powers d40f46e7ce
feat(inputs.jti_openconfig_telemetry): Set timestamp from data (#12730) 2023-02-27 18:39:25 +01:00
Pierrick Brossin e51b3810ab
fix(inputs.lvm): add options to specify path to binaries (#12725) 2023-02-24 07:02:29 -07:00
Joshua Powers 86eee2848f
feat(inputs.wireguard): Add allowed_peer_cidr field (#12729) 2023-02-24 10:46:09 +01:00
Thomas Casteleyn 6a2f6f301f
chore: eliminate unnecessary use of quoted strings in printf (#12722) 2023-02-23 06:49:36 -07:00
r3inbowari 4cd0a647c0
feat(inputs.internet_speed): Add the best server selection via latency and jitter field (#12707) 2023-02-22 21:40:44 +01:00
Paweł Żak 312fb04b68
chore: Fix linter findings for errorlint (part4) (#12723)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-02-22 21:38:06 +01:00
julesroussel3 100a27e823
feat(inputs.win_wmi): add Windows Management Instrumentation (WMI) input plugin (#11250) 2023-02-22 11:28:27 -07:00
Joshua Powers caf14adb17
feat(inputs.disk): Add label as tag (#12696) 2023-02-22 15:55:55 +01:00
Joshua Powers 29916dfee0
test(inputs.x509_cert): fix missing tag (#12720) 2023-02-22 07:33:34 -07:00
Sven Rebhan d1d9737da6
feat(inputs.x509_cert): Add tag for certificate type-classification (#12656) 2023-02-22 13:39:15 +01:00
Thomas Casteleyn 8c2bb92f26
chore(inputs.net_response): Use Init to check configuration issues (#12690) 2023-02-22 11:36:58 +01:00
Sven Rebhan c2854204ae
feat(inputs.statsd): add pending messages stat and allow to configure number of threads (#12318) 2023-02-17 13:46:23 -07:00
Sven Rebhan 75cbda186c
chore(mqtt): unify input and output plugin's MQTT client (#12683) 2023-02-17 12:59:02 -07:00
Yauhen Shulitski da675d4788
feat(inputs.haproxy): Add support for tcp endpoints in haproxy plugin (#12680) 2023-02-17 15:17:32 +01:00
Jarno Huuskonen 54c091977c
feat(inputs.x509_cert): Add OCSP stapling information for leaf certificates (#10550) (#12444)
Co-authored-by: Josh Powers <powersj@fastmail.com>
2023-02-17 09:47:54 +01:00
dependabot[bot] 0244614b71
chore(deps): Bump github.com/gofrs/uuid from 4.3.1+incompatible to 5.0.0 (#12668) 2023-02-16 10:50:47 +01:00
felixhuettner 5ac9494172
fix(inputs.bond): Reset slave stats for each interface (#12462) 2023-02-16 10:49:56 +01:00
Joshua Powers c37b5871ac
fix(inputs.cloudwatch): Verify endpoint is not nil (#12677) 2023-02-15 21:00:58 +01:00
Joshua Powers edd3e58e1a
docs: Tracking metrics (#12663) 2023-02-13 16:05:15 +01:00
Sven Rebhan ff89b7778b
fix(inputs.x509_cert): Fix Windows path handling (#12629) 2023-02-13 09:22:39 +01:00
Joshua Powers f206c27d89
fix(inputs.cloudwatch): enable custom endpoint support (#12657) 2023-02-10 11:15:30 -07:00
Eng Zer Jun 4d0f05980e
test: Use `t.Setenv` to set env vars (#12621) 2023-02-10 11:46:14 +01:00
Pascal Zimmermann aa0b9d7dcf
fix: Rename the Prometheus Input Plugin Timeout variable (#12626) 2023-02-10 11:44:42 +01:00
Joshua Powers fa26b6498b
docs: remove trailing whitespace (#12660) 2023-02-09 12:35:18 -07:00
Sven Rebhan 200044a495
docs: fix remaining markdownlinter issues (#12658) 2023-02-09 10:57:08 -07:00
Joshua Powers d5a101aff6
docs: remove whitespace (#12655) 2023-02-09 07:44:45 -07:00
Joshua Powers 2aa57f00ad
docs: Update all readme to pass linter (#12615) 2023-02-09 11:04:41 +01:00
Joshua Powers 5553b33e4a
feat(inputs.http_listener_v2): Add custom server http headers (#12645) 2023-02-09 10:56:16 +01:00
Sven Rebhan 58a01e1daf
fix(inputs.gnmi): Handle both new-style `tag_subscription` and old-style `tag_only` (#12512) 2023-02-08 19:30:05 +01:00
Joshua Powers 8af579752f
fix(inputs.cisco_telemetry_mdt): check subfield sizes to avoid panics (#12637) 2023-02-08 09:48:25 -07:00
Minsoo, Kim 5bbf790242
fix(inputs.tail): fix typo in the README (#12648) 2023-02-08 06:49:30 -07:00
Ben Woods 3571d0a49b
docs(inputs.syslog): add BSD syslog to readme intro (#12647) 2023-02-08 06:49:06 -07:00
Joshua Powers c42d8e30b6
feat(inputs.internet_speed): server ID include and exclude filter (#12617) 2023-02-07 10:52:21 -07:00
Joshua Powers fc1fb2fcd9
docs(inputs.procstat): add ppid field (#12641) 2023-02-07 09:37:21 -07:00
Joshua Powers 3894ca6b91
docs(inputs.snmp): Explain different snmp backends (#12627) 2023-02-07 17:19:29 +01:00
Jacob Marble 80b48774ac
chore: Update OpenTelemetry (#12638) 2023-02-07 17:17:31 +01:00
Paweł Żak 1260b4523b
chore: Fix linter findings for tenv (#12622)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-02-07 17:12:42 +01:00
Paweł Żak 9a0cecc788
chore: Fix linter findings for nolintlint (part3) (#12613)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-02-07 17:06:12 +01:00
Tomas Barton 0ea50fa3b5
fix(inputs.conntrack): Resolve segfault when setting collect field (#12603) 2023-02-07 16:55:28 +01:00
jokuniew 0f2db7abb8
feat(inputs.p4runtime): Implementation of P4Runtime input plugin (#12473)
Co-Authored-By: Jakub Sikorski <jakub.sikorski@intel.com>
2023-02-07 16:45:27 +01:00
Joshua Powers 64033bd393
feat(inputs.processes): Add `use_sudo` option for BSD (#12628) 2023-02-06 22:00:21 +01:00
Francois Steyn 7345b400ff
docs(inputs.prometheus): fix incorrect headers option (#12625) 2023-02-06 09:52:51 -07:00
Paweł Żak 257083dba8
chore: bump go to 1.20 for golangci-lint-action (#12614) 2023-02-03 14:35:29 -07:00
Paweł Żak 17c77df228
chore: Bump golangci-lint from v1.50.1 to v1.51.0 (#12605)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-02-03 10:27:47 +01:00
Dmitry Khamitov e466cab0c0
fix(inputs.mongodb): SIGSEGV when restarting MongoDB node (#12604) 2023-02-03 10:12:16 +01:00
Joshua Powers bf108da447
chore: Update to go1.20 (#12593) 2023-02-03 09:47:02 +01:00
Tom Pillot cde651b7ee
fix(inputs.mongodb): Improve error logging (#12599) 2023-02-03 09:44:50 +01:00
Sven Rebhan dfc5cdf924
docs: indicate secret-store support in plugin READMEs (#12592) 2023-02-02 09:31:23 -07:00
Nick McKinney d35bd06802
feat(inputs.opensearch_query): add opensearch_query input plugin (#12393) 2023-02-02 08:41:56 -07:00
Paweł Żak 473aa0de17
chore: Lint whole codebase both in PR and master branch (#12590) 2023-02-02 14:16:21 +01:00
Joshua Powers 6e2d8137e4
docs(inputs.postgresql): Provide socket connection details (#12584) 2023-02-02 14:15:49 +01:00
Thomas Casteleyn 0ade9e1a88
feat(inputs.example): Add secret-store sample code (#12550) 2023-02-02 14:14:47 +01:00
Sven Rebhan 177ce5eea3
feat(inputs.mysql): add secret-store support (#12591) 2023-02-01 16:09:58 -07:00
Paweł Żak e84bc0c590
chore: clean up import shadowing issues (#12588) 2023-02-01 11:21:38 -07:00
Sven Rebhan e6de0cc9c2
chore(internal.gzip): cleanup CompressWithGzip (#12587) 2023-02-01 11:20:11 -07:00
Jacob Marble e1db44c3b2
chore(inputs.opentelemetry): Update OpenTelemetry input plugin (#12561) 2023-02-01 17:58:43 +01:00
Jacob Marble a5cf3cccef
chore(deps): update gopsutil dependency from 3.22.9 to 3.22.12 (#12580) 2023-01-31 13:28:23 -07:00
Sven Rebhan 6f33711c38
chore(inputs.x509_cert): fix linter warning (#12577) 2023-01-31 12:05:05 -07:00
Sven Rebhan e6655d534e
fix(inputs.mysql): avoid side-effects for TLS between plugin instances (#12576) 2023-01-31 11:29:45 -07:00
Joshua Powers f82f2fdb16
fix(inputs.upsd): Add additional fields (#12543) 2023-01-31 10:41:58 +01:00
Viraj Sinha e96a49ea83
fix(inputs.opcua): fix opcua and opcua-listener for servers using password-based auth (#12529) 2023-01-30 08:14:58 -07:00
Pascal Zimmermann dc9eb02301
fix(inputs.prometheus): Set the timeout for slow running API endpoints correctly (#12559) 2023-01-30 15:52:54 +01:00
Sven Rebhan 2529d5fa16
feat(inputs.win_perf_counters): add remote system support (#12556) 2023-01-27 10:22:25 -07:00
Joshua Powers d3e1f95b87
feat(inputs.gnmi): Set max gRPC message size (#12495) 2023-01-27 10:11:29 +01:00
Sven Rebhan eb03bb5599
fix(inputs.exec): restore pre-v1.21 behavior for CSV data_format (#12533) 2023-01-26 13:51:39 -07:00
deweter 7e87a25123
fix(inputs.sqlserver): Suppress error on secondary replicas (#12528) 2023-01-26 06:52:15 -07:00
Paweł Żak 00347033ab
chore: Fix linter findings for nolintlint (part2) (#12430)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-01-26 11:27:32 +01:00
Tomas Barton d3809956a4
feat(inputs.icinga2): Support collecting hosts,services and endpoint metrics (#12506) 2023-01-26 11:16:35 +01:00
Joshua Powers 4b445f6a26
fix(inputs.upsd): Always convert to float (#12516) 2023-01-26 10:57:23 +01:00
Paweł Żak d9d9cd4c0b
chore: fix linter findings for nolintlint part 1 (#12427) 2023-01-25 13:28:13 -07:00
Severin Dellsperger 607bfdbc97
feat(inputs.cisco_telemetry_mdt): include delete field (#12345) 2023-01-25 12:17:47 -07:00
Joshua Powers c73bf332c3
fix(inputs.logstash): Collect opensearch specific stats (#12536) 2023-01-25 10:38:18 +01:00
Maxim Ivanov 51f23d244e
fix(inputs.prometheus): correctly track deleted pods (#12522) 2023-01-23 08:13:51 -07:00
Sven Rebhan 410226051d
feat(inputs.dns_query): Add IP field(s) (#12519) 2023-01-20 16:40:43 +01:00
Paweł Żak 65b23f112e
feat(intel_powerstat): Add CPU base frequency metric and add support for new platforms (#12452) 2023-01-18 14:10:00 +01:00
Joshua Powers 5cc626f161
feat(inputs.redfish): Add power control metric (#12496) 2023-01-18 11:07:52 +01:00
Nick Berardi aa4e01afaf
feat(inputs.openweathermap): Add snow parameter (#12466) 2023-01-18 11:06:21 +01:00
Joshua Powers a586101d84
test(inputs.snmp): Use random port (#12464) 2023-01-12 18:30:04 +01:00
Thomas Casteleyn 61523bd4b9
feat(tools/readme_linter): Check for global configuration section (#12426) 2023-01-12 16:55:21 +01:00
Joshua Powers b6b0b80b9a
fix(inputs.upsd): Ensure firmware is always a string (#12486) 2023-01-12 16:51:01 +01:00
Joshua Powers 6f323eea64
docs(inputs.influxdb): Collect v2 with prometheus plugin (#12492) 2023-01-12 16:36:26 +01:00
Joshua Powers 40aa899fa8
feat(inputs.influxdb): Collect uptime statistics (#12493) 2023-01-12 16:34:48 +01:00
dd-accedian 5174fb1e94
fix(inputs.cisco_telemetry_mdt): add operation-metric and class-policy prefix (#12240) 2023-01-12 08:30:38 -07:00
Thomas Casteleyn 82bf8497f1
docs(inputs.example): correctly set syntax highlighting and section name (#12471) 2023-01-10 06:46:17 -07:00
Sven Rebhan b543efdcfc
docs(inputs.socketstat): fix wrong TOML option name. (#12482) 2023-01-10 06:45:21 -07:00
Sven Rebhan 7b5b342432
fix(inputs.win_eventlog): Handle remote events more robustly. (#12375) 2023-01-10 11:06:58 +01:00
Gianluca Sartori d476018705
fix(inputs.sqlserver): add more precise version check (#12384) 2023-01-09 13:20:59 -07:00
Paweł Żak 5e96009048
chore(stackdriver): Fix deprecated monitoringpb (#12424)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-01-09 20:52:53 +01:00
Sven Rebhan 150f0cd3a7
feat(inputs.modbus): add workaround to enforce reads from zero for coil registers (#12408) 2023-01-09 12:35:46 -07:00
Sven Rebhan 11228ee8ad
fix(inputs.gnmi): update configuration documentation (#12415) 2023-01-09 12:35:13 -07:00
Sven Rebhan 63ab159481
feat(secretstores): add support for additional input plugins (#12067) 2023-01-09 09:17:23 -07:00
goswamisandeep aa2b6947ff
feat(inputs.sqlserver): get database pages performance counter (#12400) 2023-01-09 07:44:54 -07:00
Sven Rebhan 6fb08bb3da
feat(kafka): Add keep-alive period setting for input and output. (#12459) 2023-01-05 16:48:31 +01:00
Ben Tasker 7da20da930
docs(inputs.postgresql): update readme and samples to note timeout behavior (#12446) 2023-01-03 10:35:13 -07:00
Paweł Żak 86cd0c0c24
chore: Fix linter findings for makezero (part4) (#12410) 2022-12-20 11:42:09 +01:00
Paweł Żak 9b24184730
fix(inputs.mysql): Revert slice declarations with non-zero initial length (#12409)
Co-authored-by: Pawel Zak <Pawel Zak>
2022-12-19 11:53:43 +01:00
Gianluca Sartori 37db046e06
fix: Added own SPID filter to sqlserverqueries.go (#12387)
This filter has been set on all other source files (azureSqlDB and azureSqlMI) but not on the on-prem version
2022-12-16 07:26:14 -07:00
Gianluca Sartori 82555d3e1c
fix(inputs.sqlserver): SqlRequests include sleeping sessions with open transactions (#12386) 2022-12-16 06:28:15 -07:00
Sven Rebhan d9820bfd7b
fix(inputs.x509_cert): fix off-by-one when adding intermediate certificates (#12404) 2022-12-15 07:52:36 -07:00
Sven Rebhan 9f55bc605e
fix(secretstores): cleanup duplicate printing (#12401) 2022-12-15 06:35:05 -07:00
Maxim Ivanov fe9a0eb6f5
feat(inputs.stackdriver): Allow filtering by resource metadata labels (#12377) 2022-12-13 11:08:21 +01:00
Orfeas Zafeiris 459a658224
feat(inputs.powerdns_recursor): Support for new PowerDNS recursor control protocol (#9633) 2022-12-12 18:01:49 +01:00
Paweł Żak c6663aca4f
chore: fix linter findings for makezero (part3) (#12371) 2022-12-12 07:05:33 -07:00
Joshua Powers 4f7717b4fd
test(inputs.statsd): increase sleep + expiration on test (#12354) 2022-12-09 12:55:10 -07:00
Sven Rebhan 9b33b95bc0
feat(inputs.netflow): add netflow plugin (#12108) 2022-12-09 11:40:30 -07:00
goswamisandeep 5eee8faa95
feat(inputs.sqlserver): add @@SERVICENAME and SERVERPROPERTY(''IsClustered'') in measurement sqlserver_server_properties (#12351) 2022-12-09 11:24:57 -07:00
Sven Rebhan 7df97486d4
fix(inputs.modbus): fix default value of transmission mode (#12367) 2022-12-09 11:23:51 -07:00
Maxim Ivanov 95bdcbb7d5
fix(inputs.kube_inventory): Change default token path, use in-cluster config by default (#12284) 2022-12-09 16:58:14 +01:00
Maxim Ivanov df3b23de3a
feat(inputs.kubernetes): Allow fetching kublet metrics remotely (#12301)
Co-authored-by: Maxim Ivanov <hi@yamlcoder.me>
2022-12-09 16:56:24 +01:00
Pranay Kanwar 4161651fed
feat(inputs.smart): Add additional SMART metrics that indicate/predict device failure (#12329) 2022-12-09 16:46:21 +01:00
zhiyuan-mojie 375e089d12
fix(inputs.mongodb): Fix connection leak triggered by config reload (#12330)
Co-authored-by: amliu <amliu@qq.com>
2022-12-09 16:44:33 +01:00
Paweł Żak 4717a03509
chore: Fix linter findings for makezero (part2) (#12362) 2022-12-09 16:38:37 +01:00
Sven Rebhan c98115e744
feat: secret-store implementation (#11232) 2022-12-08 09:53:06 -07:00
jinx ad780bb1eb
fix(inputs.sql): cast measurement_column to string (#12323) 2022-12-08 08:27:48 -07:00
Sven Rebhan 8d78c5fbdc
chore(deps): Bump github.com/gosnmp/gosnmp from 1.34.0 to 1.35.0 (#12355) 2022-12-08 10:19:04 +01:00
Pontus Rydin dae0d82b9a
fix(inputs.vsphere): Eliminated duplicate samples (#12259) 2022-12-07 17:02:02 +01:00
Michael Hoffmann d7d1f8b3f0
feat(inputs.cgroups): do not abort on first error, print message once (#12342) 2022-12-07 07:21:59 -07:00