dependabot[bot]
26032f785e
Bump github.com/prometheus/client_golang from 1.20.5 to 1.21.0
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.20.5 to 1.21.0.
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.20.5...v1.21.0 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-03-03 08:51:35 +00:00
Pedro Tanaka
4d9b92568d
Merge pull request #616 from prometheus/dependabot/go_modules/github.com/prometheus/exporter-toolkit-0.14.0
...
Bump github.com/prometheus/exporter-toolkit from 0.13.2 to 0.14.0
2025-03-03 09:50:27 +01:00
dependabot[bot]
34a445d689
Bump github.com/prometheus/exporter-toolkit from 0.13.2 to 0.14.0
...
Bumps [github.com/prometheus/exporter-toolkit](https://github.com/prometheus/exporter-toolkit ) from 0.13.2 to 0.14.0.
- [Release notes](https://github.com/prometheus/exporter-toolkit/releases )
- [Changelog](https://github.com/prometheus/exporter-toolkit/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prometheus/exporter-toolkit/compare/v0.13.2...v0.14.0 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/exporter-toolkit
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-03-01 10:16:43 +00:00
Pedro Tanaka
45044cbc48
Merge pull request #602 from prometheus/feat/multi-valued-event
...
feat(event): Add MultiValueEvent interface and MultiObserverEvent implementation
2025-02-22 14:47:19 +01:00
Pedro Tanaka
cc1fcb45af
Drop Value() method from MultiValueEvent and fixing expansion logic
...
Signed-off-by: Pedro Tanaka <pedro.stanaka@gmail.com>
2025-02-22 14:05:01 +01:00
Pedro Tanaka
ce77e77d0e
Merge pull request #612 from prometheus/dependabot/go_modules/github.com/prometheus/common-0.62.0
...
Bump github.com/prometheus/common from 0.61.0 to 0.62.0
2025-02-17 11:53:25 +01:00
Ben Kochie
f37cc2b683
Merge pull request #613 from prometheus/repo_sync
...
Synchronize common files from prometheus/prometheus
2025-02-09 09:23:25 +01:00
prombot
2f34dcbf06
Update common Prometheus files
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2025-02-08 17:48:05 +00:00
dependabot[bot]
91cc6182b1
Bump github.com/prometheus/common from 0.61.0 to 0.62.0
...
Bumps [github.com/prometheus/common](https://github.com/prometheus/common ) from 0.61.0 to 0.62.0.
- [Release notes](https://github.com/prometheus/common/releases )
- [Changelog](https://github.com/prometheus/common/blob/main/RELEASE.md )
- [Commits](https://github.com/prometheus/common/compare/v0.61.0...v0.62.0 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/common
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-02-01 10:03:36 +00:00
Pedro Tanaka
a7bc1e8652
Merge pull request #605 from pedro-stanaka/feat/clash-metric-name-label
...
Keep track of metric names on the metric statsd_exporter_events_conflict_total
2025-01-24 10:15:12 +01:00
Ben Kochie
4014d84fff
Merge pull request #610 from prometheus/dependabot/go_modules/golang.org/x/net-0.33.0
...
Bump golang.org/x/net from 0.32.0 to 0.33.0
2025-01-16 10:09:53 +01:00
dependabot[bot]
0d54d0ed32
Bump golang.org/x/net from 0.32.0 to 0.33.0
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.32.0 to 0.33.0.
- [Commits](https://github.com/golang/net/compare/v0.32.0...v0.33.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-01-16 08:46:27 +00:00
Pedro Tanaka
493392ecf0
Merge pull request #609 from prometheus/repo_sync
...
Synchronize common files from prometheus/prometheus
2025-01-16 09:45:39 +01:00
prombot
7f8da59baa
Update common Prometheus files
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2025-01-15 17:47:59 +00:00
Ben Kochie
37d4cfa364
Merge pull request #606 from prometheus/repo_sync
...
Synchronize common files from prometheus/prometheus
2024-12-30 21:22:18 +01:00
prombot
96ed54b157
Update common Prometheus files
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2024-12-29 17:47:51 +00:00
Pedro Tanaka
d45b0e3e36
Keep track of metric names on the metric statsd_exporter_events_conflict_total
...
Signed-off-by: Pedro Tanaka <pedro.tanaka@shopify.com>
2024-12-23 15:33:27 +01:00
Pedro Tanaka
a125dac85b
Rewording Explode -> Expand
...
Signed-off-by: Pedro Tanaka <pedro.tanaka@shopify.com>
2024-12-23 11:24:37 +01:00
Pedro Tanaka
e5c2d40581
Make previous events implement MultiValueEvent
...
and simplify tests;
Signed-off-by: Pedro Tanaka <pedro.tanaka@shopify.com>
2024-12-23 11:20:49 +01:00
Pedro Tanaka
46cb41614e
feat(event): Add MultiValueEvent interface and MultiObserverEvent implementation
...
This PR introduces the first step in refactoring the event handling system to better
support multiple values in a single event, which will help reduce allocations when
processing events. This is part of a larger effort to improve performance and reduce
memory allocations in the statsd exporter.
Changes:
- Add new `MultiValueEvent` interface that supports multiple values per event
- Add `MultiObserverEvent` implementation for handling multiple observations
- Add `ExplodableEvent` interface for backward compatibility
- Add `Values()` method to existing event types
- Add comprehensive tests for new interfaces and implementations
This change is the foundation for future improvements that will:
1. Move explosion logic to a dedicated package
2. Update the line parser to use multi-value events
3. Modify the exporter to handle multi-value events directly
4. Eventually remove the need for event explosion
The changes in this PR are backward compatible and don't affect existing functionality.
Relates to #577
Signed-off-by: Pedro Tanaka <pedro.tanaka@shopify.com>
2024-12-17 18:19:19 +01:00
Ben Kochie
32fee3f94b
Merge pull request #600 from prometheus/dependabot/go_modules/github.com/prometheus/exporter-toolkit-0.13.2
...
Bump github.com/prometheus/exporter-toolkit from 0.13.1 to 0.13.2
2024-12-13 19:30:08 +01:00
Ben Kochie
ffbede602e
Merge pull request #601 from prometheus/repo_sync
...
Synchronize common files from prometheus/prometheus
2024-12-13 19:29:44 +01:00
prombot
1093a661ea
Update common Prometheus files
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2024-12-13 17:47:49 +00:00
dependabot[bot]
98de69fdda
Bump github.com/prometheus/exporter-toolkit from 0.13.1 to 0.13.2
...
Bumps [github.com/prometheus/exporter-toolkit](https://github.com/prometheus/exporter-toolkit ) from 0.13.1 to 0.13.2.
- [Release notes](https://github.com/prometheus/exporter-toolkit/releases )
- [Changelog](https://github.com/prometheus/exporter-toolkit/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prometheus/exporter-toolkit/compare/v0.13.1...v0.13.2 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/exporter-toolkit
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-12-13 16:11:47 +00:00
Ben Kochie
fa11c20fd1
Merge pull request #596 from prometheus/repo_sync
...
Synchronize common files from prometheus/prometheus
2024-12-13 09:38:40 +01:00
prombot
0e8f597c40
Update common Prometheus files
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2024-11-12 17:47:57 +00:00
Matthias Rampke
285293f587
Merge pull request #595 from prometheus/repo_sync
...
Synchronize common files from prometheus/prometheus
2024-11-09 16:51:24 +01:00
prombot
7b20c1c6b0
Update common Prometheus files
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2024-11-08 17:47:53 +00:00
Matthias Rampke
8cf95221d1
Merge pull request #594 from prometheus/mr/welcome-pedro
...
Add Pedro Tanaka as co-maintainer
2024-11-08 15:34:09 +01:00
Matthias Rampke
3a4875414b
Add Pedro Tanaka as co-maintainer
...
Pedro runs [one of the largest statsd-exporter
installations](https://promcon.io/2023-berlin/talks/taming-the-tsunami-low-latency-ingestion-of-push-based-metrics-in-prometheus/ )
and is a natural fit for this 😀
Thank you Pedro for agreeing to help out!
Signed-off-by: Matthias Rampke <matthias@prometheus.io>
2024-11-08 14:25:03 +00:00
Matthias Rampke
e103da1d09
Merge pull request #593 from prometheus/repo_sync
...
Synchronize common files from prometheus/prometheus
2024-11-08 15:22:34 +01:00
Matthias Rampke
3082cf590c
Merge pull request #592 from prometheus/dependabot/go_modules/github.com/prometheus/exporter-toolkit-0.13.1
...
Bump github.com/prometheus/exporter-toolkit from 0.13.0 to 0.13.1
2024-11-08 15:22:26 +01:00
prombot
5d59712795
Update common Prometheus files
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2024-11-05 17:48:04 +00:00
dependabot[bot]
9803afaa8d
Bump github.com/prometheus/exporter-toolkit from 0.13.0 to 0.13.1
...
Bumps [github.com/prometheus/exporter-toolkit](https://github.com/prometheus/exporter-toolkit ) from 0.13.0 to 0.13.1.
- [Release notes](https://github.com/prometheus/exporter-toolkit/releases )
- [Changelog](https://github.com/prometheus/exporter-toolkit/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prometheus/exporter-toolkit/compare/v0.13.0...v0.13.1 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/exporter-toolkit
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-11-01 10:44:40 +00:00
Matthias Rampke
009fcca35f
Merge pull request #590 from prometheus/repo_sync
...
Synchronize common files from prometheus/prometheus
2024-10-25 20:58:18 +02:00
prombot
3e8c235b06
Update common Prometheus files
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2024-10-25 17:47:43 +00:00
Matthias Rampke
c0a390a2c4
release 0.28.0
...
Signed-off-by: Matthias Rampke <matthias@prometheus.io>
2024-10-25 13:47:38 +00:00
Matthias Rampke
9cf8734c97
Merge pull request #589 from prometheus/dependabot/go_modules/github.com/prometheus/client_golang-1.20.5
...
Bump github.com/prometheus/client_golang from 1.20.4 to 1.20.5
2024-10-25 15:32:57 +02:00
Matthias Rampke
211680b98c
Merge pull request #588 from prometheus/dependabot/go_modules/github.com/prometheus/common-0.60.1
...
Bump github.com/prometheus/common from 0.60.0 to 0.60.1
2024-10-25 15:32:52 +02:00
Ben Kochie
bcd2cd8862
Merge pull request #581 from prometheus/repo_sync
...
Synchronize common files from prometheus/prometheus
2024-10-25 15:24:37 +02:00
dependabot[bot]
3cd0545478
Bump github.com/prometheus/client_golang from 1.20.4 to 1.20.5
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.20.4 to 1.20.5.
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.20.4...v1.20.5 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-25 13:24:31 +00:00
dependabot[bot]
64cc00e019
Bump github.com/prometheus/common from 0.60.0 to 0.60.1
...
Bumps [github.com/prometheus/common](https://github.com/prometheus/common ) from 0.60.0 to 0.60.1.
- [Release notes](https://github.com/prometheus/common/releases )
- [Changelog](https://github.com/prometheus/common/blob/main/RELEASE.md )
- [Commits](https://github.com/prometheus/common/compare/v0.60.0...v0.60.1 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/common
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-25 13:24:29 +00:00
Matthias Rampke
8aac1cabf3
Merge pull request #586 from prometheus/superq/slog
...
Update exporter-toolkit
2024-10-25 15:23:18 +02:00
SuperQ
e3378f8027
Update exporter-toolkit
...
* Update Go to 1.23.
* Replace go-kit/log with slog.
Signed-off-by: SuperQ <superq@gmail.com>
2024-10-11 09:35:20 +02:00
Matthias Rampke
c18857b71b
release 0.27.2
...
Signed-off-by: Matthias Rampke <matthias@prometheus.io>
2024-10-07 13:28:01 +00:00
Matthias Rampke
a20db6eec6
Merge pull request #579 from prometheus/mr/issue-572/fix-panic
...
Fix panic when parsing invalid lines
2024-10-07 13:26:40 +00:00
Matthias Rampke
a7b501d3f2
Test release for PR #579
...
Signed-off-by: Matthias Rampke <matthias@prometheus.io>
2024-09-16 09:35:10 +00:00
prombot
2a6c1a326b
Update common Prometheus files
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2024-09-15 17:47:29 +00:00
Matthias Rampke
1a5428f4ef
Tidy up log messages in line parsing
...
Use go-error-style colons to add more details. Un-capitalize.
Signed-off-by: Matthias Rampke <matthias@prometheus.io>
2024-09-15 11:50:55 +00:00
Matthias Rampke
0c2c1d96f9
Fix panic when parsing invalid lines
...
The line
```
|h|#consumer:Kafka::SharedConfigurationConsumer,topic:shared_configuration_update,partition:1,consumer_group:tc_rc_us
```
caused a panic because the line parsing _first_ splits by `:` and then failed to
find a `|` to split on.
Check that we get at least two "line parts" (i.e. splits around `|`) when we
expect them, and if not, gracefully reject the line instead of crashing.
Fixes #572 .
Signed-off-by: Matthias Rampke <matthias@prometheus.io>
2024-09-15 11:46:57 +00:00