Commit graph

1050 commits

Author SHA1 Message Date
Pedro Tanaka
7d00675ec9
Merge pull request #635 from prometheus/repo_sync
Synchronize common files from prometheus/prometheus
2025-05-29 01:14:56 +01:00
prombot
05caab2de4 Update common Prometheus files
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2025-05-26 17:47:53 +00:00
Pedro Tanaka
ab1f7e9fa7
Merge pull request #633 from prometheus/repo_sync
Synchronize common files from prometheus/prometheus
2025-05-19 08:31:17 +01:00
prombot
66b02179b4 Update common Prometheus files
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2025-05-16 17:48:22 +00:00
Pedro Tanaka
3464f277df
Merge pull request #631 from prometheus/repo_sync
Synchronize common files from prometheus/prometheus
2025-05-05 10:04:49 +02:00
prombot
62ccc8c4a4 Update common Prometheus files
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2025-05-04 17:48:16 +00:00
dependabot[bot]
4feb411e09
Merge pull request #630 from prometheus/dependabot/go_modules/github.com/prometheus/client_model-0.6.2 2025-05-02 06:32:20 +00:00
dependabot[bot]
cbadf49755
Bump github.com/prometheus/client_model from 0.6.1 to 0.6.2
Bumps [github.com/prometheus/client_model](https://github.com/prometheus/client_model) from 0.6.1 to 0.6.2.
- [Release notes](https://github.com/prometheus/client_model/releases)
- [Commits](https://github.com/prometheus/client_model/compare/v0.6.1...v0.6.2)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_model
  dependency-version: 0.6.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-01 10:39:14 +00:00
dependabot[bot]
919fad636f
Merge pull request #628 from prometheus/dependabot/go_modules/golang.org/x/net-0.38.0 2025-04-17 07:20:07 +00:00
dependabot[bot]
58bae426f1
Bump golang.org/x/net from 0.36.0 to 0.38.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.36.0 to 0.38.0.
- [Commits](https://github.com/golang/net/compare/v0.36.0...v0.38.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-version: 0.38.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-16 23:24:59 +00:00
Ben Kochie
743c7f91b8
Merge pull request #619 from prometheus/dependabot/go_modules/golang.org/x/net-0.36.0
Bump golang.org/x/net from 0.33.0 to 0.36.0
2025-04-16 07:38:56 +02:00
dependabot[bot]
0fc3a29d69
Bump golang.org/x/net from 0.33.0 to 0.36.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.33.0 to 0.36.0.
- [Commits](https://github.com/golang/net/compare/v0.33.0...v0.36.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-15 16:29:43 +00:00
Ben Kochie
8ef8c1e933
Merge pull request #623 from prometheus/dependabot/go_modules/github.com/prometheus/client_golang-1.21.1
Bump github.com/prometheus/client_golang from 1.20.5 to 1.21.1
2025-04-15 18:28:31 +02:00
Ben Kochie
4f0e8416e0
Merge pull request #626 from prometheus/dependabot/go_modules/golang.org/x/crypto-0.35.0
Bump golang.org/x/crypto from 0.32.0 to 0.35.0
2025-04-15 18:28:09 +02:00
dependabot[bot]
c5785482d9
Bump golang.org/x/crypto from 0.32.0 to 0.35.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.32.0 to 0.35.0.
- [Commits](https://github.com/golang/crypto/compare/v0.32.0...v0.35.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-version: 0.35.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-15 13:57:21 +00:00
dependabot[bot]
ccc44de63f
Bump github.com/prometheus/client_golang from 1.20.5 to 1.21.1
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.20.5 to 1.21.1.
- [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.1)

---
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-04-15 13:43:54 +00:00
Ben Kochie
c2d5d18cdf
Merge pull request #622 from prometheus/dependabot/go_modules/github.com/prometheus/common-0.63.0
Bump github.com/prometheus/common from 0.62.0 to 0.63.0
2025-04-15 15:42:40 +02:00
Ben Kochie
343a50a3d1
Merge pull request #627 from prometheus/superq/go_1.24
Update Go
2025-04-15 15:41:52 +02:00
SuperQ
dbf1dba353
Update Go
* Update Go build to 1.24.
* Update minimum Go to 1.23.0.
* Update golangci-lint to v2.
* Fixup linter issues.

Signed-off-by: SuperQ <superq@gmail.com>
2025-04-15 13:34:19 +02:00
dependabot[bot]
edd97953e3
Bump github.com/prometheus/common from 0.62.0 to 0.63.0
Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.62.0 to 0.63.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.62.0...v0.63.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-04-01 10:52:51 +00:00
Pedro Tanaka
e1cef5e7a7
Merge pull request #621 from prometheus/repo_sync
Synchronize common files from prometheus/prometheus
2025-03-29 11:26:50 +01:00
prombot
c0758e1c1a Update common Prometheus files
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2025-03-28 17:48:19 +00:00
Ben Kochie
267753cdaa
Merge pull request #620 from prometheus/repo_sync
Synchronize common files from prometheus/prometheus
2025-03-23 09:20:29 +01:00
prombot
e1d5b04928 Update common Prometheus files
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2025-03-22 17:47:58 +00:00
Ben Kochie
3b86000e17
Merge pull request #618 from prometheus/repo_sync
Synchronize common files from prometheus/prometheus
2025-03-08 15:12:07 +01:00
prombot
a94ccca200 Update common Prometheus files
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2025-03-07 17:48:36 +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