Skip to content

Commit 2c7fd1e

Browse files
committed
Release 0.26.0
with documentation for #521 and changelog. Signed-off-by: Matthias Rampke <[email protected]>
1 parent 1e89c26 commit 2c7fd1e

File tree

3 files changed

+18
-1
lines changed

3 files changed

+18
-1
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## 0.26.0 / 2023-12-06
2+
3+
* [CHANGE] Update dependencies: prometheus/common, client model, and Go 1.21
4+
* [FEATURE] Add option to honor original labels from event tags over labels specified in mapping configuration ([#521](https://github.com/prometheus/statsd_exporter/pull/521))
5+
6+
Thank you @rabenhorst for the `honor_labels` contribution!
7+
18
## 0.25.0 / 2023-10-23
29

310
* [CHANGE] Update `client_golang` ([#508](https://github.com/prometheus/statsd_exporter/pull/508), [#513](https://github.com/prometheus/statsd_exporter/pull/513))

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,9 @@ The exporter parses all tagging formats by default, but individual tagging forma
9797
--no-statsd.parse-signalfx-tags
9898
```
9999

100+
By default, labels explicitly specified in configuration take precedence over labels from tags.
101+
To set the label from the statsd event tag, use [`honor_labels`](#honor-labels).
102+
100103
## Building and Running
101104

102105
NOTE: Version 0.7.0 switched to the [kingpin](https://github.com/alecthomas/kingpin) flags library. With this change, flag behaviour is POSIX-ish:
@@ -354,6 +357,13 @@ mappings:
354357
code: "$1"
355358
```
356359

360+
### Honor labels
361+
362+
By default, labels specified in the mapping configuration take precedence over tags in the statsd event.
363+
364+
To set the label value to the original tag value, if present, specify `honor_labels: true` in the mapping configuration.
365+
In this case, the label specified in the mapping acts as a default.
366+
357367
### StatsD timers and distributions
358368

359369
By default, statsd timers and distributions (collectively "observers") are

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.25.0
1+
0.26.0

0 commit comments

Comments
 (0)