Commit graph

992 commits

Author SHA1 Message Date
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
Matthias Rampke
eccf511051
Merge pull request #578 from prometheus/mr/govet-all
Enable all govet linters except fieldalignment
2024-09-15 09:54:28 +00:00
Matthias Rampke
658dadba2f
Merge pull request #568 from prometheus/repo_sync
Synchronize common files from prometheus/prometheus
2024-09-15 09:48:55 +00:00
Matthias Rampke
77d911b7fe
Enable all govet linters except fieldalignment
When linting, govet complains about the deprecated `check-shadowing` setting.
Replace it with enabling all currently passing linters. This excludes only
`fieldalignment`.

Signed-off-by: Matthias Rampke <matthias@prometheus.io>
2024-09-15 09:40:28 +00:00
Matthias Rampke
c7a3f16195
Remove unnecessary nil checks
making yet another linter happier

Signed-off-by: Matthias Rampke <matthias@prometheus.io>
2024-09-15 09:37:35 +00:00
prombot
c818915ae3
Update common Prometheus files
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2024-09-15 09:37:34 +00:00
Matthias Rampke
32f8087bcc
Merge pull request #575 from prometheus/dependabot/go_modules/github.com/prometheus/client_golang-1.20.3
Bump github.com/prometheus/client_golang from 1.20.2 to 1.20.3
2024-09-15 09:07:53 +00:00
dependabot[bot]
2d0de3fba8
Bump github.com/prometheus/client_golang from 1.20.2 to 1.20.3
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.20.2 to 1.20.3.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/v1.20.3/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.20.2...v1.20.3)

---
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-09-12 07:54:15 +00:00
Matthias Rampke
cfb74254cb
Merge pull request #571 from prometheus/dependabot/go_modules/github.com/prometheus/client_golang-1.20.2
Bump github.com/prometheus/client_golang from 1.20.0 to 1.20.2
2024-09-12 07:53:22 +00:00
Matthias Rampke
b967f755be
Merge pull request #570 from prometheus/dependabot/go_modules/github.com/prometheus/common-0.57.0
Bump github.com/prometheus/common from 0.55.0 to 0.57.0
2024-09-12 07:53:00 +00:00
dependabot[bot]
1221aed101
Bump github.com/prometheus/client_golang from 1.20.0 to 1.20.2
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.20.0 to 1.20.2.
- [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.0...v1.20.2)

---
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-09-01 10:32:40 +00:00
dependabot[bot]
4cef1c0d49
Bump github.com/prometheus/common from 0.55.0 to 0.57.0
Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.55.0 to 0.57.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.55.0...v0.57.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>
2024-09-01 10:32:38 +00:00
Matthias Rampke
58c8a24608
Merge pull request #567 from prometheus/repo_sync
Synchronize common files from prometheus/prometheus
2024-08-18 19:27:51 +00:00
Matthias Rampke
da51813af4
remove inactive linters
Signed-off-by: Matthias Rampke <matthias@prometheus.io>
2024-08-18 19:12:14 +00:00
prombot
4fcebbde52 Update common Prometheus files
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2024-08-18 17:47:37 +00:00
Matthias Rampke
90547ea496
Rev version one more time
forgot to merge the dependency updates before pushing the tag.

Signed-off-by: Matthias Rampke <matthias@prometheus.io>
2024-08-18 15:29:29 +00:00
Matthias Rampke
3d4d6a9d5c
Merge pull request #566 from prometheus/mr/dependency-mass-update
Update all Go module dependencies
2024-08-18 15:18:10 +00:00
Matthias Rampke
c5aee286ee
Changelog & version bump for 0.27.0
And add a mention of #558 extended aggregations to the README.

Signed-off-by: Matthias Rampke <matthias@prometheus.io>
2024-08-18 15:17:30 +00:00
Matthias Rampke
2b2623218f
Update all Go module dependencies
It's been a while – instead of piecemeal updates, let's do a full `go get -d -u ./...`.

Signed-off-by: Matthias Rampke <matthias@prometheus.io>
2024-08-18 14:54:11 +00:00
Matthias Rampke
060a3a8870
Merge pull request #556 from prometheus/superq/build
Update Go
2024-08-18 14:40:18 +00:00
Matthias Rampke
8aec6fdf63
Merge pull request #558 from GrgDev/add-datadog-ext-agg-support
Add DogStatsD extended aggregation support
2024-08-18 14:39:22 +00:00
Greg Chambers
96609f9679 Added test extended aggregation test set to other test set functions
Signed-off-by: Greg Chambers <gregory.w.chambers@gmail.com>
2024-06-02 14:42:34 -07:00
Greg Chambers
468af47dfb Added test for invalid Influx style extended aggregation
Signed-off-by: Greg Chambers <gregory.w.chambers@gmail.com>
2024-06-02 14:23:53 -07:00
Greg Chambers
da94065b43 Added tests to cover invalid extended aggregation in signal fx format
Signed-off-by: Greg Chambers <gregory.w.chambers@gmail.com>
2024-06-02 14:15:07 -07:00
Greg Chambers
ba68944bec Made dogstatsd tag check consistent with previous logic
Signed-off-by: Greg Chambers <gregory.w.chambers@gmail.com>
2024-06-02 13:42:16 -07:00
Greg Chambers
7b4f7310ae Added tagless and sampling handling in extended aggregation
Signed-off-by: Greg Chambers <gregory.w.chambers@gmail.com>
2024-06-02 13:35:22 -07:00
Greg Chambers
921ad0771f Added aggregate type checking with test validation
Signed-off-by: Greg Chambers <gregory.w.chambers@gmail.com>
2024-06-02 11:54:28 -07:00
Greg Chambers
dcb9cc9446 Added DogStatsD extended aggregation support.
Signed-off-by: Greg Chambers <gregc@unity3d.com>
2024-05-30 11:43:09 -07:00
SuperQ
905f00863b
Update Go
Update Go to 1.22.
* Update version collector.

Signed-off-by: SuperQ <superq@gmail.com>
2024-05-14 23:52:53 +02:00
Matthias Rampke
58769c7b4d
Release 0.26.1
maintenance release, rolling up all the version updates.

Signed-off-by: Matthias Rampke <matthias@prometheus.io>
2024-03-22 16:04:13 +00:00
Matthias Rampke
9c4dfce4e0
Merge pull request #550 from prometheus/mr/shorten-readme
Remove `--help` output from README
2024-03-22 15:57:54 +00:00
Matthias Rampke
29c77f407c
Remove --help output from README
I have no idea if it is even up to date. The README file was too large to fit
Docker Hub's limitations; this removal brings us just under the [25KB
limit](https://github.com/docker/hub-feedback/issues/238).

Signed-off-by: Matthias Rampke <matthias@prometheus.io>
2024-03-22 15:52:23 +00:00
Matthias Rampke
233d74d0f7
Merge pull request #549 from prometheus/repo_sync
Synchronize common files from prometheus/prometheus
2024-03-22 15:41:43 +00:00
prombot
3f985fa9ac Update common Prometheus files
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2024-03-22 15:28:27 +00:00