Skip to content

Commit d4d10c8

Browse files
committed
s/experimental/experiment and expand X to EXPERIMENT in envar
1 parent 2ffd0b2 commit d4d10c8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

router/pkg/config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ type Metrics struct {
126126
Attributes []CustomAttribute `yaml:"attributes"`
127127
OTLP MetricsOTLP `yaml:"otlp"`
128128
Prometheus Prometheus `yaml:"prometheus"`
129-
CardinalityLimit int `yaml:"experimental_cardinality_limit" envDefault:"2000" env:"METRICS_X_CARDINALITY_LIMIT"`
129+
CardinalityLimit int `yaml:"experiment_cardinality_limit" envDefault:"2000" env:"METRICS_EXPERIMENT_CARDINALITY_LIMIT"`
130130
}
131131

132132
type MetricsOTLP struct {

router/pkg/config/config.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -972,7 +972,7 @@
972972
"description": "The configuration for the collection and export of metrics. The metrics are collected and exported using the OpenTelemetry protocol (OTLP) and Prometheus.",
973973
"additionalProperties": false,
974974
"properties": {
975-
"experimental_cardinality_limit": {
975+
"experiment_cardinality_limit": {
976976
"type": "integer",
977977
"description": "Sets a hard limit on the number of Metric Points that can be collected during a collection cycle. NOTE: This option is experimental and may change in future versions.",
978978
"minimum": 1,

0 commit comments

Comments
 (0)