Commit Graph

14 Commits

Author SHA1 Message Date
Paulo Dias cb71790cf7
chore(linters): Enforce import grouping with gci linter (#16526)
Signed-off-by: Paulo Dias <paulodias.gm@gmail.com>
Co-authored-by: Thomas Casteleyn <thomas.casteleyn@me.com>
2025-02-24 19:37:12 -06:00
Paweł Żak 878646a2c4
chore: Fix linter findings for `revive:unused-receiver` in `plugins/outputs` (#16338) 2025-01-15 20:58:39 +01:00
Paweł Żak 9415d8e7e9
chore(linters): Enable `import-alias-naming` and `redundant-import-alias` rules for revive (#15836) 2024-10-01 13:49:53 -05:00
Paweł Żak 8d282ab03a
chore: Fix linter findings for revive:max-public-structs in plugins/inputs/[t-z]* and rest (#15879) 2024-09-16 11:59:39 -05:00
Paweł Żak 686ff791ba
chore: Fix linter findings for `revive:enforce-repeated-arg-type-style` in `plugins/outputs` and `plugins/parsers` (#15847) 2024-09-11 14:57:14 -05:00
Joshua Powers f48b8504b6
fix(outputs.prometheus_client): Ensure v1 collector data expires promptly (#14232) 2023-11-30 12:02:17 +01:00
Sven Rebhan 84b3b587da
feat(prometheus): Allow to specify metric type (#13874) 2023-09-11 07:45:16 -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 b20e490031
fix(outputs.prometheus_client): Expire with ticker, not add/collect (#12560) 2023-01-31 10:38:10 +01:00
Joshua Powers a1de125ace
fix(outputs.prometheus): expire during add (#12160)
fixes https://github.com/influxdata/telegraf/issues/9821
2022-11-07 12:36:34 -06:00
Sven Rebhan ac26d786fe
fix(outputs): Linter issues (#11595) 2022-08-03 07:20:51 -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
Daniel Nelson aabc7e7d4f
Replace colon chars in prometheus output labels with metric_version=1 (#6781) 2019-12-10 12:59:16 -08:00
Daniel Nelson 80c5edd48e
Add prometheus serializer and use it in prometheus output (#6703) 2019-11-26 15:46:31 -08:00