You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Parameterize metric/label name validation scheme (#11848)
#### What this PR does
Direct and indirect references to the global name validation scheme were
removed in favor of a per-tenant override.
- Distributors have a validation middleware that ensures metric and
label names are valid.
- Rulers validate rule(group)s using this naming scheme.
- Queriers use UTF8 validation *everywhere*.
TODO:
- [x] Reach consensus on whether
`streamingpromqlcompat.NameValidatingEngine` is the right approach:
Decided to do UTF8 validation in query path.
- [x] Get Alertmanager updated with fix, stop using our own fork
#### Which issue(s) this PR fixes or relates to
Depends on
- grafana/mimir-prometheus#946
- grafana/prometheus-alertmanager#116Fixes: #11503
#### Checklist
- [x] Tests updated.
- [ ] Documentation added.
- [x] `CHANGELOG.md` updated - the order of entries should be
`[CHANGE]`, `[FEATURE]`, `[ENHANCEMENT]`, `[BUGFIX]`. If changelog entry
is not needed, please add the `changelog-not-needed` label to the PR.
- [ ]
[`about-versioning.md`](https://github.com/grafana/mimir/blob/main/docs/sources/mimir/configure/about-versioning.md)
updated with experimental features.
---------
Signed-off-by: Julius Hinze <julius.hinze@grafana.com>
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,8 @@
4
4
5
5
### Grafana Mimir
6
6
7
+
*[CHANGE] Query-frontend: Add support for UTF-8 label and metric names in `/api/v1/cardinality/{label_values|label_values|active_series}` endpoints. #11848.
8
+
*[CHANGE] Querier: Add support for UTF-8 label and metric names in `label_join`, `label_replace` and `count_values` PromQL functions. #11848.
7
9
*[CHANGE] Remove support for Redis as a cache backend. #12163
8
10
*[CHANGE] Memcached: Remove experimental `-<prefix>.memcached.addresses-provider` flag to use alternate DNS service discovery backends. The more reliable backend introduced in 2.16.0 (#10895) is now the default. As a result of this change, DNS-based cache service discovery no longer supports search domains. #12175
9
11
*[FEATURE] Distributor: Add experimental `-distributor.otel-native-delta-ingestion` option to allow primitive delta metrics ingestion via the OTLP endpoint. #11631
0 commit comments