Support UTF-8 name by SungJin1212 · Pull Request #7056 · cortexproject/cortex · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test-build-deploy.yml
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
* [FEATURE] Querier: Support for configuring query optimizers and enabling XFunctions in the Thanos engine. #6873
* [FEATURE] Query Frontend: Add support /api/v1/format_query API for formatting queries. #6893
* [FEATURE] Query Frontend: Add support for /api/v1/parse_query API (experimental) to parse a PromQL expression and return it as a JSON-formatted AST (abstract syntax tree). #6978
* [ENHANCEMENT] Upgrade the Prometheus version to 3.6.0 and add a `-name-validation-scheme` flag to support UTF-8. #7040 #7056
* [ENHANCEMENT] Distributor: Emit an error with a 400 status code when empty labels are found before the relabelling or label dropping process. #7052
* [ENHANCEMENT] Parquet Storage: Add support for additional sort columns during Parquet file generation #7003
* [ENHANCEMENT] Modernizes the entire codebase by using go modernize tool. #7005
Expand Down
10 changes: 5 additions & 5 deletions docs/configuration/config-file-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@ Where default_value is the value to use if the environment variable is undefined
# CLI flag: -http.prefix
[http_prefix: <string> | default = "/api/prom"]

# Name validation scheme for metric names and label names, Support values are:
# legacy, utf8.
# CLI flag: -name-validation-scheme
[name_validation_scheme: <int> | default = legacy]

resource_monitor:
# Comma-separated list of resources to monitor. Supported values are cpu and
# heap, which tracks metrics from github.com/prometheus/procfs and
Expand Down Expand Up @@ -4344,11 +4349,6 @@ query_rejection:

# list of rule groups to disable
[disabled_rule_groups: <list of DisabledRuleGroup> | default = []]

# Name validation scheme for metric names and label names, Support values are:
# legacy, utf8.
# CLI flag: -validation.name-validation-scheme
[name_validation_scheme: <int> | default = legacy]
```

### `memberlist_config`
Expand Down
2 changes: 1 addition & 1 deletion integration/e2e/images/images.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ var (
Minio = "minio/minio:RELEASE.2024-05-28T17-19-04Z"
Consul = "consul:1.8.4"
ETCD = "gcr.io/etcd-development/etcd:v3.4.7"
Prometheus = "quay.io/prometheus/prometheus:v3.5.0"
Prometheus = "quay.io/prometheus/prometheus:v3.6.0"
)
230 changes: 179 additions & 51 deletions integration/utf8_test.go
8 changes: 0 additions & 8 deletions pkg/cortex/configinit/init.go

This file was deleted.

Loading
Loading