Commit Graph

4915 Commits

Author SHA1 Message Date
Sven Rebhan 3d34c41154
fix(inputs.jolokia2_agent): Trim quotes around tags (#14132) 2023-10-18 06:32:48 -06:00
Thomas Casteleyn c142f48f72
docs(processors.ifname): Document better agent tag name (#14117) 2023-10-18 09:42:01 +02:00
Thomas Casteleyn 74937de0f4
feat(outputs.bigquery): Project is no longer a required field (#14086) 2023-10-16 14:42:57 -06:00
Sven Rebhan 2a6b16e0ba
feat(inputs.win_service): Reduce required rights to GENERIC_READ (#14073) 2023-10-16 08:34:15 -06:00
Sven Rebhan efe7112ef9
chore(processors.regex): Inform and warn user on operation modus (#14084) 2023-10-16 07:25:52 -06:00
Joshua Powers 7adcc701f9
fix(inputs.postgresql_extensible): Restore default db name (#14010) 2023-10-13 14:17:02 +02:00
Chase Sterling 309c195e03
feat(processors.dedup): Add state persistence between runs (#14065) 2023-10-12 15:07:13 -06:00
Joshua Powers 710c92c50d
fix(outputs.exec): Resolve lint issues with tests (#14101) 2023-10-12 14:49:28 -06:00
Sven Rebhan 68eda258f4
fix(outputs.redistimeseries): Handle string fields correctly (#14060) 2023-10-12 14:39:14 -06:00
Chase Sterling 7673624bcd
feat(outputs.exec): Add ability to exec command once per metric (#13672) 2023-10-12 14:32:09 -06:00
Sven Rebhan a8af81c8c9
feat(aggregators.final): Allow to specify output strategy (#14062) 2023-10-12 14:28:10 -06:00
Damian Szczepanik e50bb4fb3b
docs(outputs.influxdb): Add help message about multiple influxdb (#14053) 2023-10-12 09:32:25 -06:00
Christian Allinson 17a294776e
docs(outputs.mqtt): Correct typo in protocol config parameter (#14071) 2023-10-12 09:26:12 -06:00
Sven Rebhan 78c641cdcc
docs(processors.split): Fix example (#14087) 2023-10-12 09:24:51 -06:00
Sven Rebhan d63478b485
feat(inputs.ldap): Collect additional fields (#14092) 2023-10-12 08:47:27 -06:00
Damian Szczepanik 0e1f3f8b86
docs(inputs.docker): Add help message about permissions for container (#14094) 2023-10-12 08:40:19 -06:00
Sven Rebhan 0c1e21398e
feat(inputs.ldap): Add LDAP input plugin supporting OpenLDAP and 389ds (#13995) 2023-10-10 13:09:35 +02:00
reindlt 474aff588e
feat(inputs.opcua_listener): Add monitoring params (#13923)
Co-authored-by: Tobias Reindl <tobias.reindl@s7-rail.com>
2023-10-10 13:06:17 +02:00
michelle-costa f4c56e1597
feat(inputs.sql): Add oracle driver (#13978) 2023-10-05 09:26:40 +02:00
Joshua Powers 3dded476ae
test(inputs.redis_sentinel): Resolve timeout looking for port (#14051) 2023-10-04 13:41:56 -06:00
Noy-Simon f8a5a17b47
feat(inputs.kube_inventory): Support using kubelet to get pods data (#13996) 2023-10-04 08:55:18 -06:00
Noy-Simon 01b5834cb7
feat(inputs.kube_inventory): Support filtering pods and nodes by node name (#13993) 2023-10-04 07:26:41 -06:00
Marcel Beck aa2990d792
fix(inputs.mqtt): Reference correct password variable (#14041) 2023-10-04 10:18:20 +02:00
phagemann 30bbf4fb62
fix(inputs.s7comm): Allow PDU-size to be set as config option (#14045) 2023-10-04 09:59:44 +02:00
Ramachandran A G 4759214471
feat(outputs.azure_data_explorer): Set user agent string (#14047) 2023-10-04 09:56:31 +02:00
jose_d 360eeec3b6
fix(inputs.infiniband): Handle devices without counters (#14049) 2023-10-04 09:54:50 +02:00
Ben Allen dd7449940e
feat(input.intel_pmt): Add pci_bdf tag to uniquely identify GPUs and other peripherals (#14004) 2023-10-02 20:47:36 +02:00
Sven Rebhan d9b335e814
fix(inputs.openstack): Handle dependencies between enabled services and available endpoints (#14011) 2023-10-02 11:04:06 -06:00
Sven Rebhan a6858b8024
chore(inputs.modbus): Deprecate aggressive optimization (#14030) 2023-10-02 18:39:21 +02:00
Joshua Powers 6b01384c6e
feat(outputs.stackdriver): Add metric type config options (#14017)
* feat(outputs.stackdriver): Add metric type config options

This adds two new user config options that take metric names, with globs
as well. Metric's matching these names will have their type set before
sending to Stackdriver.

fixes: #14006

* run make docs
2023-10-02 10:30:32 +02:00
Christian Allinson 69612a8e4a
fix(parsers.json_v2): Properly handle optional fields (#14008)
Co-authored-by: Christian Allinson <christian.allinson@rebuildmanufacturing.com>
2023-10-02 10:29:11 +02:00
Sven Rebhan 3ffa5f615a
fix(outputs.opensearch): Migrate to new secrets API (#14021) 2023-09-29 07:56:58 -06:00
Mandeep Kalra 4e35ac8dc3
feat(outputs.opensearch): Add OpenSearch output plugin (#11958)
Co-authored-by: Josh Powers <powersj@fastmail.com>
2023-09-29 12:40:04 +02:00
Joshua Powers 188c8d7bbf
docs(outputs.http): Document proxy settings (#14016) 2023-09-29 12:21:26 +02:00
Sven Rebhan d07701f35f
feat(processors.regex): Allow batch transforms using named groups (#13971) 2023-09-28 09:17:12 -06:00
Sven Rebhan d636560483
docs(outputs.prometheus_client): Fix metric-type parameter naming (#14013) 2023-09-28 08:33:28 -06:00
Adam Thornton cb13577c95
feat(parsers.avro): Support multiple modes for union handling (#13945) 2023-09-27 14:47:36 -06:00
R290 705176b8d5
feat(inputs.docker): Add disk usage (#13894) 2023-09-27 14:28:36 -06:00
Yonathan Amir 1f029cb127
feat(inputs.rabbitmq): Add secretstore support for username and password (#13991) 2023-09-27 14:18:54 -06:00
Joshua Powers 637b8f8721
fix(outputs.stackdriver): Do not shallow copy map (#14009) 2023-09-27 21:59:43 +02:00
Yonathan Amir 73a220f85c
feat(inputs.amqp_consumer): Add secretstore support for username and password (#14001) 2023-09-27 21:56:48 +02:00
Joshua Powers ebb20bfa4c
fix(inputs.postgresql_extensible): Restore outputaddress behavior (#13972) 2023-09-26 08:19:23 -06:00
Thomas Casteleyn 3b00b1da95
fix(inputs.mock): Plugin not aligned with documentation (#13997) 2023-09-26 15:29:17 +02:00
Thomas Casteleyn f58c9555dd
feat(parsers/json_v2): Improve json path log messages (#13994) 2023-09-26 06:43:00 -06:00
Sven Rebhan 21e8f9cc54
fix(inputs.jti_openconfig_telemetry): Do not block GRPC dial (#13958) 2023-09-26 06:36:55 -06:00
Ben Allen 9a95ef10cd
fix(input.intel_pmt): Handle telem devices without numa_node attribute (#13977) 2023-09-26 11:03:39 +02:00
Sven Rebhan e2c4e10650
chore(secrets): Abstract secret implementation (#13953) 2023-09-25 14:37:04 -06:00
Sven Rebhan ac79964226
chore(processors.starlark): Add benchmark for field-value filter (#13983) 2023-09-25 14:13:48 -06:00
Joshua Powers 28c69724e2
fix(inputs.nfsclient): Avoid panics, better error messages (#13982) 2023-09-25 21:44:40 +02:00
Joshua Powers 080f5a2ecb
fix(outputs.stackdriver): Drop metrics on InvalidArgument gRPC error (#13931) 2023-09-22 09:40:05 -06:00
Joshua Powers b6d946da6e
fix(inputs.exec): Clean up grandchildren processes (#13937) 2023-09-22 13:52:45 +02:00
Joshua Powers a9ba23f41a
docs(processors.lookup): Fix wrong word usage (#13970) 2023-09-21 15:44:43 +02:00
Joshua Powers 984d6029ef
fix(inputs.cisco_telemetry_mdt): Print string message on decode failure (#13963) 2023-09-21 15:44:10 +02:00
Joshua Powers 03e3700830
fix(inputs.nvidia_smi): Add legacy power readings to v12 schema (#13962) 2023-09-21 15:43:18 +02:00
Joshua Powers 3996139dfd
chore: Update macOS CircleCI runner (#13932) 2023-09-21 15:40:26 +02:00
Joshua Powers 1b27556feb
fix(parsers.avro): Clean up Warnf error wrapping error (#13961) 2023-09-20 12:50:28 -06:00
Anton Belousov fbe2fb47eb
feat(parsers.avro): Get metric name from the message field (#13914) 2023-09-20 12:14:55 -06:00
Joshua Powers ac4cb12db8
chore: Remove whitespace, update variable naming (#13952) 2023-09-20 07:36:11 -06:00
Sven Rebhan c65340ac7a
fix(processors.template): Handle tracking metrics correctly (#13947) 2023-09-20 06:41:50 -06:00
Anton Belousov 5ab2468789
feat(inputs.kafka_consumer): Add message headers as metric tags. (#13924) 2023-09-20 12:53:18 +02:00
Adam Thornton a542899811
fix(parsers.avro): Only attempt to read CA cert file if filename is not empty string (#13939) 2023-09-19 10:42:12 +02:00
Joshua Powers c0bcf31bc6
fix(outputs.cloudwatch): Increase number of metrics per write (#13930) 2023-09-18 09:07:00 -06:00
Joshua Powers df80446fae
fix(inputs.smart): Remove parsing error message (#13927) 2023-09-18 15:29:41 +02:00
Joshua Powers 4b447d0483
docs(inputs.procstat): Add docs on permissions and metric details (#13921) 2023-09-14 20:09:55 +02:00
Joshua Powers ae9668b805
test(outputs.sql): Fix clean up of sql database file (#13918) 2023-09-14 20:09:06 +02:00
Joshua Powers f43427267d
chore: Clean up results from make check-deps (#13919)
Adds additional build directives to avoid a few other arch combos
2023-09-13 11:24:43 +02:00
Joshua Powers 39f24b3365
fix(inputs.systemd_units): Add missing upstream states (#13915) 2023-09-13 11:18:54 +02:00
Joshua Powers 6832e6cc8c
docs(inputs.vsphere): fix config name typo in example (#13907) 2023-09-12 08:30:08 -06:00
Joshua Powers 2d37bdabfa
fix(inputs.redis): Fix password typo (#13910) 2023-09-12 08:29:58 -06:00
Sven Rebhan 9db814d1c5
feat(parsers.avro): Allow connection to https schema registry (#13903) 2023-09-11 11:52:21 -06:00
Jakub Sikorski 7d71285347
feat(inputs): New Intel PMT plugin (#13801) 2023-09-11 08:38:58 -06:00
Yonathan Amir a057e5b298
feat(outputs.prometheus_client): Add secretstore support for basic_password (#13899) 2023-09-11 08:36:24 -06:00
Tobias Jungel 3fae6439ab
fix(inputs.kafka_consumer): Use per-message parser to avoid races (#13886) 2023-09-11 08:18:51 -06:00
Adam Thornton 855b25d383
fix(parsers.avro): Do not force addition of timestamp as a field (#13856) 2023-09-11 08:05:40 -06:00
Sven Rebhan 84b3b587da
feat(prometheus): Allow to specify metric type (#13874) 2023-09-11 07:45:16 -06:00
Joshua Powers 4a5e3a4d6d
feat(inputs.redis_sentinel): Allow username and password (#13864) 2023-09-11 10:05:17 +02:00
Luke Winikates d807dd3c05
feat(outputs.wavefront): Add more auth options and update SDK (#13857) 2023-09-08 12:46:08 -06:00
Sven Rebhan 6e6c57154e
feat(inputs.vsphere): Allow to set vSAN sampling interval (#13890) 2023-09-08 12:17:23 -06:00
Joshua Powers c238ebb271
fix(sql): Allow sqlite on Windows (amd64 and arm64) (#13865) 2023-09-08 20:14:24 +02:00
Joshua Powers 47c5665f50
feat(inputs.redis): Add additional commandstat fields (#13866) 2023-09-08 20:11:09 +02:00
Joshua Powers 67f9a0ea82
fix(inputs.sqlserver): Cast max_size to bigint (#13870) 2023-09-08 11:44:54 +02:00
Joshua Powers 86a546c88d
fix(inputs.procstat): Collect swap via /proc/$pid/smaps (#13779) 2023-09-08 11:41:48 +02:00
Adam Thornton bfbe195607
fix(parsers.avro): Handle timestamp format checking correctly (#13855) 2023-09-07 14:08:47 -06:00
Shangxin Du 7df1e53a4b
feat(inputs.cisco_telemetry_mdt): Add microbust support (#13877) 2023-09-07 07:27:12 -06:00
Sven Rebhan a528e842ef
fix(outputs.sql): Move 'conversion_style' option to the right place (#13875) 2023-09-07 07:20:57 -06:00
Jacob Marble c5aef4e3b9
feat(inputs.opentelemetry): Add configurable log record dimensions (#13846) 2023-09-05 10:13:39 -06:00
Joshua Powers 3bcf72293d
fix(inputs.opcua): Verify groups or root nodes included in config (#13840) 2023-08-30 15:56:34 +02:00
shizhx c0f67db425
fix(inputs.sysstat): Remove tmpfile to avoid file-descriptor leak (#13833) 2023-08-30 15:54:22 +02:00
Michael Kasch 2dd5682e1a
chore(inputs.modbus): Improve deprecation documentation (#13832) 2023-08-29 10:37:44 -06:00
Joshua Powers d4a00dd8d6
feat(inputs.internal): Add Go metric collection option (#13793) 2023-08-29 17:20:59 +02:00
Joshua Powers dec4a90b07
feat(processors): Add processor to split a metric into multiple (#13785) 2023-08-29 17:20:14 +02:00
Joshua Powers fb45a1d98a
feat(inputs.couchbase): Add failover metrics (#13825) 2023-08-29 16:02:44 +02:00
Sven Rebhan 1d24efe55c
chore(tools): Bump golangci-lint from v1.53.2 to v1.54.2 (#13838) 2023-08-29 07:07:41 -06:00
Joshua Powers ca2295e1a4
feat(inputs.fibaro): Support HC3 device types (#13754) 2023-08-28 22:47:08 +02:00
Joshua Powers 5fb290fb46
chore: Update to go1.21.0 (#13794) 2023-08-28 14:30:44 -06:00
Joshua Powers 318a4b69e5
docs: Clean up markdown add warning about tables (#13792) 2023-08-28 22:07:45 +02:00
Joshua Powers cb488ad0f8
feat(inputs.nvidia_smi): Add additional fields (#13783) 2023-08-28 22:06:20 +02:00
Joshua Powers 6f5e5be7b2
fix(inputs.amqp_consumer): Print error on connection failure (#13777) 2023-08-28 10:25:32 +02:00
Joshua Powers 6f6d5b5be8
feat(inputs.nvidia_smi): Add Nvidia DCGM MIG usage values (#13733) 2023-08-28 10:05:29 +02:00
Sven Rebhan 71905a7758
feat(outputs.postgresql): Add option to create time column with timezone (#13763) 2023-08-25 07:18:08 -06:00
Sven Rebhan 17c7c0252b
feat(outputs.postgresql): Add option to rename time column (#13750) 2023-08-15 18:50:58 +02:00
Joshua Powers bbc632212e
fix(inputs.processes): Comment out default option (#13762) 2023-08-14 15:33:44 -06:00
Paweł Żak 5661341813
chore: Enable filepathJoin checker for gocritic (#13758)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-08-14 23:18:20 +02:00
Joshua Powers 013b73213d
chore: Spell endianness correctly (#13752) 2023-08-14 10:43:32 +02:00
Eng Zer Jun 7e6b98226e
chore(inputs): Remove unnecessary nil check (#13749)
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2023-08-14 10:39:56 +02:00
Steven Freed 2f1edfbbfc
feat(inputs.redfish): Add additional chassis tags (#13727) 2023-08-11 07:14:07 -06:00
Joshua Powers 1381513e61
fix(outputs.stackdriver): Regenerate time interval for unkown metrics (#13745) 2023-08-11 11:14:13 +02:00
Sven Rebhan 61cf18c821
chore: Check logging functions like printf (#13743) 2023-08-09 15:02:36 -06:00
Costas Drogos 0cf7d23090
feat(inputs.kernel): Collect KSM metrics (#13728) 2023-08-09 22:43:14 +02:00
Sven Rebhan 8b032b73ee
feat(inputs): Add new S7comm plugin (#13731) 2023-08-09 21:56:47 +02:00
Sven Rebhan 96a9597720
fix(inputs.opcua_listener): Avoid segfault if subscription was not successful (#13742) 2023-08-09 09:41:17 -06:00
kell0gg 3fe151b28d
feat(inputs.redis): Support of redis 6.2 ERRORSTATS (#13723) 2023-08-08 15:39:57 -06:00
Sven Rebhan d259081c2e
feat(inputs.vsphere): Support explicit proxy setting (#13720) 2023-08-08 15:22:05 -06:00
Joshua Powers 93bf2becce
feat(serializers.nowmetric): Add option for JSONv2 format (#13722) 2023-08-08 22:19:31 +02:00
dependabot[bot] 8bc6822e28
chore(deps): Bump go.mongodb.org/mongo-driver from 1.11.6 to 1.12.1 (#13736) 2023-08-08 22:16:40 +02:00
Sven Rebhan 806b7cd67f
fix(parsers.xpath): Handle protobuf maps correctly (#13719) 2023-08-07 15:50:49 -06:00
Sven Rebhan 424283f138
fix(inputs.opcua): Register node IDs again on reconnect (#13682) 2023-08-07 22:48:47 +02:00
Sven Rebhan 393d1b8b3a
feat(inputs.jti_openconfig_telemetry): Add keep-alive setting (#13709) 2023-08-07 22:41:24 +02:00
Hr0bar dae115852c
feat(inputs.tacacs): Add tacacs plugin for simple tacacs auth response time monitoring (#12747) 2023-08-07 12:20:23 -06:00
Joshua Powers 2ac45b8d25
chore: Enable additional gocritic (#13714) 2023-08-03 18:58:27 +02:00
Joshua Powers 0f8957f0e9
chore: Resolves gocritic sloppyReassign (#13712) 2023-08-03 18:57:18 +02:00
Joshua Powers f39a21121d
chore: Enable additional gocritic options (#13711) 2023-08-03 17:07:48 +02:00
Joshua Powers 564f24a0a4
chore: Enable additional gocritic (#13713) 2023-08-03 16:11:26 +02:00
Sven Rebhan 2ae65d1a94
feat(inputs.solr): Support version 7.x to 9.3 (#13699) 2023-08-02 20:33:10 +02:00
Matt Schmitz 66dc5ce940
fix(inputs.cisco_telemetry_mdt): Fix MDT source field overwrite (#13693) 2023-07-31 21:26:22 +02:00
Joshua Powers 0496741f4a
fix(inputs.jti_openconfig_telemetry): Reauthenticate connection (#13647) 2023-07-31 13:22:38 +02:00
Sven Rebhan f5afcc169c
feat(inputs.nvidia_smi): Support newer data schema versions (#13678) 2023-07-28 13:38:35 -06:00
Sven Rebhan babd887469
test(inputs.solr): Rework testing (#13692) 2023-07-28 12:20:14 -06:00
Joshua Powers a438fa7630
docs(inputs.conntrack): Explain different collection methods (#13691) 2023-07-28 18:45:10 +02:00
Chase Sterling 283af2b1da
feat(serializers.template): Add new template based serializer (#13656) 2023-07-28 09:41:04 -06:00
Lucas Chiesa 3f8e916455
feat(parsers.xpath): Add option to store fields as base64 (#13690) 2023-07-28 08:09:23 -06:00
Joshua Powers 043aa0374b
feat(inputs.jenkins): Add option for node labels as tag (#13649) 2023-07-28 07:23:53 -06:00
Sven Rebhan 80ce606cef
test(inputs.radius): Use random port for test (#13683) 2023-07-27 07:01:33 -06:00
Chase Sterling 087a6683f1
feat(outputs.execd): Add option for batch format (#13673) 2023-07-26 12:53:02 -06:00
Sven Rebhan f804d6395e
chore(deps): Bump github.com/antchfx/xpath from v1.2.4 to latest master (#13679) 2023-07-26 11:02:03 -06:00
Joshua Powers 80094507e4
fix(inputs.mqtt_consumer): Client logs via option (#13663) 2023-07-26 18:51:03 +02:00
Ramachandran A G 928ef00ca2
docs(outputs.azure_data_explorer): Update supported Azure Data Explorer flavors (#13677) 2023-07-26 18:33:35 +02:00
Sven Rebhan da28cfdb43
fix(parsers.xpath): Ensure precedence of explicitly defined tags and fields (#13662) 2023-07-26 09:44:22 -06:00
Sven Rebhan 64f6c97d13
fix(parsers.xpath): Improve handling of complex-type nodes (#13660) 2023-07-26 07:11:25 -06:00
Sven Rebhan 10f735c2cc
fix(parsers.xpath): Fix field-names for arrays of simple types (#13665) 2023-07-25 07:35:32 -06:00
Sven Rebhan fe8467539a
feat(inputs.influxdb_listener): Add token based authentication (#13610) 2023-07-24 16:08:16 -06:00
Joshua Powers 54b1009a9f
fix(inputs.docker): Add restart count (#13646) 2023-07-24 09:25:31 +02:00
Joshua Powers 25f545ccb9
feat(outputs.http): Allow PATCH method (#13651) 2023-07-21 11:31:40 +02:00
Maxim Ivanov 59defb0bc5
docs(inputs.postgresql_extensible): Document 'measurement' query config option (#13631) 2023-07-21 11:15:14 +02:00
Maxim Ivanov 9d894e7dee
fix(inputs.prometheus): Don't collect metrics from finished pods (#13629) 2023-07-21 11:09:44 +02:00
Maxim Ivanov cb966ebf6b
fix(inputs.prometheus): Fix missing metrics when multiple plugin instances specified (#13627) 2023-07-21 11:06:51 +02:00
Maxim Ivanov 42c7a2027f
feat(inputs.prometheus): Always apply kubernetes label and field selectors (#13624) 2023-07-21 11:00:54 +02:00
Maxim Ivanov 22100d4914
feat(inputs.postgresql_extensible): Introduce max_version for query (#13620) 2023-07-21 10:56:49 +02:00
Sven Rebhan 56075a9604
feat(secretstores): Add secret-store to access OAuth2 services (#13621) 2023-07-14 09:26:06 -06:00
Joshua Powers 6377f69501
fix(outputs.opentelemetry): group metrics by age and timestamp (#13292) 2023-07-14 09:25:24 -06:00
Joshua Powers d4235ab86b
feat(kafka): Set and send SASL extensions (#13411) 2023-07-14 09:23:59 -06:00
Sven Rebhan 0ba463817c
feat(inputs.http): Rework token options (#13622) 2023-07-14 16:52:16 +02:00
Joshua Powers 9f83bee8ef
Revert "feat(inputs.kafka_consumer): Refresh regexp topics periodically (#13410)" (#13617)
This reverts commit a13f3463eb.
2023-07-14 16:06:45 +02:00
Sven Rebhan 714f3c187f
feat(parsers.avro): Add support for JSON format (#13607) 2023-07-14 16:05:03 +02:00
Joshua Powers 9ede0b0c49
chore: Enable multi-os golanglint-ci (#13599) 2023-07-14 15:58:19 +02:00
Anton Brekhov 36709713e1
fix(outputs.nebius_cloud_monitoring): Replace reserved label names (#13597)
Co-authored-by: Thomas Casteleyn <thomas.casteleyn@me.com>
2023-07-14 15:56:10 +02:00
Joshua Powers 8cde34bfeb
fix(outputs.stackdriver): Add tag as resource label option (#13575) 2023-07-14 15:49:41 +02:00
Joshua Powers 14f52eae01
feat(parsers.influx): Allow a user to set the timestamp precision (#13419) 2023-07-13 11:09:12 -06:00
Aleks Vagachev b20c0d7fad
fix(inputs.postgresql): Default database definition (#13602) 2023-07-12 16:04:26 -06:00
Sven Rebhan f001b29eee
feat(processors.template): Unify template metric (#13606) 2023-07-12 09:00:19 -06:00
Sven Rebhan d8f8d3cbc5
chore(inputs.net): Deprecate 'ignore_protocol_stats' value 'false' (#13608) 2023-07-12 08:04:00 -06:00
Sven Rebhan 2e3adbd520
docs(inputs.gnmi): Add troubleshooting section for Juniper devices (#13582) 2023-07-10 08:33:52 -06:00
Joshua Powers d2ebc8ecc0
fix(outputs.influxdb_v2): Expose HTTP/2 client timeouts (#13562) 2023-07-10 16:29:59 +02:00
Joshua Powers 00b0ae68e0
test(outputs.instrumental): Allow setting custom port (#13576) 2023-07-10 14:48:54 +02:00
Joshua Powers 908c6a551f
fix(inputs.mqtt_consumer): Print warning on no metrics generated (#13574) 2023-07-10 14:02:42 +02:00
Sven Rebhan c28df89c8e
feat(processors.parser): Allow also non-string fields (#13553) 2023-07-10 13:55:55 +02:00
Joshua Powers c050c010bc
fix: replace github.com/denisenkom/go-mssqldb with github.com/microsoft/go-mssqldb (#13524) 2023-07-07 11:01:55 -06:00
Adam Thornton a13f3463eb
feat(inputs.kafka_consumer): Refresh regexp topics periodically (#13410) 2023-07-07 10:45:37 -06:00
Sven Rebhan c3d30c8227
chore(deps): Bump github.com/snowflakedb/gosnowflake from 1.6.13 to 1.6.22 (#13544) 2023-07-07 09:42:10 -06:00
Joshua Powers 341190d8a4
fix(inputs.mqtt_consumer): Correctly handle semaphores on messages (#13478) 2023-07-07 08:38:39 -06:00
Sven Rebhan 0b1bd42ad2
fix(processors.printer): Convert output to string (#13564) 2023-07-07 07:44:50 -06:00
Zeyad Kenawi 7aa3d79631
feat(outputs.file): Add compression (#13245) 2023-07-06 09:07:56 -06:00
Jacob Marble c34a1f70d9
chore(inputs.opentelemetry): Unbreak after interface change (#13559) 2023-07-06 16:19:29 +02:00
Sven Rebhan 57bcdaf695
fix(parsers.xpath): Handle explicitly defined fields correctly (#13550) 2023-07-06 16:16:35 +02:00
Joshua Powers 64ea1d00cb
fix(inputs.vpshere): Compare versions as a string (#13557) 2023-07-06 16:13:12 +02:00
Sven Rebhan cec60dbfa9
fix(inputs.gnmi): Add option to explicitly trim field-names (#13517) 2023-07-06 11:20:11 +02:00
Sven Rebhan 533ede7a32
fix(outputs.graphite): Rework connection handling (#13527) 2023-07-05 21:15:58 +02:00
trsnx 10c081dab1
fix(parsers.binary): Fix binary parser example in README.md (#13547) 2023-07-05 08:11:32 -06:00
Aleks Vagachev be2f950a3c
feat(inputs.pgbouncer): Added show_commands to select the collected pgbouncer metrics (#13436) 2023-07-05 08:11:11 -06:00
mark-chandler ae163536e6
fix(inputs.snmp_trap): Copy GoSNMP global defaults to prevent side-effects (#13542) 2023-07-05 08:10:19 -06:00
Sven Rebhan 0291aafe51
fix(outputs.sumologic): Unwrap serializer for type check (#13522) 2023-07-04 21:37:16 +02:00
Sven Rebhan 261e0223a7
fix(inputs.opcua): Ensure we are connected after reconnect (#13514) 2023-06-30 12:49:26 -06:00
Sven Rebhan 96b9845853
feat(inputs.modbus): Add per-metric configuration style (#13507) 2023-06-30 12:47:16 -06:00
Joshua Powers 657eca5cf0
fix(parsers.grok): Use UTC as the default timezone (#13526) 2023-06-30 19:20:48 +02:00
Sven Rebhan 590e4e5bc7
fix(inputs.cloud_pubsub): Properly lock for decompression (#13525) 2023-06-30 10:27:25 -06:00
Michael Cassaniti 435e42cfd4
feat(internal): Add gather_timeouts metric (#13471) 2023-06-30 08:19:13 -06:00
Paweł Żak 68edb20382
docs(intel_baseband): Remove ACC101 mentions from documentation (#13518) 2023-06-29 06:54:04 -06:00
Sven Rebhan e2fb181a80
feat(parsers.value): Add support for automatic fallback for numeric types (#13506) 2023-06-29 12:13:34 +02:00
Sven Rebhan c35cabda9e
feat(parsers.xpath): Add Concise Binary Object Representation parser (#13480) 2023-06-28 15:26:50 -06:00
Sven Rebhan dba873cf2c
fix(serializers.splunkmetric): Fix TOML option name for multi-metric (#13511) 2023-06-28 13:53:04 +02:00
massimogallina ef86635d21
feat(inputs.amqp_consumer): Add support to rabbitmq stream queue (#13496) 2023-06-27 11:40:27 -06:00
Michał 2e957cc003
docs(inputs.ravendb): Change metrics requirements in readme (#13494) 2023-06-27 17:17:05 +02:00
Vanilla f2a1101581
feat(inputs.procstat): Add status field (#13505) 2023-06-27 17:12:16 +02:00
Joshua Powers 40b7dbb407
fix(inputs.internet_speed): Add location as a field (#13497) 2023-06-27 09:39:04 +02:00
Joshua Powers 6f6e49d615
fix(inputs.phpfpm): Check address length to avoid crash (#13495) 2023-06-26 19:06:29 +02:00
Joshua Powers 45f994268c
fix(outputs.stackdriver): Options to use official path and types (#13454) 2023-06-26 07:30:11 -06:00
Sven Rebhan 56aac4f0e1
fix(inputs.modbus): Fix optimization of overlapping requests and add warning (#13486) 2023-06-23 07:53:57 -06:00
Sven Rebhan c459d7b8ff
fix(inputs.modbus): Check number of register for datatype (#13485) 2023-06-23 07:51:56 -06:00
Zeyad Kenawi 577db893e2
feat(internal): Add zstd to internal content_coding (#13423) 2023-06-22 08:54:13 -06:00
Sven Rebhan a1c06429de
fix: Handle compression level correctly for different algorithms (#13434) 2023-06-20 07:55:10 -06:00
Sven Rebhan a2125f0457
fix(custom_builder): Correctly handle serializers and parsers (#13446) 2023-06-20 07:52:38 -06:00
Fredrik Nilsson 390751b94b
feat(inputs.sqlserver): Add IsHadrEnabled server property (#13448) 2023-06-20 07:33:43 -06:00
Joshua Powers 33be0dc081
feat(inputs.openstack): Gather cinder services (#13443) 2023-06-16 11:08:54 +02:00
Sven Rebhan 1cfa48eea9
feat(inputs.fail2ban): Allow specification of socket (#13452) 2023-06-15 12:34:59 -06:00
Joshua Powers fc5412dd9b
test: Do not use hard-coded /tmp/telegraf (#13444) 2023-06-14 21:39:31 +02:00
Michał 866d77192c
feat(inputs.ravendb): Add new disk metrics fields (#13433) 2023-06-14 12:18:15 +02:00
Sven Rebhan 8ceaeece8b
feat(inputs.netflow): Allow to specify custom PEN field mappings (#13360) 2023-06-12 14:32:54 +02:00
bkotlowski 09adec7395
feat(inputs): New Intel Baseband Accelerator Input Plugin (#13397) 2023-06-09 08:02:34 -06:00
Dan Clough 037eb2f545
fix(inputs.upsd): Handle float battery.runtime value (#13412) 2023-06-09 07:37:19 -06:00
Zeyad Kenawi cba7369903
feat(internal): Add additional faster compression options (#13316) 2023-06-09 07:28:14 -06:00
Anton Brekhov dada11e228
feat(outputs): Add Nebius Cloud Monitoring plugin (#13379) 2023-06-09 07:23:52 -06:00
Paweł Żak a2f65d5728
chore: Fix linter findings for Windows (part4) (#13246)
Co-authored-by: Pawel Zak <Pawel Zak>
Co-authored-by: pzak <pzak>
2023-06-09 10:24:43 +02:00
Joshua Powers 8b815cb193
fix(outputs.sql): Use config.duration to correctly parse toml config (#13408) 2023-06-09 10:22:36 +02:00
Jacob Marble 0f7004e7ea
feat(inputs.opentelemetry): Add configurable span dimensions (#13404) 2023-06-09 10:14:20 +02:00
Paweł Żak 02f0b15033
chore: Enable dynamicFmtString and sprintfQuotedString checkers for gocritic (#13279)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-06-09 10:11:52 +02:00
Joshua Powers ebe346103e
fix(inputs.mqtt): ACK messages when persistence enabled (#13350) 2023-06-07 20:50:00 +02:00
Joshua Powers db84ef4667
docs: Add generic secret store usage (#13400) 2023-06-07 09:25:54 -06:00
Joshua Powers 820fa1e311
chore(secretstores): Clean up secret store usage (#13398) 2023-06-07 12:08:09 +02:00
Joshua Powers 0ec5da26f5
docs(secretstores.os): Clarify windows credential usage (#13399) 2023-06-07 12:06:32 +02:00
Sven Rebhan 6d1da80ebb
docs(inputs.prometheus): Add example for prometheus timestamps (#13362) 2023-06-06 07:28:45 -06:00
Sven Rebhan 37d82f741c
fix(tests): Replace last 'cat' instance in tests (#13394) 2023-06-06 07:23:06 -06:00
Sven Rebhan 187902ecd4
chore(inputs.gnmi): Test plugin and subscription options (#13384) 2023-06-05 13:56:09 -06:00
Sven Rebhan b24c832a41
chore: Another try to fix CI (#13387) 2023-06-05 13:14:23 -06:00
Dawid Wołosowicz 536ab9e7b2
docs(outputs.sql): improve the documentation (#13385) 2023-06-05 07:42:44 -06:00
Luke Winikates 28073ab034
feat(outputs.wavefront): Add TLS and HTTP Timeout configuration fields (#13349) 2023-06-05 15:34:31 +02:00
Sven Rebhan eea3bf3c0a
chore(processors.execd): Remove JSON test due to problematic 'cat' command (#13383) 2023-06-02 11:11:48 -06:00
Sven Rebhan 97d10a5ee9
fix(internal): Fix time parsing for abbreviated timezones (#13363) 2023-06-02 10:05:55 -06:00
Sven Rebhan 9c6cd94d6e
chore: Add generator for sample-config includes (#13348) 2023-06-02 08:08:56 -06:00
Povilas Versockas cd4eaf564f
chore(deps): Bump github.com/influxdata/influxdb-observability libraries from 0.3.3 to 0.3.15 (#13265) 2023-06-02 13:24:33 +02:00
Joshua Powers ca7c8f7005
chore: update removal and deprecations for v1.30.0 (#13351) 2023-06-02 12:36:19 +02:00
Sven Rebhan c3ce6a8e12
chore(config): Split tests to avoid cyclic import (#13371) 2023-06-02 12:32:10 +02:00
Sven Rebhan 4a8b1473f7
chore(serializers): Cleanup after migration (#13378) 2023-06-01 12:10:06 -06:00
Sven Rebhan 9147afbeca
fix(inputs.gnmi): Handle canonical field-name correctly for non-explicit subscriptions (#13332) 2023-06-01 11:32:51 -06:00
MartinHBA 1c60c057e9
feat(inputs.sqlserver): Check SQL Server "encryptionEnforce" with xp_instance_regread (#13284) 2023-06-01 07:00:56 -06:00
Sven Rebhan 2be423a1e9
chore(deps): Bump github.com/showwin/speedtest-go from 1.5.2 to 1.6.2 (#13369) 2023-06-01 11:34:34 +02:00
Rajiv Kushwaha 7427ea33c7
feat(common.tls): Add support for passphrase-protected private key (#13262) 2023-06-01 10:04:59 +02:00
Sven Rebhan 6c49584355
feat(inputs.netflow): Add sFlow decoder (#13047) 2023-06-01 10:02:21 +02:00
Sven Rebhan 5a8ccbde6f
chore(serializers.prometheus): Migrate to new-style framework (#13347) 2023-05-31 11:02:19 -06:00
Yannick Binnenweg 76889af6f2
fix(inputs.mysql): Update MariaDB Dialect regex version check (#13361) 2023-05-31 10:09:58 +02:00
Joshua Powers 664d013acb
docs: remove whitespace (#13367) 2023-05-30 11:47:26 -06:00
Sven Rebhan 5874825624
docs: Fix markdownlinter issues (#13365) 2023-05-30 11:13:54 -06:00
Joshua Powers bc3ac27aef
docs(inputs.cisco_telemetry_mdt): Specify max msg upper limit (#13346) 2023-05-30 16:50:38 +02:00
Sven Rebhan 238478bc9c
chore(serializers.wavefront): Migrate to new-style framework (#13344) 2023-05-26 11:51:03 -06:00
Sven Rebhan b20a3ac77b
chore(serializers.splunkmetric): Migrate to new-style framework (#13342) 2023-05-26 08:43:58 -06:00
Sven Rebhan 7a521ff73b
chore(serializers.prometheusremotewrite): Migrate to new-style framework (#13341) 2023-05-26 07:51:12 -06:00
Sven Rebhan d769495276
chore(serializers.nowmetric): Migrate to new-style framework (#13340) 2023-05-26 07:50:33 -06:00
Johannes Albrecht 2a33f496c4
feat: Add input plugin for ctrlX Data Layer (#11155) 2023-05-26 07:49:47 -06:00
Joshua Powers 05aab954cf
fix: remove unused imports (#13339) 2023-05-25 13:26:47 -06:00
Sven Rebhan ece214e5a9
chore(serializers.json): Migrate to new-style framework (#13335) 2023-05-25 13:22:14 -06:00
Sven Rebhan a1743269cc
chore(serializers.msgpack): Migrate to new-style framework (#13336) 2023-05-25 13:20:50 -06:00
Sven Rebhan bbe30f769d
chore(serializers.graphite): Migrate to new-style framework (#13321) 2023-05-24 08:49:41 -06:00
Sven Rebhan 272add9b84
feat(secretstores): Add http plugin (#13150) 2023-05-24 08:48:59 -06:00
Sven Rebhan 8f07761cba
feat(inputs.gnmi): Allow canonical field names (#13326) 2023-05-24 08:14:06 -06:00
Sven Rebhan 60ee14d50b
fix(inputs.netflow): Handle PEN messages correctly (#13320) 2023-05-24 08:07:54 -06:00
Sven Rebhan 5237d569d7
fix(inputs.netflow): Fix field mappings (#13325) 2023-05-24 07:09:21 -06:00
Andrew St Pierre 8677dd4097
fix(outputs.wavefront): Flush metric buffer before reaching overflow (#13252) 2023-05-24 09:54:39 +02:00
Muhammad Ahsan Ali 2010926e25
feat(inputs.cloudwatch): Add support for cross account oberservability (#12448) 2023-05-24 09:42:30 +02:00
Sven Rebhan 7ced2606b2
chore(parsers)!: Remove old-style creation (#13310) 2023-05-23 14:17:11 -06:00
Adam Thornton 8762c71e65
feat(inputs.kafka_consumer): Add regular expression support for topics (#11831) 2023-05-23 12:08:01 -06:00
Sven Rebhan 66988b81cf
chore(serializers.csv): Migrate to new-style framework (#13319) 2023-05-23 08:18:48 -06:00
Sven Rebhan fb3cd61579
fix(inputs.gnmi): Allow optional origin for update path (#13304) 2023-05-23 07:06:02 -06:00
Sven Rebhan 5d5147d186
fix(processors.lookup): Do not strip tracking info (#13301) 2023-05-23 06:53:39 -06:00
Joshua Powers ef8484aab3
fix(inputs.temp): Ignore warnings, return errors (#13307) 2023-05-22 22:11:05 +02:00
Bernt-Johan Bergshaven df166cfbcc
feat: Add Clarify output plugin (#13220) 2023-05-22 12:08:55 -06:00
Sven Rebhan 759691a1fd
fix(inputs.socket_listener): Fix race in tests (#13300) 2023-05-22 06:31:22 -06:00
cui fliter b08a2bb324
chore(docs): Remove repetitive "the" (#13295) 2023-05-22 06:14:01 -06:00
Neelay Upadhyaya 2476640d0f
feat(inputs.sql): Add 'disconnected_servers_behavior' field in the configuration (#13289) 2023-05-22 09:39:16 +02:00
Sven Rebhan d06fb73228
chore(serializers.carbon2): Migrate to new-style framework (#13291) 2023-05-19 12:44:26 -06:00
Sven Rebhan ed72510fe3
feat(inputs.nats_consumer): Add receiver subject as tag (#13293) 2023-05-19 12:39:59 -06:00
varunjain0606 1b74a25252
feat(inputs.kubernetes): Extend kube_inventory plugin to include and extend resourcequota, secrets, node, and pod measurement (#13040) 2023-05-19 07:54:09 -06:00
Sven Rebhan ad4df2105c
fix(inputs.socket_listener): Avoid noisy logs on closed connection (#13288) 2023-05-19 07:05:24 -06:00
Paweł Żak 727533ee55
chore: Enable deferInLoop, exitAfterDefer and unnecessaryDefer checkers for gocritic (#13280)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-05-19 09:55:08 +02:00
Neelay Upadhyaya 129f8881c8
fix(inputs.vsphere): specify the correct option for disconnected_servers_behavior (#13286) 2023-05-18 11:47:08 -06:00
Sven Rebhan 7da5d68315
feat(processors.template): Allow `tag` to be a template (#13253) 2023-05-17 15:55:30 -06:00
Niko d7dfe4ed48
feat(inputs.sqlserver): Add Azure Arc-enabled SQL MI support (#13261) 2023-05-17 12:36:02 -06:00
Patrick Hemmer f098e5f9f6
fix(inputs.socket_listener): Fix loss of connection tracking (#13056) 2023-05-17 12:34:53 -06:00
Thomas Casteleyn f0dc15fd9c
feat(inputs.directory_monitor): Improve internal stats (#13089) 2023-05-17 12:05:48 -06:00
Sven Rebhan afab345573
feat(processors.scale): Add scaling by factor and offset (#13227) 2023-05-08 09:27:58 -06:00
Maxim Ivanov 5cb928cc5d
fix(inputs.prometheus): Avoid race when creating informer factory (#13231) 2023-05-08 16:25:32 +02:00
Sven Rebhan 1bcc279d68
feat(serializers): Add CloudEvents serializer (#13224) 2023-05-05 11:40:27 -06:00
Sven Rebhan fc4e896746
feat(inputs.sql): Add FlightSQL support (#13091) 2023-05-05 11:04:18 -06:00
Nick Thomas a808b9f077
feat(parsers.opentsdb): Add OpenTSDB data format parser (#13167) 2023-05-05 07:14:51 -06:00
Joshua Powers d12bcec8c4
fix(outputs.stackdriver): Allow for custom metric type prefix (#13168) 2023-05-04 11:56:29 -06:00
Max cf7ec5072d
fix(outputs.graphite): Fix logic to reconnect with servers that were not up on agent startup (#13228) (#13239) 2023-05-04 19:20:20 +02:00
Daniel Ayvar 43048aad8c
fix(inputs.cloud_pubsub): Fix gzip decompression (#13238) 2023-05-04 19:19:06 +02:00
Joshua Powers 1b8339ace8
docs(common.kafka): Remove experimental notes (#13232) 2023-05-04 19:17:40 +02:00
Paweł Żak 7919405cfd
chore: Fix linter findings for Windows (part3) (#13143) 2023-05-04 10:14:36 -06:00
Joshua Powers 8396f1a00d
feat(outputs.loki): Add option for metric name label (#13157) 2023-05-04 11:56:19 +02:00
Joshua Powers 1a7c274ddf
fix(outputs.stackdriver): Group batches by timestamp (#12994) 2023-05-04 11:48:54 +02:00
Joshua Powers 6dd3bcb41a
feat(processors.parser): Add merge with timestamp option (#13147) 2023-05-03 09:50:32 +02:00
Luke Winikates e9f55a848f
chore(deps): Bump prometheus from v1.8.2 to v2.42.0 (#13225)
Dependency version 0.42.0 corresponds to release version 2.42.0 see [prometheus versioning description](https://github.com/prometheus/prometheus#prometheus-code-base) for details.
2023-05-03 09:47:00 +02:00
Daniel Ayvar 872d51714e
feat(cloud_pubsub): Add support for gzip compression (#13094) 2023-05-02 20:04:00 +02:00
Povilas Versockas 92b6d96486
feat(inputs.statsd): Add optional temporality and start_time tag for statsd metrics (#13087) 2023-05-02 19:19:30 +02:00
Joshua Powers 9284bdabf0
feat(inputs.suricata): Add ability to parse drop or rejected (#13048) 2023-05-02 19:07:34 +02:00
Paweł Żak 30b603626c
chore: Enable G404 rule for gosec (#13095) 2023-05-02 06:31:50 -06:00
Orlov Roman 20921eb535
fix(outputs.prometheus_client): Fix export_timestamp for v1 metric type (#13169)
Co-authored-by: Roman Orlov <orlov@farpost.com>
2023-05-02 13:46:57 +02:00
Joshua Powers 80b8fe6333
fix(serializers.influx): Restore disabled uint support by default (#13164) 2023-05-02 13:45:19 +02:00
tguenneguez 3d40659387
feat(inputs.filecount): Add oldestFileTimestamp and newestFileTimestamp (#13163) 2023-05-02 13:34:56 +02:00
Joshua Powers 7436575ea7
docs(inputs.vsphere): Resolve copy/paste typo with resource pools (#13162) 2023-05-02 13:32:02 +02:00
Joshua Powers e1390b2f3d
fix(processors.starlark): Ddo not reject tracking metrics twice (#13156) 2023-05-02 13:30:50 +02:00