Commit Graph

4108 Commits

Author SHA1 Message Date
Paweł Żak 77390b6495
fix: linter fixes for "import-shadowing: The name '...' shadows an import name" (#10689) 2022-02-22 08:11:30 -07:00
Zachary Priddy a60027a7de
feat[elastic output]: add elastic pipeline flags (#10505) 2022-02-17 16:00:26 -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
hulucc 4c42880796
fix: prometheusremotewrite wrong timestamp unit (#10547) 2022-02-16 09:00:37 -07:00
Joshua Powers dbafbed42d
fix: add graylog toml tags (#10660) 2022-02-16 08:55:30 -07:00
Alexander Olekhnovich 0d529d89ea
feat: add socks5 proxy support for kafka output plugin (#8192) 2022-02-16 08:33:03 -07:00
Joshua Powers c1a41383c6
docs: override reported OpenSearch version (#10586)
Fixes: #9414
2022-02-16 07:25:31 -07:00
dependabot[bot] 10d11f318b
fix: bump all go.opentelemetry.io dependencies (#10647) 2022-02-15 10:42:25 -07:00
Joshua Powers 0c4df85c2d
fix: check for nil client before closing in amqp (#10635) 2022-02-15 10:21:20 -07:00
Grimsby 6ae9320275
fix: timestamp change during execution of json_v2 parser. (#10657)
Co-authored-by: Kristian Grimsby <grimsby@Kristians-MacBook-Pro.local>
2022-02-15 10:48:15 -06:00
Mark Rushakoff 25e8b45284
fix: incorrect handling of json_v2 timestamp_path (#10618) 2022-02-15 09:08:53 -06: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
Sebastian Spaink 75946f56f1
fix(parsers.json_v2): allow optional paths and handle wrong paths correctly (#10468) 2022-02-03 15:08:09 -07:00
Joshua Powers 9cfd7491f8
docs: add expriation_interval to readme (#10583) 2022-02-03 15:05:47 -07:00
Eugene Komarov 5b58d0ded6
feat: aggregator histogram add expiration (#10520) 2022-02-03 15:05:33 -07:00
Zachary Priddy 5c8751f97c
fix[elasticsearch output]: add scheme to fix error in sniffing option (#10513) 2022-02-03 15:02:02 -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
AsafMah b60b8d3382
fix(outputs/azure_data_explorer): Added azureBlob controls to lower RAM usage (#10179) 2022-02-01 09:31:40 -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
Pavlo Sumkin e4f040a2df
feat: process group tag for groundwork output plugin (#10499)
Co-authored-by: Pavlo Sumkin <pavlo@bluesunrise.com>
2022-01-27 11:25:28 -06:00
Sven Rebhan bf447f4488
docs: Update deprecation readme (#10529) 2022-01-27 09:59:33 -06:00
Mya b2cfbb1acb
fix: typo in docs (#10441) 2022-01-25 15:12:32 -08: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
Bill Thomson ed31bc0715
Fix: Update README.md (#10500) 2022-01-24 11:22:07 -07:00
Jérome Perrin 9ff4330bae
docs: Fixes for input/sql readme (#10498) 2022-01-24 08:03:29 -07:00
Joshua Powers 26a33a900a
fix: graylog readme to use graylog 3 URLs (#10481) 2022-01-21 14:29:49 -07:00
Joshua Powers 20f007b28e
fix: add RFC3164 to RFC5424 translation to docs (#10480) 2022-01-20 14:47:26 -07:00
Joshua Powers dd98e4b045
fix: add comment to logparser (#10479) 2022-01-20 14:47:12 -07:00
pierwill 23ed788f19
chore: Add `openConnections` to enterprise cluster metrics Readme (#10483) 2022-01-20 14:22:43 -07:00
R290 578fe8bd5f
fix: remove duplicate addition of fields (#10478) 2022-01-20 13:38:58 -07:00
Sakerdotes 83ab2b8bb5
fix(parsers.nagios): nagios parser now uses real error for logging #10472 (#10473) 2022-01-20 10:42:40 -07:00
Joshua Powers 61214bd33b
fix: add newline in execd for prometheus parsing (#10463) 2022-01-20 08:39:24 -07:00
Sebastian Spaink 0ca1cd64b4
fix: address flaky tests in cookie_test.go and graylog_test.go (#10326) 2022-01-18 16:55:47 -06:00
Joshua Powers 80580c070f
fix: ensure CI tests runs against i386 (#10457) 2022-01-18 13:45:03 -07:00
Sven Rebhan 193dc450c3
feat: Parser plugin restructuring (#8791) 2022-01-12 15:54:42 -07:00
Christian a6b998f9b8
feat: Add noise plugin (#10057) 2022-01-12 08:20:33 -07:00
R290 515715fee3
fix: Accept non-standard OPC UA OK status by implementing a configurable workaround (#10384)
Thanks!
2022-01-11 15:39:18 -07:00
Conor Evans 48b981bd4e
feat: support headers for http plugin with cookie auth (#10404) 2022-01-11 15:31:28 -07:00
Laurent Sesquès 457c98f4c2
fix: snmp input plugin errors if mibs folder doesn't exist (#10346) (#10354) 2022-01-11 15:17:05 -07:00
Joshua Powers bccecef13b
fix: correctly set ASCII trailer for syslog output (#10393) 2022-01-11 15:15:13 -07:00
Joshua Powers 8f02056718
fix: ensure http body is empty (#10396) 2022-01-11 09:22:49 -07:00
Todd Persen 90563c9af3
feat: add bearer token support to elasticsearch output (#10399) 2022-01-11 09:22:00 -07:00
Sebastian Spaink 18704de6ed
fix(json_v2): use raw values for timestamps (#10413) 2022-01-11 10:08:59 -06:00
Joshua Powers c2c15e8b3e
chore: update mqtt documentation (#10394) 2022-01-10 07:45:32 -07:00
Thomas Casteleyn 7f20e7103f
feat: deprecate unused snmp_trap timeout configuration option (#10339) 2022-01-10 07:44:53 -07:00
Jeremy Yang 1e04157c52
feat: add compression to Datadog Output (#9963) 2022-01-07 10:38:19 -06:00
Martin Reindl 0e1031356e
fix: re-enable OpenBSD modbus support (#10385) 2022-01-07 07:19:19 -07:00
Nirmesh ad1694b1d8
fix: Fix batching logic with write records, introduce concurrent requests (#8947) 2022-01-06 15:28:23 -07:00
John Seekins 3bbd6be2fa
feat: Add additional stats to bond collector (#10137) 2022-01-06 16:08:17 -06:00
stitch cula 0b96d40b60
fix(outputs/amqp): Close the last connection when writing error to avoid connection leaks (#10360) 2022-01-06 16:04:46 -06:00
Joshua Powers c353bace3a
feat: update docker client API version (#10382) 2022-01-06 07:30:42 -07:00
Sven Rebhan 7867ef3623
fix: fix missing storage in container with disk plugin (#10318) 2022-01-05 08:45:03 -07:00
Howie 381dc22723
chore: typos across source code comments (#10361) 2022-01-05 08:20:10 -07:00
Joshua Powers 1b7e8c90e9
chore: sql readme with more details on data types (#10378)
Fixes: #9562
2022-01-05 08:18:28 -07:00
Joshua Powers 078242ba6b
fix: empty import tzdata for Windows binaries (#10377)
The telegraf binary currently does not include any timezone data. While
this data is usually readily available in linux systems it is not
available to a go binary in Windows.

Fixes: #8756
2022-01-05 08:18:12 -07:00
Mya d8cc355113
chore: document deprecation of timeout (#10373) 2022-01-04 12:46:40 -07:00
Joshua Powers 2220fa2c2d
feat: add mock input plugin (#9782) 2021-12-23 13:34:29 -07:00
Sebastian Spaink f88b873fca
fix: update go-ldap to v3.4.1 (#10343) 2021-12-23 11:51:35 -06:00
Vladislav 1d6d01a6db
fix: update GroundWork SDK and improve logging (#10255) 2021-12-23 10:43:34 -07:00
Thomas Casteleyn 0b99c6c20a
feat: add more functionality to template processor (#10316) 2021-12-23 09:51:26 -07:00
Francesco Bartolini 8a1720a785
feat: add consul metrics input plugin (#10258) 2021-12-22 13:49:26 -07:00
Jarno Huuskonen e906698bba
feat: add exclude_root_certs option to x509_cert plugin (#9822) 2021-12-22 13:39:36 -07:00
Alexander Krantz e6cd83f1e7
feat: add option to disable prepared statements for PostgreSQL (#9710) 2021-12-22 13:29:53 -07:00
Nathan J Mehl 697855c98b
fix: cumulative interval start times for stackdriver output (#10097) 2021-12-22 13:11:28 -07:00
Alberto Fernandez a202f68333
feat: add option to skip errors during CSV parsing (#10267) 2021-12-22 13:07:14 -07:00
Laurent Sesquès 911c0a9db6
feat: socketstat input plugin (#3649) 2021-12-22 12:38:14 -07:00
Sebastian Spaink da1ddd53a4
fix: update djherbis/times and fix dependabot (#10332) 2021-12-22 13:30:42 -06:00
Joshua Powers 3a51186e6a
docs: add note about dpdk and socket availability (#10324) 2021-12-21 15:27:04 -07:00
Robert Hajek 6de4d345e9
feat: reworked varnish_cache plugin (#9432)
Co-authored-by: Helen Weller <38860767+helenosheaa@users.noreply.github.com>
2021-12-21 16:07:10 -06:00
Joshua Powers 6a1442f1bc
fix: do not require networking during tests (#10321) 2021-12-21 13:44:10 -07:00
Sebastian Thörn a0242035aa
feat: add timeout-setting to Graylog-plugin (#10220) 2021-12-21 09:10:04 -07:00
Sven Rebhan a57aaddb0d
fix: Fix panic in logparser due to missing Log. (#10296) 2021-12-20 17:30:34 -06:00
Mya 1e81d98fdd
fix: panic due to no module (#10303) 2021-12-20 13:40:00 -07:00
Mya 973ffba9fb
fix: check index before assignment (#10299) 2021-12-20 10:52:47 -07:00
Nico Vinzens c6faf3d3b4
feat: adds optional list of non retryable http statuscodes to http output plugin (#10186) 2021-12-20 10:16:23 -07:00
Laurent Sesquès 4e1961b7d8
fix: typo in openstack neutron input plugin (newtron) (#10284) 2021-12-16 08:23:32 -07:00
Sebastian Spaink 68233c5934
fix: mark TestGatherUDPCert as an integration test (#10279) 2021-12-15 18:48:18 -06:00
Joshua Powers de6e421dd0
fix: run gofmt (#10274) 2021-12-14 15:43:37 -07:00
Petar Obradović 32ca79f83c
feat: add Redis Sentinel input plugin (#10042) 2021-12-14 15:13:33 -07:00
Mikołaj Przybysz 91cf764eff
fix: flush wavefront output sender on error to clean up broken connections (#10225) 2021-12-14 15:07:10 -07:00
crflanigan e7e50a8883
feat: Add option to disable Wavefront prefix conversion (#10252) 2021-12-14 15:04:30 -07:00
Irina Vasileva c1550a7303
feat: add heap_size_limit field for input.kibana (#10243) 2021-12-14 13:25:45 -07:00
Sven Rebhan aa642a4046
fix: Handle duplicate registration of protocol-buffer files gracefully. (#10188) 2021-12-10 14:25:24 -07:00
Patryk Małek 1b9572085b
fix(http_listener_v2): fix panic on close (#10132) 2021-12-10 13:14:16 -07:00
Francesco Bartolini 039c9683fd
feat: add Vault input plugin (#10198) 2021-12-10 13:10:26 -07:00
Arthur Gautier 8976483471
feat: support aws managed service for prometheus (#10202) 2021-12-10 13:06:33 -07:00
Sven Rebhan 31cbd2e504
fix: Make telegraf compile on Windows with golang 1.16.2 (#10246) 2021-12-08 15:10:31 -07:00
Sven Rebhan 99ddb467e9
feat: Modbus add per-request tags (#10231) 2021-12-08 12:19:13 -07:00
Sven Rebhan ec26975dec
fix: Implement NaN and inf handling for elasticsearch output (#10196) 2021-12-08 10:56:54 -07:00
Francesco Bartolini dbf55535c7
feat: add nomad input plugin (#10106) 2021-12-08 09:34:11 -07:00
Thomas Casteleyn 3ddc3c6b51
fix: eliminate MIB dependency for ifname processor (#10214) 2021-12-07 15:38:09 -07:00
Sven Rebhan 2d420fbd35
feat: Optimize locking for SNMP MIBs loading. (#10206) 2021-12-07 15:05:33 -07:00
Kuba Trojan d4475b7d08
feat: Add SMART plugin concurrency configuration option, nvme-cli v1.14+ support and lint fixes. (#10150) 2021-12-07 09:10:36 -07:00
Sam Lai 2fdf223efb
fix(inputs/kube_inventory): set TLS server name config properly (#9975) 2021-12-07 08:30:27 -07:00
Joshua Powers f9d719d636
fix: json_v2 parser timestamp setting (#10221) 2021-12-06 12:18:06 -07:00
Joshua Powers 7049967fa9
fix: ensure graylog spec fields not prefixed with '_' (#10209) 2021-12-06 11:06:02 -07:00
Aaron Wood 666bfe33a2
fix: pool detection and metrics gathering for ZFS >= 2.1.x (#10099) 2021-12-06 08:37:34 -07:00
Thomas Casteleyn cc397279f5
fix: parallelism fix for ifname processor (#10007) 2021-12-03 14:44:41 -06:00
Paweł Żak 1143a50da3
chore: Forbids "log" package only for aggregators, inputs, outputs, parsers and processors (#10191)
Co-authored-by: Pawel Zak <Pawel Zak>
2021-12-03 11:50:51 -06:00
Alec 2269ff1242
docs: address documentation gap when running telegraf in k8s (#10215) 2021-12-03 11:48:46 -06:00
Mya d15cf791db
fix: mqtt topic extracting no longer requires all three fields (#10208) 2021-12-02 16:55:16 -07:00
Sven Rebhan 9787f4ac45
feat: Modbus support multiple slaves (gateway feature) (#9279) 2021-12-02 16:06:06 -06:00
reimda df6bf48f8d
feat: Implement deprecation infrastructure (#10200) 2021-12-01 12:38:43 -07:00
n2N8Z 69afb140ad
fix: resolve #10027 (#10112) 2021-12-01 09:49:59 -07:00
Robert Thein 7b6ff69ce7
fix: register bigquery to output plugins #10177 (#10178) 2021-12-01 09:07:08 -07:00
Joshua Powers 7053fec4e7
fix: sysstat use unique temp file vs hard-coded (#10165) 2021-12-01 07:39:07 -07:00
Mya 7675ce6d19
refactor: snmp to use gosmi (#9518) 2021-11-30 15:47:50 -07:00
Paweł Żak c875e45422
fix: Linter fixes for plugins/inputs/[a-o]* (leftovers) (#10192)
Co-authored-by: Pawel Zak <Pawel Zak>
2021-11-30 15:59:24 -06:00
Paweł Żak 3627961add
fix: Linter fixes for plugins/common/[a-z]* (#10189)
Co-authored-by: Pawel Zak <Pawel Zak>
2021-11-30 15:46:46 -06:00
Vladislav 27dea9bd8f
feat: add new groundwork output plugin (#9891) 2021-11-30 14:25:21 -07:00
Paweł Żak d9eb4d06c5
fix: Linter fixes for plugins/aggregators/[a-z]* (#10182)
Co-authored-by: Pawel Zak <Pawel Zak>
2021-11-30 15:18:33 -06:00
Paweł Żak 59eeddb41e
fix: Linter fixes for plugins/serializers/[a-z]* (#10181)
Co-authored-by: Pawel Zak <Pawel Zak>
2021-11-30 14:50:00 -06:00
Paweł Żak 7aa6b533bd
fix: Linter fixes for plugins/inputs/[p-z]* (leftovers) (#10193)
Co-authored-by: Pawel Zak <Pawel Zak>
2021-11-30 13:31:10 -06:00
Mya 9bd0c6121e
fix: failing ci on master (#10175) 2021-11-24 13:57:14 -07:00
Samantha Wang 84e7a6acbe
docs: clean up links (#10135) 2021-11-24 12:59:41 -07:00
Paweł Żak 020b77b239
fix: Linter fixes for plugins/outputs/[g-m]* (#10127)
Co-authored-by: Pawel Zak <Pawel Zak>
2021-11-24 12:40:25 -07:00
Paweł Żak 2b1a79f327
fix: Linter fixes for plugins/processors/[a-z]* (#10161)
Co-authored-by: Pawel Zak <Pawel Zak>
2021-11-24 12:38:08 -07:00
Paweł Żak 64bc0ae9c0
fix: Linter fixes for plugins/outputs/[p-z]* (#10139)
Co-authored-by: Pawel Zak <Pawel Zak>
2021-11-24 12:33:45 -07:00
Joshua Powers 121ae1faaa
fix: check error before defer in prometheus k8s (#10091) 2021-11-24 12:19:25 -07:00
Mya 84562877cc
chore: clean up all markdown lint errors for input plugins i through m (#10173) 2021-11-24 12:18:53 -07:00
Joshua Powers de6c2f74d6
feat: add retry to 413 errors with InfluxDB output (#10130) 2021-11-24 12:03:55 -07:00
Joshua Powers 79e479c691
fix: markdown: resolve all markdown issues with g-h (#10172) 2021-11-24 11:56:55 -07:00
Joshua Powers 0c02f245d6
fix: markdown: resolve all markdown issues with d-f (#10171) 2021-11-24 11:56:26 -07:00
Joshua Powers 6fa29f2966
fix: markdown: resolve all markdown issues with a-c (#10169) 2021-11-24 11:55:55 -07:00
Paweł Żak 8e85a67ee1
fix: Linter fixes for plugins/parsers/[a-z]* (#10145) 2021-11-24 11:52:51 -07:00
Mya 7d3531a29b
chore: clean up markdown lint errors input plugins w to z (#10166) 2021-11-24 11:50:22 -07:00
Mya 837465fcd5
chore: clean up all errors for markdown lint input plugins s through v (#10167) 2021-11-24 11:50:13 -07:00
Mya d4582dca70
chore: clean up all markdown lint error on input plugins n through r (#10168) 2021-11-24 11:50:01 -07:00
Joshua Powers 0d8d118319
chore: clean up all markdown lint errors in output plugins (#10159) 2021-11-24 11:47:33 -07:00
Joshua Powers c172df21a4
chore: clean up all markdown lint errors in serializer plugins (#10158) 2021-11-24 11:47:23 -07:00
Joshua Powers 4605c977da
chore: clean up all markdown lint errors in processor plugins (#10157) 2021-11-24 11:47:11 -07:00
Joshua Powers d5d1f310da
chore: clean up all markdown lint errors in common plugins (#10155) 2021-11-24 11:45:38 -07:00
Joshua Powers 779c1f0a59
chore: clean up all markdown lint errors in parser plugins (#10153) 2021-11-24 11:45:25 -07:00
Joshua Powers 96e939a082
chore: clean up all markdown lint errors in aggregator plugins (#10151) 2021-11-24 11:45:12 -07:00
reimda 6518745153
fix: Add setting to win_perf_counters input to ignore localization (#10101) 2021-11-23 15:11:00 -07:00
Mya 2b43934174
fix: removed snmptranslate from readme and fix default path (#10136) 2021-11-23 15:09:00 -07:00
Sebastian Spaink ba8c29acb0
feat(inputs.win_services): add exclude filter (#10144)
Co-authored-by: Tomas Mikenda <tomas.mikenda@tieto.com>
2021-11-23 15:07:21 -07:00
rentiansheng cd0a7cd52f
fix: input plugin statsd bug (#10116) 2021-11-23 15:05:23 -07:00
bkotlowski 9480e49eee
feat: add intel_pmu plugin (#9724)
Co-authored-by: ktrojan <kuba.trojan@intel.com>
2021-11-23 10:32:19 -06:00
Mya b89ef94777
feat: enable extracting tag values from MQTT topics (#9995) 2021-11-23 08:20:39 -07:00
Mya 5f9bd0d951
chore: remove nolint (#10138) 2021-11-19 12:26:19 -07:00
Nicolas Filotto 4f2ade5305
feat: Add support of aggregator as Starlark script (#9419) 2021-11-18 15:37:59 -07:00
Pierre Fersing 4a0397342a
fix: update shirou/gopsutil to v3 (#10119) 2021-11-18 09:33:47 -07:00
Paweł Żak 3dc5281632
fix: Linter fixes for plugins/outputs/[a-f]* (#10124) 2021-11-18 09:26:24 -07:00
Paweł Żak 2a0c3059a1
fix: Linter fixes for plugins/inputs/s* (#10104)
Co-authored-by: Pawel Zak <Pawel Zak>
2021-11-18 09:04:52 -07:00
Paweł Żak 146fff3183
fix: Linter fixes for plugins/inputs/[t-z]* (#10105) 2021-11-18 07:22:43 -07:00
Sebastian Spaink 5549bf0f59
fix(inputs/zfs): resolve README.md linter issues (#10109) 2021-11-17 08:24:31 -06:00
Sebastian Spaink 4e4a33003b
fix(outputs/graylog): fix failing test due to port already in use (#10074) 2021-11-16 16:17:23 -06:00
Samantha Wang f71695bc98
docs: update deprecated plugin readmes (#10100) 2021-11-16 16:11:24 -06:00
Ehsan db86904759
fix: directory monitor input plugin when data format is CSV and csv_skip_rows>0 and csv_header_row_count>=1 (#9865) 2021-11-16 15:05:48 -07:00
Paweł Żak b9e4978b17
fix: Linter fixes for plugins/inputs/p* (#10066) 2021-11-15 09:14:09 -06:00
David B b9c444bae8
fix: update BurntSushi/toml for hex config support (#10089) 2021-11-11 16:09:51 -07:00
Sebastian Spaink 8f309dc34d
fix(parser/csv): resolve linter issues (#10093) 2021-11-10 17:45:50 -06:00
anti32 62a05b2372
fix (inputs/mongodb) readme: correct connection URI (#10075) 2021-11-10 13:49:40 -06:00
Sebastian Spaink 279fc8352c
fix(inputs/mongodb): resolve all markdown linter issues in README.md (#10077) 2021-11-10 12:53:11 -06:00
Felix Edelmann f7827a0408
fix: mysql: type conversion follow-up (#9966) 2021-11-09 16:30:42 -06:00
atetevoortwis 8a3ba85419
fix: Changed VM ID from string to int (#10068) 2021-11-09 15:29:36 -07:00
Joshua Powers ce46506e19
fix: do not build modbus on openbsd (#10047) 2021-11-09 16:05:42 -06:00
singamSrikar a288bc0bf8
feat: Openstack input plugin (#9236) 2021-11-09 08:32:07 -07:00
Dane Strandboge ddeb6ec890
build: move to new protobuf library (#10019) 2021-11-09 08:51:14 -06:00
AlphaAr e73ffe56c4
fix: Add metric name is a label with name "__name" to Loki output plugin (#10001) 2021-11-08 14:47:32 -07:00
Fan Zhang 0133f1206b
fix: Set the default value correctly (#9980) 2021-11-08 14:42:55 -07:00
Jacob Marble 9871b676a5
chore: update OpenTelemetry plugins (#10010) 2021-11-08 14:41:50 -07:00
Sven Rebhan fb5b541b1a
feat: Extend regexp processor do allow renaming of measurements, tags and fields (#9561) 2021-11-04 10:45:52 -06:00
Jean-Sébastien Dupuy a2cf4fb98f
docs: add elastic pool in supported versions in sqlserver (#10044) 2021-11-02 08:50:38 -06:00
Paweł Żak c1d4ce4dd5
fix: Linter fixes for plugins/inputs/m* (#10006) 2021-11-02 08:49:26 -06:00
Paweł Żak e6b107b062
fix: Linter fixes for plugins/inputs/[n-o]* (#10011) 2021-11-02 08:42:22 -06:00
Scott Anderson 934db67c2b
fix: update influxdb input schema documentation (#10029) 2021-11-01 13:45:21 -06:00
trojanku 317dd38af3
fix: correct timezone in intel rdt plugin (#10026) 2021-11-01 12:53:23 -06:00
Heiko Schlittermann 8552c1187a
feat: Add use_batch_format for HTTP output plugin (#8184) 2021-10-29 08:05:28 -06:00
bustedware 7d6672c53a
feat: add mongodb output plugin (#9923) 2021-10-28 14:42:49 -06:00
Chris Ruscio 343e846480
feat: add max_processing_time config to Kafka Consumer input (#9988) 2021-10-28 14:35:22 -06:00
Paweł Żak eec6fd5702
fix: Linter fixes for plugins/inputs/[k-l]* (#9999) 2021-10-27 09:48:57 -06:00
Jean-Sébastien Dupuy 5d2b5d15a7
feat: add additional metrics to support elastic pool (sqlserver plugin) (#9841) 2021-10-26 12:07:02 -06:00
Joshua Powers 38aefd99b5
fix: redacts IPMI password in logs (#9997) 2021-10-26 11:03:41 -06:00
Paweł Żak 77248978c7
fix: Linter fixes for plugins/inputs/[h-j]* (#9986) 2021-10-26 07:45:03 -06:00
Sam Lai ecd4d3782c
fix(inputs/kube_inventory): don't skip resources with zero s/ns timestamps (#9978) 2021-10-25 16:01:35 -05:00
Joshua Powers 85a7fbc13f
fix: procstat tags were not getting generated correctly (#9973)
Fixes: #9961
2021-10-25 13:21:39 -06:00
Jean-Sébastien Dupuy 374662be07
test: add sqlserver plugin integration tests (#9943)
* Adding integration tests for AzureSQLDBResourceStats.

* Adding azuresqlmanagedqueries_test.go

* Updated integration tests for sql managed instance queries.

* Updated integration tests for sql database queries.

* Updated integration tests for azure sql database queries

* Updated integration tests for azure sql managed instance queries

* Fixed lint issues with make fmt.

Co-authored-by: yannick <yabromba@microsoft.com>
2021-10-25 09:35:12 -06:00
Josef Johansson 76251d34f3
feat: plugins/common/tls/config.go: Filter client certificates by DNS names (#9910) 2021-10-25 08:47:26 -06:00
AsafMah 9d5eb7dd68
feat: add option to skip table creation in azure data explorer output (#9942) 2021-10-25 08:44:20 -06:00
Thomas Casteleyn 1391f05e80
feat: Add more details to processors.ifname logmessages (#9984) 2021-10-22 16:12:12 -05:00
Gerald Quintana 8265969f52
feat: Kafka Add metadata full to config (#9833) 2021-10-21 15:32:39 -06:00
Alexander Krantz 06f2a37b4a
chore: Update to AWS SDK v2 (#9647) 2021-10-21 16:32:10 -05:00
Sven Rebhan 112ef7fc26
fix: starlark pop operation for non-existing keys (#9954) 2021-10-21 12:55:23 -06:00
Sven Rebhan aa2f1b150e
fix: Check return code of zfs command for FreeBSD. (#9956) 2021-10-21 10:51:23 -05:00
alespour e685f3be46
fix: Graylog plugin TLS support and message format (#9862) 2021-10-21 08:39:24 -06:00
Sven Rebhan cf605b5d9a
feat: Modbus connection settings (serial) (#9256) 2021-10-19 15:12:13 -06:00
Aleksandr Venger a7582fb893
fix: segfault in ingress, persistentvolumeclaim, statefulset in kube_inventory (#9585) 2021-10-19 15:09:37 -06:00
Joshua Powers 3e1ebdb4c7
fix: add normalization of tags for ethtool input plugin (#9901) 2021-10-19 14:44:36 -06:00
Sanyam Arya 62d5f635bb
fix: internet_speed input plugin not collecting/reporting latency (#9957) 2021-10-19 10:42:15 -06:00
Alexander Krantz 2e216825db
fix: decode Prometheus scrape path from Kuberentes labels (#9662) 2021-10-18 16:47:45 -05:00
Sebastian Spaink 2e230e6bf4
fix: Correct conversion of int with specific bit size (#9933) 2021-10-18 09:48:16 -05:00
Thomas Conté e324ef1985
feat: Azure Event Hubs output plugin (#9346) 2021-10-18 09:06:35 -05:00
Sam Arnold c4c32025c8
feat: more fields for papertrail event webhook (#9940) 2021-10-18 09:04:53 -05:00
alon 34c2b6232d
fix: solve compatibility issue for mongodb inputs when using 5.x relicaset (#9892) 2021-10-15 13:15:40 -06:00
Felix Edelmann 4194e54ceb
fix: inconsistent metric types in mysql (#9403) 2021-10-14 10:06:43 -06:00
Sebastian Spaink 432b30d2e9
fix(input/prometheus): move err check to correct place (#9920) 2021-10-13 14:43:05 -05:00
Sebastian Spaink 061b4094cd
fix(json_v2): remove dead code (#9908) 2021-10-13 13:04:02 -05:00
Sebastian Spaink 0be92db8af
docs: json_v2 improved var naming and comments (#9907) 2021-10-12 15:07:34 -06:00
Sebastian Spaink 66da86017f
chore: json_v2 read testdata dir for tests (#9906) 2021-10-12 15:04:36 -06:00
xavpaice 4321f8ae67
fix: patched intel rdt to allow sudo (#9527)
Co-authored-by: Joe Guo <joe.guo@canonical.com>
2021-10-11 20:31:33 -05:00
Sebastian Spaink fde637464a
fix: migrate aws/credentials.go to use NewSession, same functionality but now supports error (#9878) 2021-10-07 15:47:56 -05:00
Sebastian Spaink da5727e34c
fix: duplicate line_protocol when using object and fields (#9872) 2021-10-07 15:45:02 -05:00
Sebastian Spaink 9de8c987f2
fix: mute graylog UDP/TCP tests by marking them as integration (#9881) 2021-10-07 15:41:59 -05:00
etycomputer d06b387528
feat: Adds the ability to create and name a tag containing the filename using the directory monitor input plugin (#9860)
Co-authored-by: Ehsan Yazdi <Ehsan.Yazdi@elexonmining.com>
2021-10-07 15:38:20 -05:00
Patrick Hemmer 128ed8849b
fix: memory leak in influx parser (#9787) 2021-10-07 15:35:44 -05:00
Sebastian Spaink 15753a6f7f
fix: migrate to cloud.google.com/go/monitoring/apiv3/v2 (#9880) 2021-10-07 14:47:59 -05:00
Minni Walia e0c45e4a76
docs: updated azure data explorer plugin documentation (#9816) 2021-10-05 16:51:45 -05:00
Yuji Kawamoto d2a25456d5
feat(prometheus): add ignore_timestamp option (#9740) 2021-10-05 15:11:46 -06:00
Joshua Powers 014161cd0c
feat: add custom time/date format field for elasticsearch_query (#9838) 2021-10-05 16:06:53 -05:00
James Sorensen f6478ed128
feat: Starlark processor example for processing sparkplug_b messages (#9513) 2021-10-05 08:37:41 -06:00
Sebastian Spaink df5c19c17e
feat (parser.json_v2): Support defining field/tag tables within an object table (#9449) 2021-10-04 13:19:06 -05:00
Howard Yoo c1f51b0645
fix: mongodb input plugin issue #9845 (#9846) 2021-10-04 10:04:58 -06:00
Guo Qiao (Joe) 6c1bdfad76
fix: logging in intel_rdt.go caused service stop timeout even as root (#9844) (#9850) 2021-10-04 10:04:30 -06:00
Helen Weller 021dedb792
fix: update toml tag to match sample config / readme (#9848) 2021-10-04 10:05:56 -04:00
Joshua Powers ac40bdc52e
fix: procstat missing tags in procstat_lookup metric (#9808)
In #9488 the way that tags were built for procstat_lookup was changed
and it was only including the pid_finder and result tags. This is not
consistent with the documentation and is a regression from how they were
previously constructed.

Becuase of the large change to how procstat metrics are gathered, this
will use one of the process metric's tags as a basis for the tags for
procstat_lookup.

Resolves: #9793
2021-10-01 15:10:25 -06:00
Helen Weller 3990ab5eb9
fix: add keep alive config option, add documentation around issue with eclipse/mosquitto version combined with this plugin, update test (#9803) 2021-10-01 11:10:30 -04:00
Samantha Wang 11193a3b4c
docs: update readme title for amd_rocm_smi (#9826) 2021-09-29 15:40:23 -06:00
Alexander Krantz 872b29bf95
fix: Couchbase insecure certificate validation (#9458) 2021-09-29 15:39:46 -06:00
Joshua Powers e615534620
feat: add debug query output to elasticsearch_query (#9827) 2021-09-29 07:50:44 -06:00
helotpl 56398237c4
feat: telegraf to merge tables with different indexes (#9241) 2021-09-28 15:24:08 -06:00
Eng Zer Jun 6a3b27126a
refactor: move from io/ioutil to io and os package (#9811) 2021-09-28 15:16:32 -06:00
Sven Rebhan c4d2ad85f0
feat: Allow user to select the source for the metric timestamp. (#9013) 2021-09-28 08:09:20 -06:00
Samantha Wang 3ec4c128ca
docs: add trig and twemproxy plugin readmes (#9801) 2021-09-23 12:15:43 -05:00
Jacob Marble fb088bd69c
fix: error returned to OpenTelemetry client (#9797) 2021-09-23 10:05:29 -06:00
Sven Rebhan ceae37d66e
fix: Rename KNXListener to knx_listener (#9741) 2021-09-23 08:10:44 -06:00
Joshua Powers 3eebfd2f0f
feat: add Linux Volume Manager input plugin (#9771) 2021-09-21 15:51:43 -06:00
alespour a9898f179b
feat: add graylog plugin TCP support (#9644) 2021-09-21 16:02:36 -05:00
Samantha Wang c4c3c8ade9
docs: update caddy server instructions (#9698) 2021-09-21 14:03:41 -05:00
John Seekins 90d08787f5
feat: add measurements from puppet 5 (#9706) 2021-09-21 10:07:58 -06:00
Heiko Schlittermann b9aa9839fb
feat: Add json_timestamp_layout option (#8229) 2021-09-21 09:12:44 -06:00
Sean Molenaar b93f20068a
docs: fix jenkins plugin documentation (#9714) 2021-09-20 11:10:36 -05:00
John Seekins f5a3df429a
fix: add additional logstash output plugin stats (#9707) 2021-09-16 16:19:51 -05:00
Sven Rebhan c076398440
fix: Fix panic for non-existing metric names (#9757) 2021-09-15 11:58:40 -06:00
John Seekins 0e9391d43f
feat: add count of bonded slaves (for easier alerting) (#9762) 2021-09-15 11:56:52 -06:00
Sanyam Arya 40fa10ba0b
feat: Internet Speed Monitor Input Plugin (#9623) 2021-09-14 15:26:49 -06:00
Doron-Bargo 646273abe0
fix: pagination error on cloudwatch plugin (#9693) 2021-09-14 17:06:11 -04:00
Goutham Veeramachaneni 357959f087
fix: Add error message logging to outputs.http (#9727) 2021-09-14 17:04:34 -04:00
Sebastian Spaink cfd50de57c
fix(inputs.tail): change test default watch method to poll when Win 2021-09-14 15:56:49 -05:00
Jacob Marble a3454be2d8
chore: update influxdb-observability for OpenTelemetry plugins (#9718) 2021-09-14 13:07:28 -05:00
Sven Rebhan 3c27f598bb
fix: Update gopcua library to latest version (#9560) 2021-09-14 08:31:44 -05:00
dependabot[bot] 317ee71c32
fix: bump github.com/Azure/go-autorest/autorest/adal from 0.9.10->0.9.15 2021-09-13 12:38:59 -05:00
Daniel Dyla 95ef674456
feat(dynatrace-output): remove special handling from counters (#9675)
Co-authored-by: Armin Ruech <armin.ruech@dynatrace.com>
2021-09-08 13:31:42 -05:00
Alexander Krantz ba1484cb75
Fix memory leak in couchbase input (#9544) 2021-09-07 15:25:30 -06:00
alrex 147e3d1389
fix: outputs.opentelemetry use attributes setting (#9588) 2021-09-07 16:15:13 -05:00
Mariusz Białończyk 0317d7c3db
fix (inputs.ping): change edit to restart in README.md (#9728) 2021-09-07 12:41:07 -05:00
Samantha Wang 890508431c
docs: fix influxdb output readme (#9708) 2021-09-02 15:24:26 -06:00
Alexander Krantz 7de9c5ff27
fix: bump thrift to 0.14.2 and zipkin-go-opentracing 0.4.5 (#9700) 2021-09-02 10:23:30 -06:00
alrex 5a71f761dc
fix: outputs.opentelemetry use headers config in grpc requests (#9587) 2021-09-02 11:09:05 -05:00
Sebastian Spaink a86f5997b9
fix: migrate dgrijalva/jwt-go to golang-jwt/jwt/v4 (#9699) 2021-09-02 09:08:24 -06:00
Matteo Concas 04c3e9bb24
feat: Add rocm_smi input to monitor AMD GPUs (#9602) 2021-09-02 08:57:17 -06:00
Jake McCrary 514a942a6c
Make prometheus serializer update timestamps and expiration time as new data arrives (#9139) 2021-09-02 08:56:45 -06:00
Sebastian Spaink 167b6e0075
fix: race condition in cookie test (#9659) 2021-09-02 00:21:53 -05:00
Sebastian Spaink b8ff3e9c56
fix: run go fmt on inputs.mdstat with go1.17 (#9702) 2021-09-01 10:35:10 -06:00
John Seekins 435c2a6e33
feat: add inputs.mdstat to gather from /proc/mdstat collection (#9101) 2021-08-31 17:04:32 -05:00
reimda 2370d39e89
fix: output timestamp with fractional seconds (#9625) 2021-08-30 09:13:08 -06:00
David B 4dc2967e34
feat(plugins/inputs/systemd_units): add pattern support (#9665) 2021-08-26 15:34:52 -05:00
Alexander Krantz 1a59157b91
fix(mongodb): change command based on server version (#9674) 2021-08-26 15:32:48 -05:00
Daniel Dyla 0ce9c2e9f6
fix(dt-output): remove hardcoded int value (#9676) 2021-08-26 11:57:22 -05:00
Phil Bracikowski 8daba8aa19
chore(influxv2plugin): Increase accepted retry-after header values. (#9619) 2021-08-25 18:43:06 -04:00
Sebastian Spaink 3a7d9b6d98
fix: support 1.17 & 1.16.7 Go versions (#9642) 2021-08-23 15:37:44 -05:00
Grace Wehner fe144e7c99
fix: issues with prometheus kubernetes pod discovery (#9605) 2021-08-17 15:54:55 -06:00
Sebastian Spaink 02ccbec348
fix: cookie test (#9608) 2021-08-17 17:22:14 -04:00
Nicolai Scheer 41c384a978
feat: add bool datatype for sql output plugin (#9598)
Co-authored-by: Nicolai Scheer <nicolai.scheer@check24.de>
2021-08-17 17:19:02 -04:00
Alexander Krantz cfd7348e5c
docs: improve redis commands documentation (#9606) 2021-08-17 16:13:43 -05:00
Alexander Krantz eb41218fe0
fix: CrateDB replace dots in tag keys with underscores (#9566) 2021-08-10 17:48:02 -04:00
Alexander Krantz 83bd10b4db
feat: Pull metrics from multiple AWS CloudWatch namespaces (#9386) 2021-08-10 16:47:23 -05:00
Eugene Klimov b1930526f8
fix: improve Clickhouse corner cases for empty recordset in aggregation queries, fix dictionaries behavior (#9401)
Signed-off-by: Eugene Klimov <eklimov@altinity.com>
2021-08-10 17:20:22 -04:00
Marcus Ilgner 7def7e7328
fix(opcua): clean client on disconnect so that connect works cleanly (#9583) 2021-08-10 16:18:04 -05:00
Sebastian Spaink dbc4e269be
fix: Refactor ec2 init for config-api (#9576) 2021-08-09 11:13:20 -05:00
JC e6abb46d87
fix: sort logs by timestamp before writing to Loki (#9571) 2021-08-05 17:32:04 -04:00
Sebastian Spaink fa77d2fb07
fix: muting tests for udp_listener (#9578) 2021-08-05 09:59:51 -06:00
Sven Rebhan 249bcd25d5
fix: Do not return on disconnect to avoid breaking reconnect (#9524) 2021-08-05 09:54:29 -06:00
varunjain0606 16597586f5
fix: Fixing k8s nodes and pods parsing error (#9581) 2021-08-04 17:52:52 -05:00
Jacob Marble bfcd0f6bb1
feat: OpenTelemetry output plugin (#9228) 2021-08-04 16:11:55 -04:00
Alexander Krantz de01d37a36
feat: Support AWS Web Identity Provider (#9411) 2021-08-03 17:29:26 -04:00
Alexander Krantz 9bb274b45a
fix: Normalize unix socket path (#9554) 2021-08-03 17:20:02 -04:00
Jangmin-Lee 0cf37a91bc
docs: fix aws ec2 readme inconsistency (#9567) 2021-08-03 17:12:25 -04:00
Marius Bezuidenhout 1afbff8904
feat: Modbus Rtu over tcp enhancement (#9570) 2021-08-03 17:09:51 -04:00
Sebastian Spaink c9bbb3241c
Update vmware/govmomi to v0.26.0 (#9552) 2021-07-30 15:49:49 -05:00
R290 3633853235
Do not skip good quality nodes after a bad quality node is encountered (#9550) 2021-07-30 16:26:47 -04:00
Helen Weller 9fcd5a5b54
fix test so it hits a fake service (#9564) 2021-07-30 15:14:23 -04:00
Sebastian Spaink 126825d944
Fix procstat plugin README to match sample config (#9553) 2021-07-28 16:22:37 -06:00
Mya 8d2b1e8dc1
Fix metrics reported as written but not actually written (#9526) 2021-07-28 14:55:23 -06:00
Alexander Krantz fdec5f1f31
Prevent segfault in persistent volume claims (#9549) 2021-07-28 14:50:18 -06:00
Sebastian Spaink 5843b27d75
Update procstat to support cgroup globs & include systemd unit children (Copy of #7890) (#9488) 2021-07-27 16:51:56 -05:00
Sven Rebhan 80829b3b5a
Fix attempt to connect to an empty list of servers. (#9503) 2021-07-27 15:39:43 -06:00
Roger Coll Aumatell 837eb31b3f
Suricata alerts (#9322) 2021-07-27 16:31:24 -05:00
Paweł Żak 87c94e4ac3
Linter fixes for plugins/inputs/[fg]* (#9387) 2021-07-27 15:28:26 -06:00
Martin Molnar 1a42c7d289
For Prometheus Input add ability to query Consul Service catalog (#5464) 2021-07-27 17:23:01 -04:00
Hwanjin Jeong f241f91112
Support Landing page on Prometheus landing page (#8641) 2021-07-27 17:17:42 -04:00
bhsu-ms 27b98083f4
Change the timeout from all queries to per query (#9471) 2021-07-27 16:14:49 -05:00
Raphael Yu 51720f3bd7
Attach the pod labels to the `kubernetes_pod_volume` & `kubernetes_pod_network` metrics. (#9438) 2021-07-27 17:13:12 -04:00
Dominik Rosiek 348c18db75
feat(http_listener_v2): allows multiple paths and add path_tag (#9529) 2021-07-27 16:10:50 -05:00
Mya a48e11d0d1
Bug Fix Snmp empty metric name (#9519) 2021-07-27 14:34:35 -06:00
Mark Wilkinson - m82labs 57ecd1d21b
Worktable workfile stats (#8587) 2021-07-26 20:55:03 -05:00
Sven Rebhan 754b7ff4c1
Example input plugin (#9409) 2021-07-26 12:36:09 -05:00
Alexander Krantz 32d4234ae4
Prevent x509_cert from hanging on UDP connection (#9323) 2021-07-22 17:44:36 -07:00
Sebastian Spaink d6b7d4da2c
Simplify how nesting is handled (#9504) 2021-07-22 19:09:01 -05:00
Alexander Krantz cae338814b
Switch MongoDB libraries (#9493) 2021-07-22 14:50:23 -06:00
Daniel Dyla 403ce477c1
[output dynatrace] Initialize loggedMetrics map (#9491) 2021-07-21 10:53:23 -04:00
Imran Ismail 8965291f29
Fix prometheus cadvisor authentication (#9497) 2021-07-20 17:08:29 -04:00
Alexander Krantz 2eb0ee2e1e
Add support for large uint64 and int64 numbers (#9520) 2021-07-19 22:23:12 -05:00
Mya ff8ed37762
fixed percentiles not being able to be ints (#9447) 2021-07-19 08:53:07 -06:00
Jacob Hochstetler 4591c62cfc
Http plugin add cookie auth (#9395) 2021-07-13 15:58:49 -06:00
Minni Walia f57ffa2a9b
Add new output plugin for Azure Data Explorer(ADX) (#9426) 2021-07-13 17:25:24 -04:00
Madhushree Sreenivasa 2267733a04
Provide detailed error message in telegraf log (#9466) 2021-07-13 15:08:41 -06:00
Russ Savage 55a27bb62d
chore: fixing link in influxdb_listener plugin (#9431) 2021-07-09 21:24:44 -05:00
Andre Nathan 59e79fa8d4
Allow multiple keys when parsing cgroups (#8108) 2021-07-08 16:54:22 -04:00
Mat Wood f69b37b759
Adding RFC3164 support to inputs.syslog (#8454) 2021-07-08 14:39:46 -06:00
Sebastian Spaink 1b20680e37
Fix json_v2 parser to handle nested objects in arrays properly (#9479) 2021-07-08 13:05:41 -05:00
reimda 537ac63c68
Sqlserver input: require authentication method to be specified (#9388) 2021-07-07 13:09:52 -06:00
Dmitry Alimov 285cae2b64
Fix typo in perDeviceIncludeDeprecationWarning (#9442) 2021-07-06 17:04:06 -04:00
Alexander Krantz a0ec75a62b
Fix segfault in kube_inventory (#9456) 2021-07-06 13:57:52 -06:00
Alexander Krantz 17e86ab4ca
Add include_nodes filter for jenkins (#9351) 2021-07-01 14:54:53 -06:00
Alexander Krantz e0ac5078bb
Fix Couchbase regression (#9448) 2021-07-01 14:50:35 -06:00
Sven Rebhan 25413b2b6d
XPath parser extension to allow parsing of JSON, MessagePack and Protocol-buffers (#9277) 2021-07-01 16:48:16 -04:00
Niek Bruins 9b22161d92
Fix nil pointer error in knx_listener (#9444) 2021-07-01 14:42:48 -06:00
Sven Rebhan e2ab2188db
Fix RabbitMQ regression in #9383 (#9443) 2021-06-29 16:01:46 -05:00
Sven Rebhan e4bd01e0c7
Exclude read-timeout from being an error (#9429) 2021-06-24 14:50:24 -06:00
Brian Lamar c6c3efdb97
Don't stop parsing after statsd parsing error (#9423) 2021-06-24 14:43:23 -06:00
Russ Savage 314bc0ff7f
chore: readme updates (#9367) 2021-06-23 11:26:13 -05:00
Mya b846c5069d
added a check for oid and name to prevent empty metrics (#9366) 2021-06-22 15:59:02 -05:00
Mya 84a37642d5
fixing insecure_skip_verify (#9413) 2021-06-22 15:56:29 -05:00
Sven Rebhan d63a7010d9
Fix messing up the 'source' tag for https sources. (#9400) 2021-06-22 13:45:03 -05:00
Mya 8638a41724
tags no longer required in included_keys (#9406) 2021-06-22 11:48:29 -05:00
Jarno Huuskonen ac9bf5a0ec
Fix x509_cert input plugin SNI support (#9289) 2021-06-22 11:41:45 -05:00
Leandro Piccilli 81f882a271
Add Elasticsearch query input plugin (#3536) 2021-06-21 16:35:26 -05:00
Jörg Thalheim cf616939f1
kube_inventory: expand tls key/tls certificate documentation (#9357) 2021-06-21 11:56:16 -05:00
Jack Henschel 5f6c37bb86
Adjust link to ceph documentation (#9378) 2021-06-21 10:50:19 -05:00
Paweł Żak 9a794919e3
Linter fixes for plugins/inputs/[de]* (#9379) 2021-06-21 10:07:52 -05:00
Mya 28fbdd8fba
Use gosmi for SNMP traps (#9343)
Use gosmi for snmp_trap plugin

Co-authored-by: Logan McNaughton <logan@bacoosta.com>
Co-authored-by: reimda <reimda@users.noreply.github.com>
2021-06-16 10:20:33 -06:00
Sebastian Spaink daec1040c6
Update json_v2 parser to handle null types (#9368) 2021-06-15 16:50:20 -06:00
Sven Rebhan ee0a86c4ae
Fix import of sqlite and ignore it on all platforms that require CGO. (#9359) 2021-06-15 16:46:53 -06:00
Harkamal Singh cc82c7ccf9
Added support to override metric_url in newrelic output plugin (#9342) 2021-06-15 17:15:31 -04:00
Daniel Dyla 769f582245
Update dynatrace output (#9363)
- export timestamps
- enrich dimensions with OneAgent data
- Add default dimensions feature
2021-06-15 17:13:34 -04:00
Alexander Krantz d7afebf7e6
Fix connecting to the wrong url (#9329) 2021-06-15 16:04:22 -05:00
Sven Rebhan 6cc942fa6e
Fix segfault in processors/parser (#9283) 2021-06-15 13:20:47 -06:00
Sven Rebhan 908ad2f6ce
Generic SQL input (#8735) 2021-06-15 13:10:52 -06:00
Vyacheslav Stepanov 905b22cac9
Closing all idle connections in docker input plugin (#9243)
This prevents error "too many open files" in most cases
2021-06-14 23:23:39 -05:00
Sebastian Spaink 1d4b8d62f5
Support new Suricata JSON format which includes arrays and strings (#9338) 2021-06-14 10:07:36 -05:00
Mya Longmire da7f2c7a93
Bugfix outputs influxdb endless retires (#9296) 2021-06-10 16:05:43 -05:00
Mya Longmire f6a9d104f8
Feature powermode smartctl (#9306)
Co-authored-by: Steven Soroka <ssoroka@influxdata.com>
2021-06-10 15:51:33 -05:00
Sebastian Spaink 885252d388
New JSON Parser (#9246) 2021-06-10 13:22:18 -06:00
Daniel Dyla 298670ae18
Use dynatrace-metric-utils (#9295) 2021-06-08 15:27:39 -06:00
Alexander Emelin 0fd0ae0953
Add WebSocket output plugin (#9188) 2021-06-03 22:53:38 -06:00
reimda e289612ff3
Add SQL output plugin (#9280) 2021-06-03 22:49:55 -06:00
Steven Soroka ee44aee1ca
clarify docs around shim plugin loading 2021-06-03 09:53:15 -04:00
Pascal Zimmermann 3ad40df311
Update pgx to v4 (#9182) 2021-06-02 21:28:16 -06:00
Alexander Krantz db0b6de140
Add HTTP proxy to datadog output (#9297) 2021-06-01 17:18:31 -04:00
Sven Rebhan 2e7b232073
Modbus refactor (#9141) 2021-05-27 16:58:46 -04:00
Russ Savage 467ab87912
chore: update prometheus input readme to match config options (#9270) 2021-05-25 15:11:14 -06:00
Samantha Wang 8eec159871 update HTTP v2 listener readme (#9250) 2021-05-20 16:48:12 -06:00
Chris Dagenais 60bb676730
vSphere input: need to be able to configure the historical interval duration (#9276) 2021-05-20 13:50:40 -07:00
Victor Marinsky 0e55eedd7e
Improve eventhub_consumer input documentation (#8731) 2021-05-20 16:37:01 -04:00
Rajiv Kushwaha 8c73370e50
inputs.ping: Add an option to specify packet size (#9274) 2021-05-20 14:21:20 -05:00
Russ Savage e8ae01921b
Set user agent when scraping prom metrics (#9271) 2021-05-20 08:36:36 -06:00
Greg Linton df47b41668
Allow more characters in graphite tags (#9249) 2021-05-18 12:29:30 -04:00
Giovanni Luisotto ae7d31996b
SQL Server - SQL Requests - added s.[login_name] (#8351) 2021-05-13 23:59:02 -05:00
Erikas 760ad3e366
Update kafka.conf (#9263) 2021-05-13 16:36:46 -04:00
Sebastian Spaink 5330a74fea
Migrate soniah/gosnmp import to gosnmp/gosnmp (#9203) 2021-05-13 15:00:57 -05:00
Helen Weller 940fea9135
fix spelling of receive (#9269) 2021-05-13 15:28:14 -04:00
maxuntr 741e3884e6
Kinesis_consumer input plugin - fix repeating parser error (#9169) 2021-05-11 17:16:58 -04:00
Giovanni Luisotto 8b9883e2ec
SQL Server - sqlServerRingBufferCPU - removed whitespaces (#9130)
### Required for all PRs:

- [ ] Updated associated README.md.
- [ ] Wrote appropriate unit tests.

Removed a pair of whitespace chars from the **sqlServerRingBufferCPU** SQL statement and added some formatting.
This query exists only for the on-prem version of SQL Server (`database_type = "SQLServer"`)

If you were unlucky enough to have some SQL 2008 the query wouldn't work as the whitespace char is not allowed inside the statement.
2021-05-11 16:08:25 -05:00
Tuan Nguyen Huy b56ffdc498
Add ability to enable gzip compression in elasticsearch output (#8913) 2021-05-08 13:17:44 -06:00
Josef Johansson 537bc9d21d
plugins/inputs/dovecot: Add support for unix domain sockets (#9223)
It's safer for dovecot to export metrics via a UDS instead of tcp port,
this will add support for that option.

### Required for all PRs:

<!-- Complete the tasks in the following list. Change [ ] to [x] to
show completion. -->

- [x] Updated associated README.md.
- [x] Wrote appropriate unit tests.

resolves #9215 

dovecot: Add support for unix domain sockets as well
2021-05-04 16:09:55 -05:00
Sebastian Spaink 175cd16f19
Migrate ipvs library from docker/libnetwork/ipvs to moby/ipvs (#9235) 2021-05-04 11:15:47 -05:00
Adam Dobrawy 26e791f1c8 Add docs for docker-compose labels in docker input (#9173) 2021-05-03 16:15:35 -04:00
SomKen 09faa32043
Document using group membership to allow access to /dev/pf for pf input plugin (#9232) 2021-05-03 13:35:04 -06:00
Jacob Marble 6977121aed
OpenTelemetry Input Plugin (#9077) 2021-04-30 10:36:48 -04:00
Logan 370836d436
Add UTF-8 sanitizer to Strings plugin (#9118)
Adds a new option for the Strings processer to sanitize strings so that they conform to utf-8
2021-04-29 19:46:36 -05:00
i-prudnikov e3ae7caaf0
Fix for #9135 (#9156) 2021-04-29 11:06:36 -05:00
David Bennett 79b1ac1f06
Converter processor: add support for large hexadecimal strings (#9160)
* add oauth2 to http input

* reset not included changes

* reset not included changes

* reset not included changes

* add hexadecimal parser changes

* add linter changes

* add documentation note
2021-04-28 12:31:48 -04:00
Paweł Żak ff2992ed21
New DPDK input plugin (#8883) 2021-04-28 09:54:22 -06:00
David Bennett d181b4338f
Fix apcupsd 'ALARMDEL' bug via forked repo (#9195)
* add oauth2 to http input

* switch APC UPSD dependency to forked version with bug fixed.

* fix branch discrepancies

* fix branch discrepancies

* fix branch discrepancies

* fix branch discrepancies

* fork to influxdata repo
2021-04-28 09:43:19 -04:00
Paweł Żak 1fabc5f1fe
Linter fixes for plugins/inputs/[c]* (#9194)
* Linter fixes for plugins/inputs/[c]*

* Linter fixes for plugins/inputs/[c]*

Co-authored-by: Pawel Zak <Pawel Zak>
2021-04-27 20:41:52 -05:00
Sebastian Spaink 5256f916eb
Make microsoft lowercase (#9209) 2021-04-27 17:01:45 -05:00
Helen Weller fe352db590
Remote write compliance updates (#9196) 2021-04-27 11:01:28 -04:00
Paweł Żak e058f3641c
Linter fixes for plugins/inputs/[ab]* (#9191) 2021-04-26 15:57:05 -05:00
David Bennett 8bb388584d
Add OAuth2 to HTTP input (#9138)
* add oauth2 to http input

* linter fixes

* add http config to common plugin

* address linter changes

* Update README.md

* add log for user if fields are missing

* add correct logger

* alter output plugin as well

* fix formatting

* add oauth2 separate package

* fix package naming

* remove unnecessary logger
2021-04-23 09:37:27 -04:00
Sven Rebhan 03b2daeb1b
Linter fixes (unhandled errors) -- Part 2 (#9122) 2021-04-22 16:08:03 -05:00
Nicolas Filotto 4d00e21630
Add time.star and math.star to Starlark readme lib section (#9167) 2021-04-21 12:16:02 -07:00
Avinash Nigam f39d68d1fa
SQL Server input plugin - Enable Azure Active Directory (AAD) authentication support (#8822)
### Required for all PRs:

- [ ] Associated README.md updated.
- [ ] Has appropriate unit tests.

Associated to feature request - [Azure Active Directory (AAD) authentication support in SQL Server input plugin](https://github.com/influxdata/telegraf/issues/8808#issue-801695311)

Co-authored-by: Sven Rebhan <36194019+srebhan@users.noreply.github.com>
2021-04-21 11:02:07 -05:00
Julien Riou 4336dae3b5
Make JSON format compatible with nulls (#9110) 2021-04-20 17:47:14 -04:00
David Bennett e29bca7419
Add Glob / Wildcard support to Cloudwatch input for 'Dimensions' configuration (#9136)
I believe this will resolve #4046
2021-04-20 16:29:58 -05:00
Samantha Wang 243488c266
add starlark current timestamp example 2021-04-20 14:26:15 -07:00
Steven Soroka 1cfe8da93f
clarify pollIntervalDisabled message (#9158)
closes  #9155
2021-04-20 11:24:24 -04:00
David Bennett da5991d16c
Add time.now() starlark processor example test. (#9133) 2021-04-19 11:14:53 -04:00
Gennady e5b7a094da
Gather all mysql channels (#5517) 2021-04-14 14:13:32 -05:00
Wilfried OLLIVIER 1fa9259392
Fix: sync nfsclient ops map with nfsclient struct (#9128) 2021-04-14 13:43:07 -05:00
Helen Weller 91690803d6
Add custom docker image info to nvidia plugin (#9124) 2021-04-14 09:48:56 -04:00
Thomas Casteleyn 4b2e2c5263
Log snmpv3 auth failures (#8917) 2021-04-13 17:46:34 -04:00
Tuan Nguyen Huy 7cbde183de
Support float64 in enum processor (#8911) 2021-04-13 17:31:07 -04:00
Dominic Tootell f3229f5ec1
Change to NewStreamParser to accept larger inputs from scanner (#8892)
* change to NewStreamParser to accept larger inputs from scanner

* fmt changes
2021-04-13 17:13:46 -04:00
Pontus Rydin 5f26582582
Added MetricLookback setting (#9045)
* Added MetricLookback setting

* Fixed go mod issue
2021-04-13 16:07:54 -05:00
Helen Weller 66e12e062d
remove deprecation warning (#9125) 2021-04-13 16:13:06 -04:00
David Bennett 842a788022
Remove error return type from metric.New method (#9116)
* Remove error return type from metric.New method.

* Formatting changes for linter + gofmt

* Additional linter fixes.

* More linter fixes.

* Linter fix.

* address comments
2021-04-13 14:40:03 -04:00
Samantha Wang 411df7d763
update promremotewrite readme
make influxdb 1.x alignment a header
2021-04-13 08:04:10 -07:00
R290 114e4c2f68
Fix opcua integration test (#9107) 2021-04-09 14:23:32 -04:00
Sven Rebhan 9853bf6c54
Get rid of deprecated internal.{Duration,Size,Number} (#8969) 2021-04-09 13:15:04 -04:00
Nicolas Filotto c66ccee46f
Allow to specify nanoseconds to timestamp in Starlark Processor (#9105) 2021-04-08 14:02:29 -04:00
Sven Rebhan 8e7da355b3
Linter fixes (unhandled errors) -- Part 1 (#8992) 2021-04-08 11:43:39 -05:00
Patryk Małek 2b41a1e1f4
Carbon2 serializer: sanitize metric name (#9026) 2021-04-08 10:31:31 -04:00
David Bennett 14f428d2fd
Add ability to handle 'binary logs' mySQL query with 3 columns, in case 3 columns are sent (MySQL 8 and greater) (#9082)
* Add ability to handle 'binary logs' mySQL query with 3 columns, in case 3 columns are sent (MySQL 8 and greater)

* Update mysql.go

* Update mysql.go
2021-04-06 17:45:36 -04:00
David Bennett ef2def20dc
Delete log.Fatal calls and replace with error returns. (#9086)
* Delete log.Fatal calls and replace with error returns.

* Update opcua_util.go

* Update opcua_util.go
2021-04-06 17:35:54 -04:00
David Bennett 868befcb5f
Add support for Logstash 7 'queue' stats from the Pipelines API (#9080)
* LAdd support for logstash 7 'queue' stats for its pipelines stats API

* appease the linter

* Update samples_logstash7.go
2021-04-06 17:33:35 -04:00
Helen Weller 885bf273a9
Starlark script for renaming prometheus remote write metrics (#9074) 2021-03-31 15:08:34 -04:00
David Bennett 78d67ba87b
Add configurable option for the 'path' tag override in the Tail plugin. (#9069)
* Add configurable option for the 'path' tag override in the Tail plugin.

* get test cases to pass

* update default config

* convert to configurable string field
2021-03-31 12:06:13 -04:00
Sebastian Spaink 071fef78ef
inputs.nfsclient: use uint64, also update error handling (#9067)
* Use uint64
Fix error handling

* update comment

* More detail to error
2021-03-30 21:43:08 -05:00
Thomas Casteleyn 66c639668c
Fix inputs.snmp init when no mibs installed (#9050) 2021-03-30 13:08:14 -06:00
Sebastian Spaink 7d665904fc
inputs.ping: Always SetPrivileged(true) in native mode (#9072)
* Always SetPrivileged(true)

* Improve error message
2021-03-30 13:08:54 -05:00
David Bennett 470628e5db
Add ~200 more Couchbase metrics via Buckets endpoint (#9032)
* Couchbase new metrics for buckets

* updated

* update to simplify two different modes.

* cleanup code

* linter telling me to fix things I didn't do

* add include/exclude filter

* update sample config

* appease the linter

* Update README.md

* make all metrics configurable, defaults as just 'basic bucket metrics'

* check error in test
2021-03-30 11:17:58 -04:00
Thomas Casteleyn ffe92a7658
Don't walk the entire interface table to just retrieve one field (#9043) 2021-03-29 17:05:19 -06:00
Mattias Jiderhamn 871447b22c
input/sqlserver: Add service and save connection pools (#8596) 2021-03-29 11:22:36 -04:00
Steven Soroka e6165ecd18
readme fix (#9064)
closes #9060
2021-03-29 10:40:28 -04:00
peter-volkov 61ea585533
use correct compute metadata url to get folder-id (#9056) 2021-03-26 13:27:53 -04:00
i-prudnikov fdde9084c1
AWS Cloudwatch log output (#8639)
* Cloudwatch log output

* Fixes based on @sspaink review

* Make linter happy

* iMake LGTM happy, add new tests
2021-03-26 11:02:42 -05:00
Helen Weller 565336280a
moved samara config out of init into connect (#9051) 2021-03-25 18:06:03 -04:00
Samantha Wang f26084acf1
add xpath testers to xml readme (#9049)
* add xpath testers to xml readme

* fix linking
2021-03-25 13:15:33 -07:00
Paweł Żak 099ccda3f9
Linter fixes - gosimple (#9046) 2021-03-25 13:57:01 -04:00
Patryk Małek e96955d1bb
Bump prometheus dependency to v2.21.0 (#8795)
* Bump prometheus dependency to v2.21.0

* Make golangci-lint happy
2021-03-25 11:18:50 -05:00
David Bennett e4bbcc447d
Handle error when initializing the auth object in Azure Monitor output plugin. (#9048) 2021-03-25 09:20:41 -04:00
Samantha Wang 5423e7a049
update: inputs.sqlserver support version in readme (#9040) 2021-03-24 13:42:58 -07:00
Nicolas Filotto 991efd5e12
Add the math module to the Starlark Processor (#9042) 2021-03-24 14:51:15 -04:00
Jeff Ashton 8564d928df
Simplifying the kinesis output tests (#8970) 2021-03-24 14:29:22 -04:00
Sebastian Spaink 29ac77906d
Change duplicate kubernetes import and update protobuf to v1.5.1 (#9039)
* Change import and update protobuf

* fix check-deps

* go mod tidy

* keep imports consistent
2021-03-24 10:59:05 -05:00
Paweł Żak 5de640b855
Linter fixes - unconvert, revive:empty-lines, revive:var-naming, revive:unused-parameter (#9036)
Co-authored-by: Pawel Zak <Pawel Zak>
2021-03-24 11:27:46 -04:00
Cláudio Silva 9aaaf72a96
SQLServer - Fixes sqlserver_process_cpu calculation (#8549) 2021-03-23 17:45:27 -04:00
jaroug b2b361356e
Wildcard support for x509_cert files (#6952)
* Accept standard unix glob matching rules

* comply with indentation

* update readme

* move globing expand and url parsing into Init()

* chore: rebase branch on upstream master

* rename refreshFilePaths to expandFilePaths
* expandFilePaths handles '/path/to/*.pem' and 'files:///path/to/*.pem'
* update sample config

* fix: recompile files globing pattern at every gather tic

 * add var globFilePathsToUrls to stack files path
 * add var globpaths to stack compiled globpath
 * rework sourcesToURLs to compile files path and stack them
 * rename expandFilePaths to expandFilePathsToUrls
 * rework expandFilePathsToUrls to only match compiled globpath
 * rework the `Gather` ticker to match globpath at each call

* fix: comply with requested changes

 * add specifics regarding relative paths in sample config
 * add logger and use it in expandFilePathsToUrls()
 * precompile glob for `files://`, `/` and `://`

* fix: update README to match last changes

* fix: comply with last requested changes

 * rename expandFilePathsToUrls() to collectCertURLs()
 * collectCertURLs() now returns []*url.URL to avoid extra field
globFilePathsToUrls in structure
 * update the Gather() ticker accordingly

* fix(windows): do not try to compile glopath for windows path as it's not supposed to be supported by the OS

* fix(ci): apply go fmt

* fix(ci): empty-lines/import-shadowing

Co-authored-by: Anthony LE BERRE <aleberre@vente-privee.com>
2021-03-23 17:31:15 -04:00
Nicolas Filotto f267f342ae
Add support of the time module in Starlark Processor (#9004) 2021-03-23 13:45:29 -04:00
Helen Weller f4a51a4c33
Fix ipmi panic (#9035) 2021-03-23 10:09:51 -04:00
Aladex dc8e4ef62e
check for length of perusage for stat gathering and removed not used function (#9009) 2021-03-22 15:01:25 -04:00
Paweł Żak 74a1acd814
Linter fixes - revive:unused-parameter, unparam, varcheck and unused (#8984)
* Linter fixes - revive:unused-parameter and unparam

* Linter fixes - revive:unused-parameter and unparam

* Linter fixes - revive:unused-parameter and unparam

* "nolint"'s removed

* Fixes for "varcheck" and "unused" added.

* Fixes for "varcheck" and "unused" added.

* Fixes for "varcheck" and "unused" added.

* Fixes for "varcheck" and "unused" added.

* Fixes for "varcheck" and "unused" added.

* Fixes for "varcheck" and "unused" added.

* Fixes for "varcheck" and "unused" added.

Co-authored-by: Pawel Zak <Pawel Zak>
2021-03-22 12:21:36 -05:00
Kodai Sakabe 30c933cd68
Update README.md (#9016) 2021-03-18 16:42:06 -05:00
Steven Soroka 4dcc3c0ad7
exec plugins should not truncate messages in debug mode (#8333) 2021-03-18 17:21:30 -04:00
Dominic Tootell 30830c2ec2
Add content_encoding option to kinesis_consumer input (#8891) 2021-03-18 14:43:39 -06:00
Samantha Wang d5f79093f4
update bigquery readme (#9017) 2021-03-18 12:30:24 -07:00
Peter (Stig) Edwards 67e8d766c5
Add a starlark example showing how to obtain IOPS (#8996) 2021-03-18 11:39:29 -04:00
Helen Weller 67f588cbce
New prometheus remote write parser (#8967) 2021-03-18 11:33:58 -04:00
Helen Weller cc6c51cf16
Adds snappy support for http_listener_v2 (#8966) 2021-03-18 11:33:14 -04:00
Sven Rebhan 1eb47e245c
Add input plugin for KNX home automation bus (#7048) 2021-03-18 08:39:44 -06:00
Sebastian Spaink 79f5803444
Migrate from github.com/ericchiang/k8s to github.com/kubernetes/client-go (#8937)
* new k8 client

* Make all tests pass

* Update licenses

* add timeout back

* Resolve merge conflicts

* Fix tests and linter

* Fix linter errors

* Linting issues

* Extra empty line

Co-authored-by: Bas <3441183+BattleBas@users.noreply.github.com>
2021-03-17 16:35:25 -05:00
Felix Moessbauer 927612a0a7
fix segfaults in sflow plugin by checking if protocol headers are set (#8995) 2021-03-17 15:42:35 -04:00
Shangxin Du f5552944d1
cisco_telemetry_mdt enhancement (#8661) 2021-03-16 17:49:07 -04:00
Denis Pershin 8a47d6f104
Add top stat info to mongodb plugin (#8861)
* Add top stat info

* fixes after review

* fix README.md
2021-03-16 15:54:57 -05:00
Josh Keegan c4a126073c
Teamspeak input plugin query clients (#8950)
* Add query_clients_online to the teamspeak input plugin

* Update readme for teamspeak input plugin following introduction of new query_clients_online field
2021-03-16 15:48:19 -05:00
Sven Rebhan 808b7c1ba5
Improve xml parser's handling of missing values (#8971) 2021-03-16 16:15:18 -04:00
Daniel Moran 1b09a9f3dc
chore: remove references to outdated InfluxDB settings. (#8754) 2021-03-16 16:02:59 -04:00
Rene Kaufmann 4e9bc06eb2
nats_output: use the configured credentials file (#8986) 2021-03-15 11:09:10 -05:00
Paweł Żak 38c61c07ef
Revive fixes - part 4: (#8981)
empty-lines

Co-authored-by: Pawel Zak <Pawel Zak>
2021-03-12 14:21:51 -06:00
gkatzioura 5085f595ac
Bigquery output Plugin (#8634) 2021-03-12 12:16:45 -05:00
David Bennett c905116ade
Add 'field name' config option to customize field name when using Value parser. (#8979) 2021-03-11 21:53:32 -05:00
Steven Soroka b263c1fedf
accurate state documentation for Starlark 2021-03-11 16:35:26 -05:00
helenosheaa 94d441c488 Merge branch 'master' of github.com:influxdata/telegraf 2021-03-11 16:21:03 -05:00
helenosheaa ba8452d61d resolved conflicts 2021-03-11 16:19:23 -05:00
Connor Quagliana 30e189df16
Add an optional health metric for the sqlserver input plugin (#8544) 2021-03-11 16:07:38 -05:00
Madhushree Sreenivasa 35b75e959c
Filter data out from system databases for Azure SQL DB only (#8849)
* Excluding data from system databases like msdb,model which are not
relevant for monitoring in Azure SQL

Please enter the commit message for your changes. Lines starting

* Addressing review comments to handle null scenarios
2021-03-11 15:04:09 -06:00
Steven Soroka 7726f94621 fix ping tests 2021-03-10 16:55:59 -05:00
Steven Soroka 7651651867 add more logging to ping plugin 2021-03-10 12:11:19 -05:00
Jeff Ashton 06e97756c8
Writing unit tests for Kinesis output plugin Write method (#8930) 2021-03-10 11:39:09 -05:00
Todd Campbell ed468f4aa7
Fix output name to match directory name for sensu output plugin (#8960)
Signed-off-by: Todd Campbell <todd@sensu.io>
2021-03-09 14:39:57 -08:00
Samantha Wang 60e86a914b
New plugins readme cleanup (#8956)
* New plugins readme cleanup

* update signalfx output readme
2021-03-09 12:21:46 -08:00
Sam Dillard 380911ffb3
Add Starlark parsing example of nested JSON (#8675)
* Add Starlark parsing example of nested JSON

* add correct Example Input and Output fields to make script testable

* removed logging from script

* remove logging.star load statement
2021-03-09 10:24:57 -06:00
Sebastian Spaink 3af16aa885
Support Go version 1.16 (#8882)
* Support 1.16

* Use 1.16 in mod file

* update go.sum

* update go.mod after updating to 1.16 locally

* Fix go vet

* Remove exit

* Use require.NoError

* Only run tidy explicitly in "dep" job

* install 1.16 for go

* typo

* update xcode

* specific version not working

* Get 1.16 go formula

* Change brew call

* brew update

* typo

* Resolve go.sum conflict

* go mod tidy
2021-03-08 16:29:11 -06:00
Samantha Wang 188163c1e7
NFS Client input plugin README cleanup (#8943)
* NFS Client input plugin README cleanup

* reorder
2021-03-08 09:52:57 -08:00
Helen Weller 372004a993
Fix max open requests to one if idempotent writes is set to true (#8954) 2021-03-08 11:38:35 -05:00
Grace Wehner d7df2c546b
Prometheus [Input] plugin - Optimizing for bigger kubernetes clusters (500+ pods) when scraping thru 'monitor_kubernetes_pods' (#8762) 2021-03-08 11:00:56 -05:00
Paul Choi aabec054a7
Set $HOSTIP in default URL (#8721)
Telegraf daemonset pod cannot contact kube-apiserver via localhost.
Should be `$HOSTIP`, and the default port is 6443.

Co-authored-by: Paul Choi <pchoi@apple.com>
2021-03-05 11:30:45 -06:00
Peter (Stig) Edwards 1b7f445ee5
Correct Q+A about state (#8918) 2021-03-05 10:25:45 -05:00
Sam Dillard 858bcd4bba
Add field key length output by field type in schema_sizing Starlark script (#8934) 2021-03-05 10:20:24 -05:00
Pmoranga 74d4836c25
Nfsclient input: (Reopen of PR 1491 and 1684) (#4615) 2021-03-05 09:56:28 -05:00
Russ Savage 9e45322661
chore: update docs link in influxdbv2listener (#8939)
* chore: update docs link in influxdbv2listener

* chore: one more update to use latest
2021-03-04 16:02:12 -06:00
Russ Savage 9b3bd86d6d
fix: Beat readme title (#8938) 2021-03-04 16:01:43 -06:00
David Bennett cfc5300ee2
Get Tail tests to pass on windows (#8927)
* fix tests

* Update tail_test.go
2021-03-04 14:37:57 -05:00
Russ Savage d85a3637d5
chore: update csgo readme title (#8933) 2021-03-04 11:28:05 -05:00
reimda 431d06acc0
Add XML parser using XPath queries (#8931) 2021-03-03 13:26:09 -07:00
Paweł Żak 17efd172b7
Clearing LGTM alerts and warnings (#8923) 2021-03-03 14:56:31 -05:00
Marcin Lewandowski 5e3d7b8a16
Input plugin for RavenDB (#8834) 2021-03-03 14:37:06 -05:00
Karsten Schnitter 927d34f66c
Add Derivative Aggregator Plugin (#3762)
Calculate derivatives based on time or fields.
2021-03-03 14:33:21 -05:00
oofdog ee09a39de5
Add CSGO SRCDS input plugin (#8525) 2021-03-03 14:05:14 -05:00
Andrés Álvarez 786dca2d5e
[plugins/input/docker] Make perdevice affect also cpu and add class granularity through perdevice_include/total_include (#7312) 2021-03-03 14:02:04 -05:00
Caleb Hailey cc61251cc9
Sensu Go Output Plugin for Telegraf (#8398) 2021-03-03 13:56:42 -05:00
Jeff Ashton d50a52ff2f
Switching kinesis output plugin to use telegraf.Logger (#8929) 2021-03-03 09:49:05 -05:00
reimda 851136f16c
Add PPID field to procstat input plugin (#8887) 2021-03-02 21:42:06 -07:00
David Bennett 600816826d
Adding a new directory monitor input plugin. (#8751) 2021-03-02 17:30:59 -05:00
Sam Dillard 30a0fd04cd
Add Starlark script for estimating Line Protocol cardinality (#8852) 2021-03-02 16:55:27 -05:00
Thomas Schuetz 15d45ec0bf
Dynatrace Plugin: Make conversion to counters possible / Changed large bulk handling (#8397) 2021-03-02 15:55:38 -05:00
Labesse Kévin c17cc8cabb
plugin: output loki (#8450) 2021-03-02 15:48:48 -05:00
Avinash Nigam cf9ae34d03
SqlServer - fix for default server list (#8655) 2021-03-02 14:55:28 -05:00
Jason Kim (Jun Chul Kim) 9075ae5175
Add MessagePack output data format (#8828) 2021-03-02 14:48:58 -05:00
Patrick Koenig 6bc731be92
Use consistent container name in docker input plugin (#8703) 2021-03-02 14:19:08 -05:00
Paweł Żak 8a6907a186
Revive fixes - part 3 (#8872)
* * Revive fixes regarding following set of rules: [rule.var-naming]
2021-03-01 16:04:35 -05:00
Jeff Ashton a65a3052a9
outputs.kinesis - log record error count (#8817) 2021-03-01 10:56:17 -05:00
Avinash Nigam b362ee4665
Bug Fix - SQL Server HADR queries for SQL Versions (#8833) 2021-02-26 13:59:29 -05:00
David Bennett accf91305f
add proxy (#8915) 2021-02-26 13:58:28 -05:00
Antonio Garcia 7ed98c7e5c
fix: reading multiple holding registers in modbus input plugin (#8628) 2021-02-26 11:45:33 -05:00
Niels Huylebroeck e1a896ca12
Non systemd support with unittest (#8785) 2021-02-26 10:42:46 -05:00
David Bennett 25aa0eeb21
Fix statsd concurrency bug (#8885)
* Fix the issue

* Remove test I was using for replication

* Accidentally removed test.

* Add lock only where it is necessary.

* eliminate unnecessary space
2021-02-25 17:17:46 -05:00
Ben Keith 2cf4b751be
SignalFx Output (#6714)
* [outputs.signalfx] Add output plugin for SignalFX

This output plugin converts the `telegraf.Metrics` into signalfx
`datapoint`s and then transmits them to the ingest servers using
signalfx golang client lib.

As of this commit, the client lib is allowed to pick sane defaults
and none of its fields are overridable via telegraf config. This
can be changed in the future if needed.

The unit tests only test for conversion of `telegraf.Metric`s to
the `datapoint` structs. All code that executes after that is
assumed to be tested in the signalfx client lib itself (and not
worth writing end-to-end tests for).

Further enhancements:

 - Custom ingest urls
 - Better batching
 - More extensive tests
 - Support for events, sent by whitelist only

Co-authored-by: Ben Keith <benkeith@splunk.com>
Co-authored-by: Akshay <akshay.moghe@gmail.com>
Co-authored-by: Jay Camp <jcamp@splunk.com>
2021-02-25 15:30:01 -05:00
Thomas Casteleyn 47e12d1981
Support more snmpv3 authentication protocols (#8850) 2021-02-24 11:44:53 -07:00
Avinash Nigam 2372db9028
SQL Perfmon counters - synced queries from v2 to all db types (#8393) 2021-02-19 15:59:26 -05:00
reimda 4d61935dec
Fix mutex locking around ifname cache (#8873) 2021-02-19 11:31:25 -07:00
Sven Rebhan b6b5d34060
Add quantile aggregator plugin (#8594) 2021-02-17 15:22:33 -07:00
Andreas Fuchs b991aab75d
plugins/filestat: Skip missing files (#7316) 2021-02-17 15:50:25 -05:00
sarvanikonda 458f9d1e47
added member_id as tag(as it is a unique value) for redfish plugin and added address of the server when the status is other than 200 for better debugging (#8813) 2021-02-17 11:17:13 -05:00
Paweł Żak d9736d543f
Revive fixes - part 2 (#8835)
* Revive fixes regarding following set of rules:
[rule.if-return]
[rule.increment-decrement]
[rule.var-declaration]
[rule.package-comments]
[rule.receiver-naming]
[rule.unexported-return]
2021-02-16 18:19:50 -05:00
Sebastian Spaink 71be90d992
Support exclamation mark to create non-matching list in tail plugin (#8613)
* Replace exclamation mark with caret

* Update README and use table driven tests

* Use ReplaceAll instead

* Use doublestar package instead to glob filepath

* Add license

* Fix order of dependencies

* Doc improvement, maybe better then str replace?

* Forgot to remove nil from test

* Use regex instead of library

* Revert unnecessary change

* Go back to using library
replace string twice to handle edge case
2021-02-16 15:53:50 -06:00
Sreejith Pp f888136333
Add support for datadog distributions metric (#8179)
* Add support for datadog distributions in statsd

* Parse metric distribution correctly

* Add tests to check distributions are parsed correctly

* Update Statsd plugin Readme with details about Distributions metric

* Refactor metric distribution initialization code

* Update distribution metric interface to replace fields with value

* Refactor statsd distribution metric test code

* Fix go formatting errors

* Add tests to parse only when DataDog Distributions config is enabled

* Add config to enable parsing DataDog Statsd Distributions

* Document use of datadog_distributions config in Readme
2021-02-16 11:50:01 -06:00
Arnaud Lefebvre f09e551cbd
outputs/warp10: url encode comma in tags value (#8657) 2021-02-16 12:15:48 -05:00
viperstars fe16d56a3e
inputs.x509_cert: Fix timeout issue (#8824)
* reproduce timeout issue #8809

* fix timeout issue #8809

* set default timeout to 5s

* closes #8809

Co-authored-by: 彭浩 <penghao@qiyi.com>
2021-02-16 12:11:53 -05:00
Helen Weller f3a208ee28
Fix reconnection issues mqtt (#8821) 2021-02-11 11:45:13 -05:00
David Bennett c25ae5295b
Validate the response from InfluxDB after writing/creating a database to avoid json parsing panics/errors (#8775)
* Validate the response from InfluxDB after writing/creating a database to avoid json parsing panics.

* Testing windows signing - ignore

* Update config.yml

* adding signing to workflow - test

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* revert circleci test changes

* Various updates
2021-02-10 14:45:07 -05:00
Johannes Deger 198bcc8f36
Expose v4/v6-only connection-schemes through GosnmpWrapper (#8804) 2021-02-10 09:28:37 -07:00
Sebastian Spaink aa6dc79fc6
Sort and timeout is deadline (#8839) 2021-02-09 10:50:57 -06:00
Paweł Żak ba66d4facb
Revive fixes - part 1 (#8797)
* Revive fixes regarding following set of rules:
[rule.blank-imports]
[rule.context-as-argument]
[rule.context-keys-type]
[rule.dot-imports]
[rule.error-return]
[rule.error-strings]
[rule.indent-error-flow]
[rule.errorf]
2021-02-08 11:18:40 -05:00
Sebastian Spaink 90392e16d1
Update README for inputs.ping with correct cmd for native ping on Linux (#8787)
* Update readme  to enable native ping

* Provide more information on the numbers being set

* reference for ping_group_range already exists
2021-02-08 09:36:23 -06:00
Patryk Małek 7e78a08eba
AWS EC2 metadata processor Using StreamingProcessor (#8707) 2021-02-04 17:02:27 -05:00
Nicolas Filotto 8ddbab47a4
Allow to provide constants to a starlark script (#8772) 2021-02-01 14:34:44 -05:00
Mike Summers c43de16bce
Add HTTP proxy setting to New Relic output plugin (#8749) 2021-02-01 12:54:42 -05:00
Sebastian Spaink 244178e5ca
Set interface for native (#8770)
Support both name and IP
2021-01-28 11:30:00 -06:00
Sebastian Spaink 03fe914c59
Resolve regression, re-add missing function (#8764) 2021-01-28 10:54:29 -05:00
Steven Soroka 9c7cf99fa7
[outputs.influxdb_v2] add exponential backoff, and respect client error responses (#8662)
* [outputs.influxdb_v2] add exponential backoff, and respect client error responses

* add test

* Update to 60 seconds

* fix test
2021-01-27 16:07:42 -05:00
Steven Soroka 52aaadfd79
Fix issue with elasticsearch output being really noisy about some errors (#8748) 2021-01-27 16:01:06 -05:00
Shawn Guo 5c4c0e1494
improve mntr regex to match user specific keys. (#7533)
* improve mntr regex to match user specific keys.

* Update plugins/inputs/zookeeper/zookeeper.go

Co-authored-by: Sven Rebhan <36194019+srebhan@users.noreply.github.com>

Co-authored-by: guoxu <guoxu@chinatelecom.cn>
Co-authored-by: Sven Rebhan <36194019+srebhan@users.noreply.github.com>
2021-01-27 15:39:28 -05:00
omgold 8707a2d847
Fix crash in lustre2 input plugin, when field name and value (#7967)
are not separated by whitespace, which happens when numbers grow large (#7966)

Co-authored-by: Oliver Mangold <o.mangold@gmail.com>
2021-01-27 15:36:29 -05:00
Sebastian Spaink c237989631
Use go-ping for "native" execution in Ping plugin (#8679)
* Use go-ping for "native" execution in Ping plugin

* Check for ipv6 and deadline out of go func

* ensure dns failure

* Move interval and timeout calc to init
Removed dns failure check, 3rd parties libary responsibility

* Rename timeout to avoid conflict

* Move native ping to interface
Update tests

* Check for zero length
2021-01-26 16:02:43 -06:00
Helen Weller d41569caed
Integration test audit (#8725) 2021-01-26 11:06:12 -07:00
viperstars eda1dbc4dc
fix x509 cert timeout issue (#8741) 2021-01-26 13:02:23 -05:00
A. Binzxxxxxx 358633bc4d
Add setting to enable caching in ipmitool (#8335) 2021-01-21 16:14:21 -07:00
Adrian Thurston 4462b172f3
fix: remove ambiguity on '\v' from line-protocol parser (#8720) 2021-01-20 18:33:59 -05:00
Dae-Ho Kim 54422f4f1d
add kafka connect example to jolokia2 input (#8709)
* feat: add kafka connect example to jolokia2 input

* docs: add kafka connect example link

* chore: polishing
2021-01-19 20:45:24 -06:00
Samantha Wang 6ed1431348
update readme: prometheus remote write (#8683) 2021-01-15 10:16:37 -08:00
Helen Weller 76c2201bbe
Fix Redis output field type inconsistencies (#8678) 2021-01-14 11:47:00 -05:00
David Bennett fbd54e84a2
GNMI plugin should not take off the first character of field keys when no 'alias path' exists. (#8659)
* GNMI plugin should not take off the first character of field keys when no 'alias path' exists.

* fix test method name

* fix test file formatting

* fix test file formatting

* Remove my unnecessary failing test
2021-01-13 15:48:21 -05:00