Skip to content

Commit

Permalink
Release 0.26.0
Browse files Browse the repository at this point in the history
with documentation for #521 and changelog.

Signed-off-by: Matthias Rampke <[email protected]>
  • Loading branch information
matthiasr committed Dec 6, 2023
1 parent 1e89c26 commit 2c7fd1e
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## 0.26.0 / 2023-12-06

* [CHANGE] Update dependencies: prometheus/common, client model, and Go 1.21
* [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))

Thank you @rabenhorst for the `honor_labels` contribution!

## 0.25.0 / 2023-10-23

* [CHANGE] Update `client_golang` ([#508](https://github.com/prometheus/statsd_exporter/pull/508), [#513](https://github.com/prometheus/statsd_exporter/pull/513))
Expand Down
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@ The exporter parses all tagging formats by default, but individual tagging forma
--no-statsd.parse-signalfx-tags
```

By default, labels explicitly specified in configuration take precedence over labels from tags.
To set the label from the statsd event tag, use [`honor_labels`](#honor-labels).

## Building and Running

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

### Honor labels

By default, labels specified in the mapping configuration take precedence over tags in the statsd event.

To set the label value to the original tag value, if present, specify `honor_labels: true` in the mapping configuration.
In this case, the label specified in the mapping acts as a default.

### StatsD timers and distributions

By default, statsd timers and distributions (collectively "observers") are
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.25.0
0.26.0

0 comments on commit 2c7fd1e

Please sign in to comment.