Commit Graph

21 Commits

Author SHA1 Message Date
Sven Rebhan 48963846f2
feat(parsers.openmetrics): Add parser for OpenMetrics format (#15298) 2024-05-16 15:28:08 -05:00
Sven Rebhan c5e915e32b
chore(deps): Bump github.com/prometheus/client_golang from 1.18.0 to 1.19.0 (#15100) 2024-04-03 14:50:31 -05:00
Sven Rebhan fcb713a0a7
fix(inputs.prometheus): Initialize logger of parser (#15021) 2024-03-19 11:42:51 -05:00
Paweł Żak c4dbe65732
chore(linters): Bump golangci-lint to v1.56.1 (#14759) 2024-02-12 23:26:10 +01:00
Paweł Żak ae7fbc5082
chore(linters): Replace 'fmt.Errorf' with 'errors.New' wherever possible (#14698) 2024-02-08 11:32:30 -06:00
Sven Rebhan 57021be82c
fix(parsers.prometheus): Do not touch input data for protocol-buffers (#14606) 2024-01-22 12:25:03 -07:00
Sven Rebhan b638c886f7
chore(parsers.prometheus): Consolidation v1 and v2 parsers (#14580) 2024-01-16 13:13:56 -07:00
Sven Rebhan d7a5bf6d70
chore(inputs.prometheus): Consolidate parsers for metric v1 and v2 (#14524) 2024-01-04 12:30:04 -07:00
Sven Rebhan 7ced2606b2
chore(parsers)!: Remove old-style creation (#13310) 2023-05-23 14:17:11 -06:00
Paweł Żak 4201f24020
chore: Fix linter findings for errorlint (part2) (#12702)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-02-22 12:08:46 +01:00
Paweł Żak 960a1f7b14
chore: Fix linter findings for prealloc (part3) (#12246) 2022-11-21 21:53:55 +01:00
Sven Rebhan 2b7cafcdbe
fix(parsers): Unwrap parser and remove some special handling (#11826) 2022-09-19 09:57:24 -06:00
Martin Molnar 2ac311c4f9
fix(parsers.prometheus): histogram infinity bucket must be allways present (#11490) (#11486) 2022-07-15 07:11:02 -06:00
reimda c25f9a0e83
fix: Update prometheus parser to be a new style parser plugin (#11440) 2022-07-06 10:07:53 -06:00
Paweł Żak 8e85a67ee1
fix: Linter fixes for plugins/parsers/[a-z]* (#10145) 2021-11-24 11:52:51 -07:00
Yuji Kawamoto d2a25456d5
feat(prometheus): add ignore_timestamp option (#9740) 2021-10-05 15:11:46 -06: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
Paweł Żak 17efd172b7
Clearing LGTM alerts and warnings (#8923) 2021-03-03 14:56:31 -05: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
Aladex 4b7d11385c
Using mime-type in prometheus parser to handle protocol-buffer responses (#8545) 2021-01-07 11:21:09 -05:00
Dmitry Senin 0ccb134ae4
Add a parser plugin for prometheus (#7778) 2020-12-02 12:48:44 -07:00