Commit Graph

2968 Commits

Author SHA1 Message Date
Sven Rebhan 4002abba2e
fix(inputs.conntrack): Skip gather tests if conntrack kernel module is not loaded. (#12062) 2022-10-19 22:08:33 +02:00
Sebastian Spaink f38c9f2a45
chore: Resolve deprecated linter issues (#12051) 2022-10-19 18:32:53 +02:00
Joshua Powers 13a020f491
fix(inputs.zookeeper): add the ability to parse floats as floats (#12023) 2022-10-19 10:15:32 -06:00
Joshua Powers c5e2c7aa00
test: add additional checks, waits in integration tests (#12056) 2022-10-19 09:54:00 -06:00
Joshua Powers 3a162332c1
docs(inputs.mongodb): update supported versions (#12048) 2022-10-19 12:37:10 +02:00
Brett Jones 668b7eb54a
fix(inputs.mongodb): ServerStatus int64 to float(#12049) 2022-10-19 09:11:02 +02:00
Joerg Epping 589447abaf
feat(inputs.modbus): add config option to pause after connect (#11983) 2022-10-18 12:42:18 -06:00
bkotlowski f44e0d148c
feat: New Intel DLB input plugin (#11824) 2022-10-17 13:03:48 -06:00
Joshua Powers e13fe616fe
docs(inputs.tomcat): clean up fields (#12018) 2022-10-17 07:15:22 -06:00
Paweł Żak 94e39fa018
feat: New input plugin for libvirt (#11814) 2022-10-12 17:05:42 -06:00
Joshua Powers 39e4bcdc90
test: add dovecot integration test (#11996) 2022-10-12 15:25:33 -06:00
Joshua Powers a915d2c20c
test: add integration test for recovering after invalid data (#11994) 2022-10-12 13:59:47 -06:00
Joshua Powers 6fa06d4405
fix(inputs.syslog): print error when no error or message given (#11997) 2022-10-12 13:54:27 -06:00
Tomas Barton 0087a5d245
feat(inputs.conntrack): Parse conntrack stats (#8958) 2022-10-12 14:12:16 -05:00
Paweł Żak 08c1ce9cb6
chore: Resolve linter issues for ineffassign, nilerr, gosimple... (#11966) 2022-10-12 13:08:03 -06:00
R290 beba64e006
fix(inputs.opcua): Add metric tags to node (#11993) 2022-10-12 10:41:44 -06:00
Sebastian Spaink fae64e2a63
chore(inputs.powerdns): Don't run flaky test on Windows (#11982) 2022-10-11 12:44:49 -05:00
Sebastian Spaink b477573359
chore(inputs.cloud_pubsub_push): Don't run flaky test on Windows (#11984) 2022-10-11 12:44:41 -05:00
Paweł Żak 9ff5cda6e8
chore: Resolve linter issues for plugins/common package (#11964)
Co-authored-by: Pawel Zak <Pawel Zak>
2022-10-11 11:31:44 -05:00
Sven Rebhan a94da1d235
chore(inputs.socket_listener): Reorganize test to be table-based. (#11970) 2022-10-11 10:13:50 -05:00
Jacob Marble 6606c5ed33
chore: update OpenTelemetry plugins to latest release (#11943) 2022-10-05 14:03:17 -06:00
Paweł Żak dbf6796a89
fix: Setting `enable_tls` has incorrect default value (#11941)
Co-authored-by: Pawel Zak <Pawel Zak>
2022-10-05 10:07:28 +02:00
Sven Rebhan 4b18183da2
fix(inputs.modbus): Improve duplicate field checks (#11912) 2022-10-04 18:01:54 +02:00
Joshua Powers 173d32a201
fix(inputs.influxdb_listener): error on invalid precision (#11866) 2022-10-03 07:23:06 -06:00
Sebastian Spaink 53175321e0
docs: Ran `make docs` (#11914) 2022-09-30 13:00:46 -06:00
Giuseppe e601f91c2b
docs(inputs.opcua): fix typo (#11897) 2022-09-30 07:34:19 -06:00
Thomas Casteleyn aa2d4d12c7
chore(lint): Removed deprecated varcheck linter (#11910) 2022-09-30 07:26:10 -06:00
Sven Rebhan 373966babe
feat(inputs.diskio): Allow selecting devices by ID (#11703) 2022-09-28 09:26:14 -05:00
Mya d37ae5f775
chore(inputs.opcua): rename regular reads to unregistered reads (#11892) 2022-09-27 10:39:37 -06:00
Sebastian Spaink d982ed9a45
feat(inputs.amqp_consumer): Determine content encoding automatically (#11860) 2022-09-26 21:28:32 +02:00
Thomas Casteleyn a2baab3d36
chore(deps): Replace go-ping by pro-bing (#11836) 2022-09-26 13:04:30 -06:00
Joshua Blanchard 2b03cd9151
fix(common.kafka): Enable TLS in Kafka plugins without custom config (#11519) 2022-09-26 12:14:14 -06:00
Joshua Powers 6e924fcd5c
docs(inputs.cpu): explain macos cpu support requires cgo (#11883) 2022-09-26 12:13:06 -06:00
R290 c78139c8b9
feat(inputs.opcua): add use regular reads workaround (#11630) 2022-09-26 11:33:59 -06:00
Ted M Lin 2b37d7e508
fix(inputs.mqtt_consumer): rework connection and message tracking (#10696) 2022-09-26 11:09:44 -06:00
Gavin Chappell 2d124a4dbe
fix(inputs.internet_speed): rename enable_file_download to match upstream intent (#11877) 2022-09-26 07:24:20 -06:00
Sebastian Spaink 4913392b85
chore: Remove deprecated build tags (#11867) 2022-09-22 13:25:31 -05:00
Joshua Powers f899eb5cde
fix(inputs.mongodb): actually start plugin correctly (#11849) 2022-09-21 13:05:01 -06:00
Sven Rebhan 8e23402305
chore: remove deprecated io/ioutils (#11678) 2022-09-20 09:37:14 -06:00
Mya 5f22bd17db
fix(internal.ethtool): avoid internal name conflict with aws (#11696) 2022-09-20 09:36:29 -06:00
Chris Debenham eabb66f7d7
docs(inputs.nvidia_smi): Example of how to enable nvidia-smi via docker compose (#11833) 2022-09-20 09:34:44 -06:00
gkatzioura e5ee9e198b
feat(inputs.gcs): Google Cloud Storage Input Plugin (#8413) 2022-09-19 14:01:04 -06:00
Sven Rebhan 4897f86ed7
fix(parsers.csv): Remove direct checks for the parser type (#11825) 2022-09-19 12:15:32 -06:00
Sven Rebhan 6236059817
fix(inputs.ntpq): Handle pools with "-" when (#11827) 2022-09-19 11:43:22 -06:00
Sven Rebhan 2b7cafcdbe
fix(parsers): Unwrap parser and remove some special handling (#11826) 2022-09-19 09:57:24 -06:00
Sven Rebhan d637a665e8
fix(inputs.modbus): Do not fail if a single slave reports errors (#11785) 2022-09-15 15:42:47 -06:00
Greg Linton 21a7d6fcbe
fix(inputs.ceph): Modernize Ceph input plugin metrics (#10797) 2022-09-14 20:57:26 +02:00
Alexander Zimmermann 71b4a0afa6
feat(inputs.knx_listener): support TCP as transport protocol (#11783) 2022-09-13 14:05:31 -07:00
erwiese 215e8e030a
feat(inputs.prometheus): use system wide proxy settings (#11729) 2022-09-13 10:48:13 -07:00
Sebastian Spaink d67f75e557
docs: Remove warning not to remove go:embed (#11797)
Co-authored-by: Joshua Powers <powersj@fastmail.com>
2022-09-13 12:47:58 -05:00
Sebastian Spaink ba62aca4e2
feat(inputs.directory_monitor): Support paths for files_to_ignore and files_to_monitor (#11784) 2022-09-12 08:00:44 -06:00
Sven Rebhan 78bdf9a1b2
chore(inputs.jolokia2): Move agent and proxy one level up (#11637) 2022-09-09 17:48:15 -06:00
Sven Rebhan 3d2b7bd210
fix: Do not error out for parsing errors in datadog mode. (#11777) 2022-09-08 13:55:24 -06:00
Joshua Powers 8c49ddccc3
chore: update to go1.19.1 (#11776) 2022-09-08 12:49:36 -06:00
Wilfried OLLIVIER e46f90e89c
fix(inputs.mongodb): add an option to bypass connection errors on start (#11629) 2022-09-07 14:25:32 -05:00
Sebastian Spaink f238df20ff
feat(inputs.directory_monitor): Traverse sub-directories (#11773) 2022-09-07 21:08:42 +02:00
Joshua Powers dc9abf3f04
fix(inputs.jolokia2): add optional origin header (#11692) 2022-09-07 13:08:21 -06:00
deweter ab185887c0
feat(inputs.sqlserver): Improved filtering for active requests (#11709) 2022-09-07 11:30:11 +02:00
Sebastian Spaink 15c7bc51f1
fix(inputs.opcua): Assign node id correctly (#11723) 2022-08-31 16:56:30 -05:00
Sebastian Spaink a57434eb4e
feat: Migrate to urfave/cli (#11700) 2022-08-24 21:46:58 -05:00
Fabian Mastenbroek 7f3395f148
feat(inputs.linux_cpu): Add plugin to collect CPU metrics on Linux (#8988) 2022-08-24 13:10:45 -06:00
deweter bacb6c385d
fix(inputs.sqlserver): fixing wrong filtering for sqlAzureMIRequests and sqlAzureDBRequests (#11701) 2022-08-22 13:05:43 -06:00
Marshall Royce 1dc617ebdd
feat(inputs.mqtt_consumer): Add incoming mqtt message size calculation (#11426) 2022-08-22 13:54:38 -05:00
deweter 1cc24efd3b
feat(inputs.sqlserver): Add db name to io stats for MI (#11688) 2022-08-17 13:11:06 -06:00
Povilas Versockas 447e8a385e
fix: refactor telegraf version (#11656) 2022-08-17 13:08:31 -06:00
yahaa 4f4d168e74
fix(inputs.prometheus): plugin run outside k8s cluster error (#11673) 2022-08-17 08:27:46 -06:00
Sven Rebhan 09eb7ee111
chore: Move aws credentials to plugins/common. (#11681) 2022-08-16 19:04:30 +02:00
reimda 07179c466b
chore: Use build tags to select plugins (#11654) 2022-08-15 22:44:59 +02:00
Sven Rebhan 7fa6f5f4fb
fix: Sync sql output and input build constraints to handle loong64 in go1.19. (#11664) 2022-08-15 10:00:42 -06:00
Joshua Powers de414da72d
docs(inputs.zookeeper): document use of prometheus plugin (#11658) 2022-08-11 08:14:58 -06:00
Sven Rebhan 9fbd275d17
chore: Markdown fixes for inputs/[a-m]* (#11606) 2022-08-09 18:57:31 +02:00
Sven Rebhan e96bbe83c5
feat(common.tls): Implement minimum TLS version for clients (#11493) 2022-08-09 13:36:47 +02:00
niasar b80d34a422
feat: Supervisord input plugin (#9015) 2022-08-08 12:25:26 -06:00
Joshua Powers 75e8640a26
fix(inputs.mongodb): update version check for newer versions (#11635) 2022-08-08 09:37:52 -06:00
Sven Rebhan 7bd9c91ebe
fix(inputs.x509): Multiple sources with non-overlapping DNS entries. (#11613) 2022-08-05 12:54:23 -06:00
Grace Wehner f4e76893d1
feat (inputs/prometheus): add setting to set custom namespace label name to avoid conflicts (#11538) 2022-08-05 08:27:20 -06:00
Joshua Powers 388be518f8
fix(inputs.kubernetes): refresh token from file at each read (#11578) 2022-08-03 13:10:42 -06:00
Sven Rebhan d606899737
feat(inputs.ntpq): Allow to specify `reach` output format (#11594) 2022-08-03 13:03:44 -06:00
Mya f3ce00529d
docs(inputs.exec): clarify parsing for ints (#11597) 2022-08-03 07:42:22 -05:00
Joshua Powers b741f3288a
fix(inputs.kube_inventory): send file location to enable token auto-refresh (#11577) 2022-08-02 15:29:33 -06:00
Sven Rebhan e33ffeb06a
feat(inputs.ntpq): Add possibility to query remote servers (#11592) 2022-08-02 21:02:37 +02:00
singamSrikar a049738a50
feat(inputs.openstack): Add "allow_reauth" config option for openstack client (#11572) 2022-08-02 20:24:26 +02:00
Sven Rebhan ba2ebe896a
feat(inputs.ntpq): Add option to specify command flags (#11593) 2022-08-02 19:26:54 +02:00
Sven Rebhan e2578462a5
fix(inputs): Linter issues (#11576) 2022-08-02 13:52:17 +02:00
Sven Rebhan 9f57f9408c
chore(inputs.ntpq): Cleanup existing plugin (#11575) 2022-08-01 22:09:44 +02:00
Joshua Powers 196abb74cf
fix(inputs.cloudwatch): customizable batch size when querying (#10851) 2022-08-01 13:09:25 -06:00
Sven Rebhan 3ad9fe73ba
chore: More parser cleanup (#11532) 2022-07-28 15:30:36 -05:00
Mya 13b0ed0e6e
fix(inputs.opcua): return an error with mismatched types (#11539) 2022-07-27 13:14:01 -06:00
Sebastian Spaink b87d06eb69
fix(inputs.stackdriver): Handle when no buckets available (#11556) 2022-07-27 10:31:42 -05:00
reimda 7eccb82a3d
docs(inputs.mysql): Add link to docs on how to enable mysql's performance schema (#11555) 2022-07-27 11:14:08 +02:00
reimda ca8a6cfac2
chore: add missing section to kafka_consumer's sample.conf (#11553) 2022-07-26 12:53:06 -06:00
Mya 9a7c308ade
docs: add timeout section (#11550) 2022-07-26 10:07:34 -06:00
Joshua Powers 911072c17b
fix(inputs.sqlserver): set lower deadlock priority (#11548) 2022-07-26 08:51:15 -06:00
Albertas Bužinskas b1546fe1c7
feat(inputs.kafka_consumer): Option to set default fetch message bytes (#11220) 2022-07-25 15:49:34 -06:00
Eszter Gábor f96755c156
docs(inputs.modbus): README changes regarding request.tags (#11541) 2022-07-25 15:14:57 -06:00
Amarinder Cheema d84bf9a949
feat(inputs.statsd): add median timing calculation to statsd input plugin (#11518) 2022-07-22 07:52:11 -06:00
papapiya 79235cb224
fix(inputs.snmp_trap): nil map panic when use snmp_trap with netsnmp translator (#11534) 2022-07-22 11:23:41 +02:00
Mat Wood 08c895d99f
feat(inputs.syslog): log remote host as source tag (#9440) 2022-07-20 13:14:07 -06:00
Sven Burkard 46f059ebfd
feat: added metrics for member and replica-set avg health of MongoDB (#11516) 2022-07-20 13:02:38 -06:00
wuxingzhong cff5c0e852
fix(inputs.mqtt_consumer): topic parsing error when topic having prefix(/) (#11527) 2022-07-20 07:28:20 -06:00
Varlet Nicolas ae695e8736
fix(inputs.sqlserver): set lower deadlock priority (#11522) 2022-07-19 10:12:09 -06:00
Joshua Powers cb0df019ec
fix: make docs + go.mod cleanup post-redis merge (#11521) 2022-07-19 08:50:47 -06:00
Guy Korland 3c5d71b7cd
feat: Add RedisTimeSeries plugin (#11054) 2022-07-19 07:08:51 -06:00
Joshua Powers f29f6cf6a1
docs: run make-docs (#11514) 2022-07-18 15:04:41 -06:00
Danial Ebling 1fa47c8221
feat(inputs.cisco_telemetry_mdt): Add GRPC Keepalive/timeout config options (#11458) 2022-07-18 13:07:42 -06:00
Joshua Powers c984cd87fe
fix: correct init volume gatherer in openstack (#11481) 2022-07-18 13:03:41 -06:00
Bertram Holzer 4766d0cbaf
feat: Nats Jetstream consumer add simple support for jetstream subjects (#11373) 2022-07-18 13:01:53 -06:00
Sven Rebhan 6c7b3b3032
feat(inputs.modbus): Error out on requests with no fields defined. (#11469) 2022-07-15 12:01:53 +02:00
Sebastian Spaink 2d357d464b
docs: Add example output section to HTTP plugin (#11497) 2022-07-14 09:38:39 -05:00
Joshua Powers a5bc5b5974
docs: explain proxmox user/token and node_name (#11487) 2022-07-12 14:36:10 -06:00
Sven Rebhan d7f8f025fc
fix: Backport sync sample.conf and README.md files (#11489)
Co-authored-by: Sven Rebhan <sven.rebhan@honda-ri.de>
2022-07-12 13:59:00 -05:00
Ben Tasker fa0c9c937e
feat(inputs.smart): Collect SSD endurance information where available in smartctl (#11391) 2022-07-12 12:25:54 -05:00
Igor Simonov 8b3cab8093
feat(inputs.logstash): Record number of failures (#9185) 2022-07-11 13:09:25 -06:00
Joshua Powers 508483157d
fix: allow 201 for cookies, update header docs (#11472) 2022-07-08 15:10:46 -06:00
Mya 1a47277298
fix(inputs.snmp): snmp UseUnconnectedUDPSocket when using udp (#10331) 2022-07-08 13:40:32 -06:00
Sven Rebhan bf0d261e53
fix(inputs.upsd): Move to new sample.conf style (#11471) 2022-07-08 08:47:58 -05:00
Adam Gardner e4afb2bcfa
feat(rabbitmq): add support for head_message_timestamp metric (#11475) 2022-07-08 15:23:37 +02:00
bewing a0aa4082a2
chore(gnmi): Add Metrics heading to README.md (#11476) 2022-07-07 15:06:44 -06:00
bewing f29f7b28f2
fix(gnmi): refactor tag-only subs for complex keys (#11011) 2022-07-07 12:50:40 -06:00
glennlod c91eacda42
feat(inputs.nginx_plus_api): Gather limit_reqs metrics (#10874) 2022-07-07 10:43:29 -06:00
Joshua Powers 6aad0a6349
fix: use bigint for backupsize in sqlserver (#11448) 2022-07-07 08:43:15 -06:00
Sebastian Spaink 9744c3a6a2
feat: Migrate influx and influx_upstream parsers to new style (#11432) 2022-07-06 15:23:13 -05:00
Sebastian Spaink 1c8c057984
chore(inputs.socket_listener): Remove parser from init (#11462) 2022-07-06 14:11:08 -05:00
Anton Malinskiy fbccc71abb
feat(input): add upsd implementation (#9890) 2022-07-06 13:09:18 -06:00
Mya 5598a16bdb
docs(inputs.mqtt_consumer): add pivot example to readme (#11195) 2022-07-05 11:27:19 -06:00
Joshua Powers 2f6701013b
test: Update wait statement for postgresql_extensible (#11447) 2022-07-05 17:38:05 +02:00
Sebastian Spaink 9e50853ab8
feat: Migrate nagios parser to new style (#11402) 2022-06-30 13:20:32 -05:00
Cillian McCabe b7e09bb509
feat: adding aws metric streams input plugin (#11233) 2022-06-30 09:59:07 -06:00
Joshua Powers 56a3f18cdf
feat: migrate grok to new parser style (#11408) 2022-06-30 08:10:27 -06:00
Sven Rebhan e710192dc9
feat: Migrate graphite parser to new style (#11405) 2022-06-29 23:08:05 +02:00
Joshua Powers b423a3ec40
feat: migrate value parser to new style (#11407) 2022-06-29 14:46:43 -06:00
Sebastian Spaink b638c5353f
feat: migrate form_urlencoded parser to new style (#11381) 2022-06-29 13:08:12 -06:00
Sven Rebhan 524038a1ec
fix: Sync back sample.confs for inputs.couchbase and outputs.groundwork. (#11413) 2022-06-29 09:04:28 -06:00
papapiya eb77bddde2
fix: resolve jolokia2 panic on null response (#11397) 2022-06-29 07:17:33 -06:00
Alexander Krantz fcc9373eba
feat: allow collecting node-level metrics for Couchbase buckets (#9717) 2022-06-27 13:03:55 -06:00
Joshua Powers d80096a9cb
docs: swap bytes sent/recv descriptions in nfsclient (#11376) 2022-06-23 10:31:23 -06:00
Sven Rebhan a049175e58
fix: Restore sample configurations broken during initial migration (#11276) 2022-06-22 13:33:58 -06:00
reimda db23718f14
fix: don't require listeners to be present in overview (#9315) 2022-06-22 10:28:44 -06:00
Sven Rebhan c46f42f797
feat: Migrate json parser to new style (#11226) 2022-06-22 09:56:51 -06:00
Sebastian Spaink 6700f0ba49
docs: Sync sample.conf for recent features (#11348) 2022-06-22 08:01:56 -05:00
Alexander Krantz 65a60855a0
feat(x509_cert): add proxy support (#9319) 2022-06-21 15:50:06 -05:00
Alexander Krantz d8f2b38b27
feat(redis): add Redis 6 ACL auth support (#9333) 2022-06-21 15:13:18 -05:00
Joshua Powers 42a167ffde
fix: filter out views in mongodb lookup (#11280) 2022-06-21 11:16:12 -06:00
Julien Pivotto fa64e26a0c
chore: fix typo (recieve -> receive) (#11341) 2022-06-21 10:36:41 -06:00
Joshua Powers 3f65217f5e
test: mark integration tests correctly (#11317) 2022-06-16 14:10:11 -06:00
Joshua Powers b312ccf1ec
test: update wait for statement for postgres (#11309) 2022-06-16 13:47:19 -06:00
Joshua Powers a45410368d
docs: explain directly connecting to mongo node (#11314) 2022-06-16 09:43:26 -06:00
skillor 05285a1fdb
feat(inputs.x509_cert): add smtp protocol (#11271)
Co-authored-by: dreiekk <dreiekk@users.noreply.github.com>
2022-06-15 11:46:26 -05:00
Thomas Casteleyn 45c88f84c9
fix(inputs/directory_monitor): Add support for multiline file parsing (#11234) 2022-06-13 09:24:17 -05:00
reimda f7aab29381
chore: Fix readme linter errors for input plugins M-Z (#11274) 2022-06-08 15:22:56 -06:00
Joshua Powers 0b7c3c4b24
fix: add missing build constraints for sqlite (#11272) 2022-06-08 10:38:58 -06:00
Joshua Powers a8ed6fd192
fix: remove full access permissions (#11261) 2022-06-08 09:54:12 -06:00
reimda 453e276718
chore: Fix readme linter errors for input plugins E-L (#11214) 2022-06-07 15:37:08 -06:00
reimda 1b1482b5eb
chore: Fix readme linter errors for input plugins A-D (#10964) 2022-06-07 15:10:18 -06:00
Joshua Powers d13314332e
fix: update modernc.org/sqlite from v1.10.8 to v1.17.3 (#11260) 2022-06-06 15:22:25 -06:00
bkotlowski 6d829c199d
feat(intel_powerstat): add uncore frequency metrics (#11254) 2022-06-06 09:23:48 -06:00
Joshua Powers 58e01f72b2
test: add circle ci integration testing on PRs (#11246) 2022-06-03 10:33:28 -06:00
Joshua Powers 9daefaba11
test: harden running of testcontainer integration tests (#11245) 2022-06-03 10:29:08 -06:00
David Barbarin 8c66d604be
feat(inputs.sqlserver): Update query store and latch performance counters (#11216) 2022-06-02 10:04:14 -05:00
Joshua Powers 1c61aa7fb3
test: migrate elasticsearch to testcontainers (#11207) 2022-06-02 08:20:06 -06:00
Joshua Powers 936b90806b
test: migrate postgres to testcontainers (#11209) 2022-06-02 07:48:13 -06:00
Joshua Powers 43c9e051b5
test: migrate mcrouter to test-containers (#11208) 2022-06-02 07:48:04 -06:00
glennlod a34219adfe
feat(inputs.nginx_plus_api): Gather slab metrics (#10448) 2022-06-01 13:18:13 -06:00
TimurDela 4d92fe4e5e
fix(inputs/modbus): #11105 fix requests starting with an omitted field (#11202) 2022-06-01 13:10:08 -06:00
Sven Rebhan 91d50ee374
fix: Update sample.conf for prometheus (#11217) 2022-06-01 09:22:25 -06:00
Joshua Powers 0147257358
test: enable logging with testcontainers (#11211) 2022-06-01 07:42:46 -06:00
reimda 0dd99b2157
fix(inputs/snmp): switch new Reconnect method to be a value receiver (#11197) 2022-05-27 15:03:46 -06:00
Joshua Powers 1200f3c87e
test: refactor testcontainer port lookup (#11198) 2022-05-27 10:24:31 -06:00
Joshua Powers 02dd7c1752
test: actually skip flaky snmp test (#11199)
This test had a short skip added to it four years ago and a comment that
the test has random failures. While working on the integration tests,
which run all tests this test started showing up in the errors.

While the two asserts at the end could possibly be updated, it is worth
having someone look deeper into understanding why this change is
required.

In order to get integration tests running, this skips this test always.
2022-05-27 07:14:16 -06:00
Joshua Powers 2fc19fa308
chore: correctly spell embed (#11200) 2022-05-27 07:13:47 -06:00
Jacob Marble 8bf4ea8173
chore: update OpenTelmetry plugins (#11194) 2022-05-26 11:26:54 -05:00
reimda 34e5d821f7
docs: remove recommendation for prometheus metric_version=2 (#11158) 2022-05-26 10:07:44 -06:00
Joshua Powers b29503702e
test: migrate zookeeper to test-containers (#11185) 2022-05-25 13:51:38 -06:00
Eng Zer Jun d51634a613
fix(plugins/amqp): move from `streadway/amqp` to `rabbitmq/amqp091-go` (#11192) 2022-05-25 13:16:13 -06:00
Sven Rebhan 2a87947244
feat: Add constant 'algorithm' to the mock plugin (#11188) 2022-05-25 13:10:08 -06:00
zhiyuan-mojie ae98e7f1f6
fix: redis plugin goroutine leak triggered by auto reload config mechanism (#11143) 2022-05-25 12:58:12 -06:00
Thomas Casteleyn 885444ab3e
fix(inputs/snmp): Reconnect TCP agents if needed (#11163) 2022-05-25 12:47:51 -06:00
Joshua Powers 22efc25daa
test: migrate pgbouncer to test-containers (#11186) 2022-05-25 10:45:55 -06:00
Joshua Powers 912e3362d2
test: migrate openldap tests to test-containers (#11169) 2022-05-24 10:58:50 -06:00
Joshua Powers d5ff34bc14
test: migrate opcua to test-containers (#11171) 2022-05-24 10:05:04 -06:00
Joshua Powers d65640f9e6
test: migrate aerospike to test-containers (#11177) 2022-05-24 09:59:04 -06:00
Sven Rebhan 15fd1133c7
fix: Convert slab plugin to new sample.conf. (#11181) 2022-05-24 10:55:36 -05:00
Joshua Powers 59a7f76117
test: migrate memcached to test-containers (#11176) 2022-05-24 09:30:29 -06:00
Joshua Powers cb9d9fe075
test: migrate redis to test-containers (#11174) 2022-05-24 09:30:19 -06:00
Sven Rebhan 56eb914998
chore: Embed sample configurations into README for inputs (#11136) 2022-05-24 08:49:47 -05:00
Joshua Powers 596b0e149b
fix: Remove any content type from prometheus accept header (#11082)
In #6745, the prometheus accept header was changed to accept any media
type. However, our prometheus plugin only accepts text. With the release
of newer versions of prometheus, the OpenMetrics type is now available
and could potentially be setup as the exclusive response type. As this
new content type is not supported, Telegraf should not accept it.

The original issue, #6523, was filed around getting a 406. The issue had
comments from the rabbit-mq maintainers who made changes to their code
to be less regid resolving the issue. The change to telegraf was made
afterwards anyway.

fixes: #10248
2022-05-24 15:11:17 +02:00
Martin Molnar b5e5f4cfd7
feat(inputs.cpu): Add tags with core id or physical id to cpus (#11141) 2022-05-23 21:10:18 +02:00
bkotlowski df3e9ec2a2
feat(intel_powerstat): add Max Turbo Frequency and introduce improvements (#11035) 2022-05-23 13:02:32 -06:00
Sven Rebhan 4f972daa2b
test: avoid data race in tcp-listener test (#11144) 2022-05-23 13:01:53 -06:00
Joshua Powers db3beab38b
test: add generic test-container code for re-use, migrate mysql (#11157) 2022-05-23 11:08:53 -06:00
Sven Rebhan df17df3a8f
fix: Improve slab testing without sudo. (#11151) 2022-05-20 08:39:50 -06:00
Joshua Powers 78d92622da
test: force elasticsearch to index batch data (#11153) 2022-05-19 14:15:41 -06:00
Joshua Powers deb0c6e207
test: update mongodb output to use test containers (#11137) 2022-05-19 14:14:02 -06:00
Joshua Powers 57f5c1cb8a
test: switch internet speed to enable file download (#11146) 2022-05-19 11:31:51 -06:00
Joshua Powers a2d142651e
fix: doc interval setting for internet speed plugin (#11150) 2022-05-19 11:31:33 -06:00
Sebastian Spaink b709f8e047
fix(inputs.burrow): Move Dialer to variable and run `make fmt` (#11149) 2022-05-19 11:18:54 -05:00
Peter (Stig) Edwards 81b84fb12b
fix: avoid calling sadc with invalid 0 interval (#11140) 2022-05-19 10:26:29 -05:00
Sokolov Yura 7c89a38d11
feat: [inputs/burrow] fill more http transport parameters (#6948)
Co-authored-by: Sven Rebhan <36194019+srebhan@users.noreply.github.com>
2022-05-19 10:10:58 -05:00
Nobuhiro MIKI ab04f3a1c7
feat: add slab metrics input plugin (#11075)
Co-authored-by: reimda <reimda@users.noreply.github.com>
Co-authored-by: Joshua Powers <powersj@fastmail.com>
2022-05-18 22:42:17 -05:00
Joshua Powers dad330c3e1
fix: use readers over closers in http input (#11083) 2022-05-18 13:06:56 -06:00
Sebastian Spaink 6b697db11e
chore(inputs_a-l): migrate sample configs into separate files (#11132) 2022-05-18 11:31:52 -05:00
Sebastian Spaink 0f5dc9946c
chore(inputs_m-z): migrate sample configs into separate files (#11133) 2022-05-18 11:31:34 -05:00
Joshua Powers d0476898e5
test: remove unecessary flag in sql input (#11115) 2022-05-17 20:30:18 +00:00
Sakerdotes 42f954fc88
fix(parsers/nagios): metrics will always return a supported status co… (#11062)
Co-authored-by: Morten Urban <morten.urban@sectornord.de>
2022-05-17 15:14:26 -05:00
Kuldeep Doneriya d3abbc0897
feat: allow other fluentd metrics apart from retry_count, buffer_queu… (#11056) 2022-05-17 15:12:35 -05:00
reimda 1b10e15424
fix: log instance name in skip warnings (#10995) 2022-05-17 13:42:42 -06:00
Thomas Casteleyn 69314405ed
chore(inputs/file): More clear error messages (#11104) 2022-05-16 17:21:46 -05:00
Felix Edelmann 1d659f5fbe
test: add test for mysql gatherGlobalVariables using sql-mock (#10987) 2022-05-16 15:11:25 -06:00
sammcadams-8451 df6d4e7972
feat: Artifactory Webhook Receiver (#10918) 2022-05-16 14:20:54 -06:00
Joshua Powers 0d18847f59
fix: check net.Listen() error in tests (#11093) 2022-05-16 13:37:53 -06:00
Sergey Lanzman 23afa9f28c
fix: Output erroneous namespace and continue instead of error out (#11069) 2022-05-16 13:27:00 -06:00
Nathan Ferch 62922de631
feat: add mount option filtering to disk plugin (#11039) 2022-05-12 15:16:19 -06:00
6monlambert fa723355f5
feat(inputs.vsphere): Collect resource pools metrics and add resource pool tag in VM metrics (#10574)
* Collect Resource Pool metrics; Add rpname tag on VM metrics

* Update vSphere readme file

* Update vSphere readme file

* Correct typo in vSphere Readme

* Correct Markdown of metrics.md

* Fix metrics file

* Fix code in endpoint (filter); add some tests

* Update plugins/inputs/vsphere/endpoint.go

That's true I commit this suggestion

Co-authored-by: Sebastian Spaink <3441183+sspaink@users.noreply.github.com>

* Removed Context and Endpoint from getResourcePoolName func

Co-authored-by: Simon LAMBERT <silambert@cirilgroup.com>
Co-authored-by: Sebastian Spaink <3441183+sspaink@users.noreply.github.com>
2022-05-12 15:36:56 -05:00
Joshua Powers b36953d10b
docs: note about listsnapshots cause zfs parse failures (#11091) 2022-05-12 12:43:38 -06:00
dependabot[bot] a9de025c84
fix: bump github.com/showwin/speedtest-go from 1.1.4 to 1.1.5 (#10722)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: MyaLongmire <myalongmire05@gmail.com>
2022-05-12 10:58:24 -05:00
Peter (Stig) Edwards 2cad990e10
docs: correct copy-and-paste of udp to tcp (#11080) 2022-05-11 09:54:36 -06:00
Eng Zer Jun 81090be35d
refactor: replace strings.Replace with strings.ReplaceAll (#11079) 2022-05-11 09:53:34 -06:00
M.D fed88fcb44
feat(exec, execd): add an option to pass a custom environment to their child process (#11049) 2022-05-10 15:34:05 -06:00
Sebastian Spaink 4a15e0aba8
fix(inputs.couchbase): Don't assume metrics will all be of the same length (#11045)
* fix(inputs.couchbase): Don't assume metrics will all be of the same length

* fix: move to one line
2022-05-10 16:30:37 -05:00
Joshua Powers 7d456d1773
fix: deprecate useless database config option (#11044) 2022-05-10 15:26:04 -06:00
Joshua Powers 3e60bc1d4b
fix: do not error when closing statsd network connection (#11043) 2022-05-10 15:24:34 -06:00
Thomas Casteleyn 8aacd07257
chore(inputs/disk): add deprecation notice to legacy mountpoints setting (#10948) 2022-05-10 09:59:57 -06:00
Thomas Casteleyn 6dc2b99549
style: align plugin renaming (#10868) 2022-04-28 13:40:34 -06:00
Joshua Powers f97e50a73d
fix: reduce log level in disk plugin (#10925) 2022-04-26 15:46:28 -06:00
bewing a6f278a5ea
fix: use external xpath parser for gnmi (#11024) 2022-04-26 07:38:02 -06:00
Joshua Powers f450e37966
fix: remove duplicate influxdb listener writes (#10976) 2022-04-25 14:49:56 -06:00
bewing 72997edf7b
fix: add mutex to gnmi lookup map (#11008) 2022-04-22 07:40:20 -06:00
bewing dc95d22272
fix: use sprint to cast to strings in gnmi (#11010) 2022-04-21 07:45:37 -06:00
Adam Rowan ecf7e948b2
fix: use correct auth token with consul_agent (#11001) 2022-04-20 12:51:57 -06:00
Marc e8b08b10b7
fix: add mariadb_dialect to address the MariaDB differences in INNODB_METRICS (#10486) 2022-04-19 15:12:49 -06:00
Joshua Powers bcc7c57f18
fix: correctly parse various numeric forms (#10923) 2022-04-19 15:07:23 -06:00
Adam Zwakenberg 96be484f08
docs: add missing slash in mongodb readme (#10994) 2022-04-19 07:35:30 -06:00
Jacob Marble bf99a726f5
fix: update go.opentelemetry.io/collector/pdata from v0.48.0 to v0.49.0 (#10984) 2022-04-19 07:28:01 -06:00
Eng Zer Jun c3d176029d
test: use `T.TempDir` to create temporary test directory (#10988) 2022-04-18 13:27:59 -06:00
Pascal Sthamer 70334b9691
feat(inputs/teamspeak): allow to configure nickname (#10934) 2022-04-13 10:06:01 -06:00
Aleksandr Venger 237658d6cd
feat(inputs/sqlserver): add RecentBackups query (#10567) 2022-04-13 09:57:36 -06:00
Joshua Powers 03847d8cac
fix: ensure aliyuncms metrics accept array, fix discovery (#10850) 2022-04-12 15:52:03 -06:00
Arati Kulkarni 50d706ecfa
fix(inputs/aerospike): Statistics query bug (#10930) 2022-04-12 15:15:13 -06:00
Joshua Powers ad2a0e52a4
chore: remove go generate from CI tests (#10977) 2022-04-12 13:49:10 -06:00
Joshua Powers b1e3ece613
fix: align the default value for msg size (#10947) 2022-04-12 09:09:38 -06:00
Jacob Marble 3a3802e02f
fix: update opentelemetry from v0.2.10 to v0.2.17 (#10963) 2022-04-12 09:00:27 -06:00
Giulio Fronterotta 2337fd6e61
docs: update sql readme for creating login in windows (#10967) 2022-04-12 08:32:24 -06:00
Joshua Powers dbd1fe734b
fix: remove overly verbose info message from cisco mdt (#10959) 2022-04-12 07:54:35 -06:00
Thomas Casteleyn 5e9312b167
style: Add deprecation notice to renamed plugins (#10867) 2022-04-12 07:50:27 -06:00
Sebastian Spaink 5676326ae9
chore(inputs): add descriptions to config in README.md (#10962) 2022-04-12 08:29:02 -05:00
Sebastian Spaink b355be5ccb
feat: migrate input plugins to new sample config format (M-Z) (#10926) 2022-04-11 16:32:25 -05:00
Shubham Kumar Singh Rajput 777f8bf715
fix(inputs.prometheus): moved from watcher to informer (#10932) 2022-04-08 08:09:02 -06:00
Sebastian Spaink 8e2b4988fe
feat: migrate input plugins to new sample config format (A-L) (#10924) 2022-04-07 16:01:21 -06:00
Driss Tahraoui-Maldague 6cb25207fd
feat(inputs.mongodb): Add metrics about files currently open and currently active data handles (#7896) 2022-04-05 11:37:57 -05:00
Gianluca Sartori 141279f1de
fix: inconsistencies in sql*Requests queries (#10553) 2022-03-30 12:06:05 -06:00
Aleksei Larkov 9d3d5b9414
feat: add ANSI color filter for tail input plugin (#10880) 2022-03-30 09:00:16 -06:00
omgold 32222d96ce
feat: In Lustre input plugin, support collecting per-client stats. (#10607) 2022-03-29 15:13:29 -06:00
Joshua Powers b9151ff560
fix: redundant zfs pool tag (#10871) 2022-03-29 15:04:21 -06:00
Joshua Powers b169b01568
fix: update vsphere info message to debug (#10903)
This message is very verbose and causes a lot of extra messages to get
printed out as-is. Having it can be helpful in debugging when a metric
does not show up, but it is not useful for general usage. This changes
the message to only show up with debug enabled.

Fixes: #10350
2022-03-28 10:06:19 -06:00
Joshua Powers c2277fa2fc
chore: fix slow running intel-pmu test (#10859) 2022-03-24 11:55:48 -06:00
Joshua Powers 58a69d43eb
chore: skip longer/integration tests on -short mode (#10860) 2022-03-24 11:55:36 -06:00
Joshua Powers eafde73ece
chore: reduce timeouts and sleeps (#10861) 2022-03-24 11:54:58 -06:00
Joshua Powers baea38970e
fix: rename consul_metrics -> consul_agent (#10876) 2022-03-23 09:27:37 -06:00
Francesco Bartolini a0ed5241d4
fix: consul_metrics input plugin docs (#10873) 2022-03-23 07:55:21 -06:00
William Wilson 5992fc47ac
tests: remove redundant newlines that go 1.18 treats as errors (#10847) 2022-03-21 09:11:25 -07:00
reimda 77040ef4e9
fix: Add option to select translator (#10802) 2022-03-17 21:43:46 -06:00
Paweł Żak 7e652fdd00
feat: new input Hugepages plugin (#10763) 2022-03-16 10:00:45 -06:00
Joshua Powers 02c3073f5b
feat: add new rtt per op field to nfsclient (#10787) 2022-03-11 12:56:03 -07:00
Joshua Powers 40ed7fb693
feat(parsers.influx): New influx line protocol via feature flag (#10749) 2022-03-10 15:09:58 -07:00
Joshua Powers 2b57262617
fix: correctly read ntpq long poll output (#10790) 2022-03-10 07:20:02 -07:00
Sebastian Spaink 80d66dfed9
fix(inputs.docker): keep field type of tasks_desired the same (#10711) 2022-03-08 09:00:48 -06:00
Alexander Krantz f76729cfb9
feat: HTTP basic auth for webhooks (#9332)
Co-authored-by: Sebastian Spaink <3441183+sspaink@users.noreply.github.com>
2022-03-04 09:51:01 -06:00
Marcin Lewandowski 7e2f22c00c
docs: update uri scheme for default RavenDB configuration (#10764) 2022-03-04 06:38:31 -07:00
Thomas Casteleyn a4f6b27bd5
style: Add deprecation notices to plugin options (#10616) 2022-03-01 15:05:53 -07:00
Joshua Powers 39e065fd78
fix: sanitize stasd names (#10466) 2022-03-01 15:01:08 -07:00
Ehsan 5adecc3cd9
feat(parsers/csv): Add metadata support to CSV parser plugin (#10083) 2022-02-23 19:28:16 -06:00
Joshua Powers 71ed9d692c
fix: mdstat when sync is less than 10% (#10701) 2022-02-22 15:04:16 -07:00
reimda 6ef39deda1
fix: Remove verbose logging from disk input plugin (#10527) 2022-02-22 11:56:22 -07:00
Arati Kulkarni 63d4a87eb1
feat: Bump github.com/aerospike/aerospike-client-go from 1.27.0 to 5.7.0 (#10604) 2022-02-22 11:54:29 -07:00
LINKIWI 9bdfb21eee
feat(inputs/memcached): Support client TLS origination to memcached (#10642) 2022-02-22 11:53:11 -07:00
Alan Pope 9f9d3c9b98
fix: openweathermap add feels_like field (#10705) 2022-02-22 10:21:37 -07:00
dependabot[bot] 9a1e250f91
fix: bump github.com/gophercloud/gophercloud from 0.16.0 to 0.24.0 (#10693) 2022-02-22 09:03:54 -07:00
Mya d18ff3407d
fix: ensure folders do not get loaded more than once (#10551) 2022-02-16 12:25:20 -07:00
Joshua Powers 81f54c50c6
docs: update VMWare doc links (#10663)
Fixes: #10569
2022-02-16 11:54:01 -07:00
Joshua Powers dbafbed42d
fix: add graylog toml tags (#10660) 2022-02-16 08:55:30 -07:00
dependabot[bot] 10d11f318b
fix: bump all go.opentelemetry.io dependencies (#10647) 2022-02-15 10:42:25 -07:00
LINKIWI fe299d968e
feat: gather additional stats from memcached (#10641) 2022-02-15 08:02:44 -07:00
reimda 1745d59640
fix: Revert deprecation of http_listener_v2 (#10648) 2022-02-14 10:13:28 -07:00
Joshua Powers 5a652d871b
fix: use current time as ecs timestamp (#10636) 2022-02-14 07:08:08 -07:00
Vlasta Hajek 3ef1c73582
feat: Implemented support for reading raw values, added tests and doc (#6501) 2022-02-10 15:03:52 -07:00
Bastien Dronneau 789f351948
feat(mongodb): add FsTotalSize and FsUsedSize informations (#10625) 2022-02-10 15:00:16 -07:00
Sebastian Spaink 525fb9cebc
fix(inputs.opcua): add more data to error log (#10465) 2022-02-07 14:20:12 -06:00
bewing 7e769d738a
feat: add dynamic tagging to gnmi plugin (#7484) 2022-02-07 08:18:53 -07:00
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