Commit Graph

3823 Commits

Author SHA1 Message Date
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
Sven Rebhan 1b0bf3579b
chore: Embed sample configurations into README for aggregators (#11190) 2022-05-25 10:25:51 -06:00
Sven Rebhan e04d62dd16
chore: Embed sample configurations into README for processors (#11189) 2022-05-25 08:59:41 -06:00
Sven Rebhan d9a6d8b774
chore: embed sample configurations into README for outputs (#11182) 2022-05-25 08:48:59 -06:00
crflanigan 7d2016b84c
feat: Google API Auth (#11084) 2022-05-24 17:33:02 -06:00
Joshua Powers 912e3362d2
test: migrate openldap tests to test-containers (#11169) 2022-05-24 10:58:50 -06:00
Joshua Powers 5857966df1
test: migrate nsq to test containers (#11173) 2022-05-24 10:31:49 -06:00
Joshua Powers d5ff34bc14
test: migrate opcua to test-containers (#11171) 2022-05-24 10:05:04 -06:00
Joshua Powers 1c41f2d1ef
feat: add field key option to set event partition key (#11076) 2022-05-24 10:01:09 -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
Joshua Powers dd8dd75824
test: migrate mqtt to test containers (#11172) 2022-05-24 09:30:02 -06:00
Joshua Powers 03034cd1d1
test: migrate nats to test-containers (#11170) 2022-05-24 09:29:15 -06:00
Joshua Powers 94ad7f1bfa
test: migrate crate to test-containers code (#11165) 2022-05-24 09:28:40 -06:00
Sven Rebhan 56eb914998
chore: Embed sample configurations into README for inputs (#11136) 2022-05-24 08:49:47 -05:00
Heiko Schlittermann a840006e58
fix: search services file in /etc/services and fall back to /usr/etc/services (#11179) 2022-05-24 07:22:56 -06: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
Thomas Casteleyn 9a6816782b
feat: do not error if no nodes found for current config with xpath parser (#11102) 2022-05-19 09:00:23 -06: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
Sebastian Spaink 256caede89
chore(outputs): migrate sample configs into separate files (#11131) 2022-05-18 11:30:06 -05:00
Sebastian Spaink 4b3a5d5559
chore(aggregators): migrate sample configs into separate files (#11130) 2022-05-18 11:29:55 -05:00
Sebastian Spaink d345348834
chore(processors): migrate sample configs into separate files (#11125) 2022-05-18 11:29:43 -05:00
Joshua Powers d0476898e5
test: remove unecessary flag in sql input (#11115) 2022-05-17 20:30:18 +00:00
Joshua Powers c8796a71ae
fix: elasticsearch output float handling test (#11120) 2022-05-17 20:28:05 +00:00
Joshua Powers b4b52d1a6f
test: remove unused riemann from docker-compose (#11118) 2022-05-17 20:26:27 +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
Thomas Casteleyn 442728b03e
feat(parsers/logfmt): Add tag support (#11060) 2022-05-17 15:08:03 -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
lambdaq 09a863bd3d
docs: fix socket_writer output format link (#11101) 2022-05-16 13:49:35 -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
Farukh Ali 906b24e31d
fix(outputs.Wavefront): If no "host" tag is provided, do not add "telegraf.host" tag (#11078)
Co-authored-by: ffaroo1 <svc-registry-github@intuit.com>
2022-05-12 10:46:28 -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
Joshua Powers e28793cff1
fix: re-init azure monitor http client on context deadline error (#11030) 2022-05-10 15:24:01 -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
Jimmy Rimmer eb791360c4
fix: datadog count metrics (#10979) 2022-04-27 17:04:34 -05:00
RaviKiran K 5a71d03e63
feat(outputs.http): Support configuration of `MaxIdleConns` and `MaxIdleConnsPerHost` (#10954) 2022-04-27 15:24:27 -05: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
reimda 6ba3b1e91e
chore: Fix readme linter errors for output plugins (#10951) 2022-04-21 09:45:47 -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
Alexander Kapshuna 18980772a9
docs: correct influx parser type setting in README (#11004) 2022-04-20 07:14:03 -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
Joshua Powers b2a1c1b497
docs: regex processor only works on strings (#10982) 2022-04-19 07:22:03 -06:00
Eng Zer Jun c3d176029d
test: use `T.TempDir` to create temporary test directory (#10988) 2022-04-18 13:27:59 -06:00
Rion 577c0462b8
feat(processor/regex): Add ability to check every tag for regex replace (#10927) 2022-04-14 09:15:45 -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
AsafMah 47113efc5a
fix: update github.com/Azure/azure-kusto-go from 0.5.0 to 0.60 (#10966) 2022-04-12 15:07:15 -06:00
Joshua Powers 22bc23d79b
chore: add logging to graylog tests (#10896) 2022-04-12 15:00:49 -06:00