Commit Graph

4300 Commits

Author SHA1 Message Date
Sven Rebhan 177ce5eea3
feat(inputs.mysql): add secret-store support (#12591) 2023-02-01 16:09:58 -07:00
Paweł Żak e84bc0c590
chore: clean up import shadowing issues (#12588) 2023-02-01 11:21:38 -07:00
Sven Rebhan e6de0cc9c2
chore(internal.gzip): cleanup CompressWithGzip (#12587) 2023-02-01 11:20:11 -07:00
Jacob Marble e1db44c3b2
chore(inputs.opentelemetry): Update OpenTelemetry input plugin (#12561) 2023-02-01 17:58:43 +01:00
Jacob Marble a5cf3cccef
chore(deps): update gopsutil dependency from 3.22.9 to 3.22.12 (#12580) 2023-01-31 13:28:23 -07:00
Sven Rebhan 6f33711c38
chore(inputs.x509_cert): fix linter warning (#12577) 2023-01-31 12:05:05 -07:00
Sven Rebhan e6655d534e
fix(inputs.mysql): avoid side-effects for TLS between plugin instances (#12576) 2023-01-31 11:29:45 -07:00
Joshua Powers f82f2fdb16
fix(inputs.upsd): Add additional fields (#12543) 2023-01-31 10:41:58 +01:00
Joshua Powers b20e490031
fix(outputs.prometheus_client): Expire with ticker, not add/collect (#12560) 2023-01-31 10:38:10 +01:00
Viraj Sinha e96a49ea83
fix(inputs.opcua): fix opcua and opcua-listener for servers using password-based auth (#12529) 2023-01-30 08:14:58 -07:00
Pascal Zimmermann dc9eb02301
fix(inputs.prometheus): Set the timeout for slow running API endpoints correctly (#12559) 2023-01-30 15:52:54 +01:00
Sven Rebhan 2529d5fa16
feat(inputs.win_perf_counters): add remote system support (#12556) 2023-01-27 10:22:25 -07:00
Joshua Powers d3e1f95b87
feat(inputs.gnmi): Set max gRPC message size (#12495) 2023-01-27 10:11:29 +01:00
Sven Rebhan eb03bb5599
fix(inputs.exec): restore pre-v1.21 behavior for CSV data_format (#12533) 2023-01-26 13:51:39 -07:00
deweter 7e87a25123
fix(inputs.sqlserver): Suppress error on secondary replicas (#12528) 2023-01-26 06:52:15 -07:00
Paweł Żak 00347033ab
chore: Fix linter findings for nolintlint (part2) (#12430)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-01-26 11:27:32 +01:00
Tomas Barton d3809956a4
feat(inputs.icinga2): Support collecting hosts,services and endpoint metrics (#12506) 2023-01-26 11:16:35 +01:00
Joshua Powers 4b445f6a26
fix(inputs.upsd): Always convert to float (#12516) 2023-01-26 10:57:23 +01:00
Paweł Żak d9d9cd4c0b
chore: fix linter findings for nolintlint part 1 (#12427) 2023-01-25 13:28:13 -07:00
Ben Tasker bd77a425ba
docs(outputs.elasticsearch): detail overriding timezone (#12551) 2023-01-25 13:16:55 -07:00
Joshua Powers c030e31aed
docs(outputs.mqtt): update readme to match sample config (#12552) 2023-01-25 13:11:31 -07:00
Sven Rebhan f5c2c4abf0
feat(secretstores): convert many output plugins (#12497) 2023-01-25 13:02:29 -07:00
Severin Dellsperger 607bfdbc97
feat(inputs.cisco_telemetry_mdt): include delete field (#12345) 2023-01-25 12:17:47 -07:00
andoks dc89a0401c
docs(outputs.mqtt): fix incorrect use of brackets (#12539) 2023-01-25 09:03:46 -07:00
Joshua Powers c73bf332c3
fix(inputs.logstash): Collect opensearch specific stats (#12536) 2023-01-25 10:38:18 +01:00
Maxim Ivanov 51f23d244e
fix(inputs.prometheus): correctly track deleted pods (#12522) 2023-01-23 08:13:51 -07:00
Sven Rebhan 410226051d
feat(inputs.dns_query): Add IP field(s) (#12519) 2023-01-20 16:40:43 +01:00
Paweł Żak 65b23f112e
feat(intel_powerstat): Add CPU base frequency metric and add support for new platforms (#12452) 2023-01-18 14:10:00 +01:00
Joshua Powers f08cac618c
fix(common.cookie): Allow any 2xx status code (#12515) 2023-01-18 11:19:19 +01:00
Joshua Powers 5cc626f161
feat(inputs.redfish): Add power control metric (#12496) 2023-01-18 11:07:52 +01:00
Nick Berardi aa4e01afaf
feat(inputs.openweathermap): Add snow parameter (#12466) 2023-01-18 11:06:21 +01:00
Sebastian Machuca 74ed28938a
feat(outputs.mqtt): enhance routing capabilities (#12224) 2023-01-17 11:45:45 -07:00
Joshua Powers a586101d84
test(inputs.snmp): Use random port (#12464) 2023-01-12 18:30:04 +01:00
Thomas Casteleyn 61523bd4b9
feat(tools/readme_linter): Check for global configuration section (#12426) 2023-01-12 16:55:21 +01:00
Joshua Powers b6b0b80b9a
fix(inputs.upsd): Ensure firmware is always a string (#12486) 2023-01-12 16:51:01 +01:00
Joshua Powers 6f323eea64
docs(inputs.influxdb): Collect v2 with prometheus plugin (#12492) 2023-01-12 16:36:26 +01:00
Joshua Powers 40aa899fa8
feat(inputs.influxdb): Collect uptime statistics (#12493) 2023-01-12 16:34:48 +01:00
dd-accedian 5174fb1e94
fix(inputs.cisco_telemetry_mdt): add operation-metric and class-policy prefix (#12240) 2023-01-12 08:30:38 -07:00
Martin Haaß 82ec689630
fix(json_v2): In case of invalid json, log messsage to debug log (#12440) 2023-01-12 16:16:06 +01:00
Joshua Powers cbb7484eef
docs(secretstores): document systemd-nspawn requirement (#12494) 2023-01-12 06:26:06 -07:00
Thomas Casteleyn 82bf8497f1
docs(inputs.example): correctly set syntax highlighting and section name (#12471) 2023-01-10 06:46:17 -07:00
Sven Rebhan b543efdcfc
docs(inputs.socketstat): fix wrong TOML option name. (#12482) 2023-01-10 06:45:21 -07:00
Sven Rebhan 7b5b342432
fix(inputs.win_eventlog): Handle remote events more robustly. (#12375) 2023-01-10 11:06:58 +01:00
Gianluca Sartori d476018705
fix(inputs.sqlserver): add more precise version check (#12384) 2023-01-09 13:20:59 -07:00
Paweł Żak 5e96009048
chore(stackdriver): Fix deprecated monitoringpb (#12424)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-01-09 20:52:53 +01:00
Sven Rebhan 150f0cd3a7
feat(inputs.modbus): add workaround to enforce reads from zero for coil registers (#12408) 2023-01-09 12:35:46 -07:00
Sven Rebhan 11228ee8ad
fix(inputs.gnmi): update configuration documentation (#12415) 2023-01-09 12:35:13 -07:00
Sven Rebhan 63ab159481
feat(secretstores): add support for additional input plugins (#12067) 2023-01-09 09:17:23 -07:00
goswamisandeep aa2b6947ff
feat(inputs.sqlserver): get database pages performance counter (#12400) 2023-01-09 07:44:54 -07:00
Sven Rebhan 6fb08bb3da
feat(kafka): Add keep-alive period setting for input and output. (#12459) 2023-01-05 16:48:31 +01:00
Ben Tasker 7da20da930
docs(inputs.postgresql): update readme and samples to note timeout behavior (#12446) 2023-01-03 10:35:13 -07:00
Paweł Żak 86cd0c0c24
chore: Fix linter findings for makezero (part4) (#12410) 2022-12-20 11:42:09 +01:00
Paweł Żak 9b24184730
fix(inputs.mysql): Revert slice declarations with non-zero initial length (#12409)
Co-authored-by: Pawel Zak <Pawel Zak>
2022-12-19 11:53:43 +01:00
Gianluca Sartori 37db046e06
fix: Added own SPID filter to sqlserverqueries.go (#12387)
This filter has been set on all other source files (azureSqlDB and azureSqlMI) but not on the on-prem version
2022-12-16 07:26:14 -07:00
Gianluca Sartori 82555d3e1c
fix(inputs.sqlserver): SqlRequests include sleeping sessions with open transactions (#12386) 2022-12-16 06:28:15 -07:00
Sven Rebhan 7fb90a2d9c
chore(linter): disable linter warning for freeze() in starlark (#12406) 2022-12-16 06:26:19 -07:00
Joshua Powers 754ab64959
fix(outputs.loki): return response body on error (#12399) 2022-12-16 06:18:43 -07:00
Sven Rebhan d9820bfd7b
fix(inputs.x509_cert): fix off-by-one when adding intermediate certificates (#12404) 2022-12-15 07:52:36 -07:00
Sven Rebhan 9f55bc605e
fix(secretstores): cleanup duplicate printing (#12401) 2022-12-15 06:35:05 -07:00
Joshua Powers 42640b1def
test(parsers.json): add fuzz test (#12368) 2022-12-13 06:41:08 -07:00
Maxim Ivanov fe9a0eb6f5
feat(inputs.stackdriver): Allow filtering by resource metadata labels (#12377) 2022-12-13 11:08:21 +01:00
Orfeas Zafeiris 459a658224
feat(inputs.powerdns_recursor): Support for new PowerDNS recursor control protocol (#9633) 2022-12-12 18:01:49 +01:00
Meceron e264721cb9
feat(parsers.csv): suport null delimiters (#12247) 2022-12-12 09:55:47 -07:00
Sylvain Bruyère 35b5476c83
fix(common.opcua): parse full range of status codes with uint32 (#12376) 2022-12-12 09:54:21 -07:00
Paweł Żak c6663aca4f
chore: fix linter findings for makezero (part3) (#12371) 2022-12-12 07:05:33 -07:00
Joshua Powers 4f7717b4fd
test(inputs.statsd): increase sleep + expiration on test (#12354) 2022-12-09 12:55:10 -07:00
Sven Rebhan 9b33b95bc0
feat(inputs.netflow): add netflow plugin (#12108) 2022-12-09 11:40:30 -07:00
goswamisandeep 5eee8faa95
feat(inputs.sqlserver): add @@SERVICENAME and SERVERPROPERTY(''IsClustered'') in measurement sqlserver_server_properties (#12351) 2022-12-09 11:24:57 -07:00
Sven Rebhan 7df97486d4
fix(inputs.modbus): fix default value of transmission mode (#12367) 2022-12-09 11:23:51 -07:00
Maxim Ivanov 95bdcbb7d5
fix(inputs.kube_inventory): Change default token path, use in-cluster config by default (#12284) 2022-12-09 16:58:14 +01:00
Maxim Ivanov df3b23de3a
feat(inputs.kubernetes): Allow fetching kublet metrics remotely (#12301)
Co-authored-by: Maxim Ivanov <hi@yamlcoder.me>
2022-12-09 16:56:24 +01:00
Pranay Kanwar 4161651fed
feat(inputs.smart): Add additional SMART metrics that indicate/predict device failure (#12329) 2022-12-09 16:46:21 +01:00
zhiyuan-mojie 375e089d12
fix(inputs.mongodb): Fix connection leak triggered by config reload (#12330)
Co-authored-by: amliu <amliu@qq.com>
2022-12-09 16:44:33 +01:00
Paweł Żak 4717a03509
chore: Fix linter findings for makezero (part2) (#12362) 2022-12-09 16:38:37 +01:00
Sven Rebhan db7cb4ec25
chore: Move host-endianness definition to `internal` (#12360) 2022-12-08 22:04:57 +01:00
Sven Rebhan c98115e744
feat: secret-store implementation (#11232) 2022-12-08 09:53:06 -07:00
jinx ad780bb1eb
fix(inputs.sql): cast measurement_column to string (#12323) 2022-12-08 08:27:48 -07:00
Sven Rebhan f2729298ed
fix(processors.parser): handle empty metric names correctly (#12357) 2022-12-08 07:23:54 -07:00
Sven Rebhan 8d78c5fbdc
chore(deps): Bump github.com/gosnmp/gosnmp from 1.34.0 to 1.35.0 (#12355) 2022-12-08 10:19:04 +01:00
Sven Rebhan 6b08068d6d
feat(parsers.grok): add option to allow multiline messages (#12320) 2022-12-07 13:05:02 -07:00
Luke Winikates 19cc5a7abf
chore(outputs.wavefront): Reduce code duplication (#12332) 2022-12-07 17:04:21 +01:00
Pontus Rydin dae0d82b9a
fix(inputs.vsphere): Eliminated duplicate samples (#12259) 2022-12-07 17:02:02 +01:00
Michael Hoffmann d7d1f8b3f0
feat(inputs.cgroups): do not abort on first error, print message once (#12342) 2022-12-07 07:21:59 -07:00
Sven Rebhan 5cb40a1882
feat(inputs.modbus): add support for half-precision float (float16) (#12340) 2022-12-07 07:20:51 -07:00
Joshua Powers da0c186a71
feat(tls): allow setting renegotiation method (#12302) 2022-12-06 20:09:58 -07:00
Sven Rebhan eea9021771
fix(inputs.modbus): Fix Windows COM-port path (#12339) 2022-12-06 15:47:58 +01:00
goswamisandeep e44129869c
feat(inputs.sqlserver): introduce timeout for query execution (#12319) 2022-12-06 07:24:19 -07:00
Boris Lytochkin 41c9af5bb8
fix(inputs.zfs): Unbreak datasets stats gathering in case listsnaps is enabled on a zfs pool (#12307) 2022-12-05 22:01:59 +01:00
Trevor North 70b33c2649
feat(inputs.kafka_consumer): Add sarama debug logs (#12304) 2022-12-05 21:54:08 +01:00
Charlie Jonas 1a6c363cf1
feat(inputs.http_response): Add User-Agent header (#12324) 2022-12-05 21:52:52 +01:00
goswamisandeep 4a378c6ff9
feat(inputs.sqlserver): add metric available_physical_memory_kb in sqlserver_server_properties (#12292) 2022-12-01 07:50:38 -07:00
TimurDela edb2358764
feat(inputs.modbus): optimize grouped requests (#11106) 2022-11-30 09:31:41 -07:00
Thomas Casteleyn 712092bd92
feat(parsers.csv): add option for overwrite tags (#12008) 2022-11-30 08:08:19 -07:00
Sven Rebhan d10ab3a417
chore(inputs.gnmi): Degrade empty-name error to a warning and add instructions. (#12305) 2022-11-30 12:09:31 +01:00
Sven Rebhan c31f8116ba
fix(inputs.directory_monitor): Close input file before removal (#12294) 2022-11-29 14:06:55 +01:00
Sven Rebhan 54f4a3a38b
fix(inputs.gnmi): Do not provide empty prefix for subscription request. (#12275) 2022-11-28 20:58:43 +01:00
Joshua Powers c6dbc3f689
fix(outputs.azure_data_explorer): update test call to NewSerializer (#12291) 2022-11-28 08:39:13 -07:00
Maxim Ivanov 9d5c879cac
fix(inputs.prometheus): correctly default to 9102 port (#12282) 2022-11-28 08:19:44 -07:00
Sven Rebhan ede6cfb920
feat(inputs.tail): add option to preserve newlines for multiline data (#12281) 2022-11-28 08:18:57 -07:00
Jörg Thalheim 2e99a1258e
docs(inputs.kube_inventory): update k3s integration guide (#12285) 2022-11-28 08:15:27 -07:00
asaharn 736967974b
refactor(outputs.azure_data_explorer): removed deprecated code (#11951) 2022-11-28 08:12:25 -07:00
Maxim Ivanov 55c8cfafb0
fix(inputs.promethes): respect selectors when scraping pods (#12278) 2022-11-28 08:05:31 -07:00
Sven Rebhan 0e7a3c69ea
fix(inputs.socket_listener): ensure closed connection (#12280) 2022-11-28 08:01:57 -07:00
Thomas Casteleyn 25154e50fd
feat(inputs.snmp): convert enum values (#11872) 2022-11-28 08:01:18 -07:00
Maxim Ivanov c3562ae8b2
feat(inputs.prometheus): Allow explicit scrape configuration without annotations (#11962) 2022-11-22 18:04:52 +01:00
Charly Nanfack d4eda21742
feat(inputs.prometheus): Add support for custom header (#12050) 2022-11-21 21:55:21 +01:00
Neelay Upadhyaya 6f407c5949
fix(output.datadog): log response in case of non 2XX response from API (#12201) 2022-11-21 21:54:24 +01:00
Paweł Żak 960a1f7b14
chore: Fix linter findings for prealloc (part3) (#12246) 2022-11-21 21:53:55 +01:00
Paweł Żak e84df8983a
chore: Fix linter findings for errname (#12253) 2022-11-21 21:11:07 +01:00
Paweł Żak 743e023f84
chore: Fix linter findings for makezero (part1) (#12254) 2022-11-21 21:07:07 +01:00
Sven Rebhan 65200dba2a
fix(inputs.gnmi): Fix empty name for Sonic device (#12258) 2022-11-21 20:59:26 +01:00
Sven Rebhan e311435753
feat(parsers.xpath): Allow to specify byte-array fields to encode in HEX (#11999) 2022-11-21 20:56:02 +01:00
Joshua Powers bd91b2ced2
test(outputs.sql): print out what we get, bump time required (#12262) 2022-11-18 09:38:40 -07:00
Sven Rebhan 75aaa8981e
feat(inputs.modbus): Add 8-bit integer types (#12255) 2022-11-18 16:23:23 +01:00
Sven Rebhan d3eec6166a
chore(inputs.x509_cert): Cleanup code (#12250) 2022-11-18 16:23:07 +01:00
Joshua Powers ea9aa38d23
test(outputs.sql): do not write to file during testing (#12203) 2022-11-18 07:22:46 -07:00
Sven Rebhan 6cfae2a1fd
fix(input.modbus): Add workaround to read field in separate requests (#12235) 2022-11-18 11:53:36 +01:00
Sven Rebhan 0f8dff9b8d
feat(serializers.json): Support serializing JSON nested in string fields (#12260) 2022-11-18 11:53:13 +01:00
Sven Rebhan bc56233e1b
feat(outputs.graylog): implement optional connection retries (#11950) 2022-11-17 07:03:04 -07:00
Sven Rebhan 3160d52187
feat(inputs.socket_ listener): Allow to specify message separator for streams (#12187) 2022-11-17 07:02:32 -07:00
ShiranAvidov 7ef5993d35
feat: Add Azure Monitor input plugin (#10103) 2022-11-16 21:47:05 +01:00
Petar Obradović 61f64506c9
fix(input.redis_sentinel): fix sentinel and replica stats gathering (#12229) 2022-11-16 13:43:30 -07:00
Sven Rebhan d2268f04d0
feat(parsers.binary): handle hex-encoded inputs (#12232) 2022-11-16 13:43:13 -07:00
David Barbarin 58d7dfc43f
feat(inputs.sqlserver): add data and log used space metrics for Azure SQL DB (#12126) 2022-11-16 07:18:17 -07:00
Sven Rebhan 404c0475d0
docs(inputs.x509_cert): Add documentation for 'exclude_root_certs' option. (#12249) 2022-11-16 06:37:13 -07:00
Sven Rebhan 9acbf23ebb
feat(inputs.tail): Allow handling of quoted strings spanning multiple lines (#11762) 2022-11-15 18:58:15 +01:00
Paweł Żak cdc622e9db
chore: Fix linter findings for prealloc (part1) (#12228) 2022-11-15 18:57:50 +01:00
Sven Rebhan 973db8c517
fix: Cleanup and add sample.conf embedding (#12244) 2022-11-15 17:15:35 +01:00
zeffron c7a1d9e28e
feat(inputs.ethtool): Gather statistics from namespaces (#11895) 2022-11-15 16:54:58 +01:00
Joshua Powers cf8d12cc73
test(inputs.mongodb): update integration test logic (#12241) 2022-11-15 06:56:31 -07:00
Paweł Żak 74703d092b
chore: Fix linter findings for prealloc (part2) (#12242) 2022-11-15 09:31:51 +01:00
Sven Rebhan 2ade360728
feat(inputs.modbus): Optimize requests (#11273) 2022-11-14 20:31:50 +01:00
Paweł Żak 0c5d8de5e2
chore: enable lll linter (#12226) 2022-11-11 08:17:15 -07:00
Martin c528d31515
docs(inputs.modbus): delete sample.conf (#12223) 2022-11-11 07:42:21 -07:00
Paweł Żak 236af553a3
chore: wrap long lines in other locations (#12219) 2022-11-11 06:32:11 -07:00
Paweł Żak d3fabdd0a9
chore: wrap long lines in plugins/inputs/[l-s]* (#12217) 2022-11-10 11:55:58 -07:00
Paweł Żak b98a76372a
chore: wrap long lines in plugins/inputs/[t-z]* (#12218) 2022-11-10 11:41:43 -07:00
Paweł Żak b83bdd5eac
chore: enable interfacebloat linter (#12174) 2022-11-10 11:41:11 -07:00
feld 0132eabcf1
docs(outputs.postgresql): fix example template queries that manage a view (#12190) 2022-11-08 15:47:30 -07:00
Joshua Powers 07345e82f3
docs(outputs.kafka): specify broker behavior (#12161) 2022-11-08 14:26:24 -07:00
Joshua Powers 6390d31eb0
feat: add arm64 Windows builds (#12130) 2022-11-08 13:44:51 -07:00
Paweł Żak 7c7069d693
chore: Wrap long lines in plugins/inputs/[i-k]* (#12199)
Co-authored-by: Pawel Zak <Pawel Zak>
2022-11-08 14:44:01 -06:00
Paweł Żak 581c82a31e
chore: Wrap long lines in plugins/inputs/[e-h]* (#12186)
Co-authored-by: Pawel Zak <Pawel Zak>
2022-11-08 14:42:05 -06:00
Paweł Żak 6816aefcd5
chore: fix linter findings for unparam and revive.unused-parameter (#12150) 2022-11-08 12:04:12 -07:00
Paweł Żak 7807847356
chore: Wrap long lines in plugins/parsers (#12180) 2022-11-08 18:47:35 +01:00
Paweł Żak c30518d853
chore: Wrap long lines in plugins/aggregators (#12183) 2022-11-08 18:42:36 +01:00
Paweł Żak b9bba638b1
chore: Wrap long lines in plugins/inputs/[a-d]* (#12185) 2022-11-08 18:41:17 +01:00
Paweł Żak 8203b503b7
chore: Wrap long lines in plugins/common (#12182) 2022-11-08 18:35:08 +01:00
Paweł Żak 979eec8fb8
chore: Wrap long lines in plugins/processors (#12181) 2022-11-08 16:12:30 +01:00
reimda 59966d390c
chore: log errors when adding to quantile aggregator (#12191) 2022-11-08 08:06:27 -07:00