Commit Graph

6453 Commits

Author SHA1 Message Date
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
reimda 622815c4a2
chore: add readme linter to CI (#11020) 2022-05-23 13:03:28 -06: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
dependabot[bot] 0ff3b6339a
fix: bump github.com/aws/aws-sdk-go-v2/config from 1.15.3 to 1.15.7 (#11166) 2022-05-23 11:27:14 -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
Holger 61126dcbba
feat: add external huebridge input plugin (#11159) 2022-05-23 07:26:58 -06:00
Sven Rebhan df17df3a8f
fix: Improve slab testing without sudo. (#11151) 2022-05-20 08:39:50 -06:00
Sven Rebhan 49137dd267
docs: update review docs (#11147) 2022-05-20 08:23:25 -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 2488d75edd
test: use supported version of elasticsearch (#11111) 2022-05-17 20:35:40 +00: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
dependabot[bot] 54c75bd6ae
fix: bump github.com/wavefronthq/wavefront-sdk-go from 0.9.10 to 0.9.11 (#10970)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-17 10:55:58 -05:00
Sven Rebhan 58071a7126
fix: Update gopsutil from v3.22.3 to v3.22.4 to allow for HOST_PROC_MOUNTINFO. (#11107) 2022-05-17 07:27:28 -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
Josh Powers 5014d6b2b3
Update changelog
(cherry picked from commit c07868f5a69e89630b98a88ddfb7d66571949df3)
2022-05-16 08:28:32 -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
Jacob Marble 3c79acbd80
chore: update opentelemetry plugins (#11085) 2022-05-12 10:34:52 -05:00
Peter (Stig) Edwards 2cad990e10
docs: correct copy-and-paste of udp to tcp (#11080) 2022-05-11 09:54:36 -06:00