From 3f034468d6281b534fe83b600f23ede24beaf32a Mon Sep 17 00:00:00 2001 From: Mihail Stoykov <312246+mstoykov@users.noreply.github.com> Date: Wed, 20 Sep 2023 16:46:57 +0300 Subject: [PATCH] Update metric name restrictions Changes in code done in https://github.com/grafana/k6/pull/3335 --- .../markdown/translated-guides/en/02 Using k6/02 Metrics.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/data/markdown/translated-guides/en/02 Using k6/02 Metrics.md b/src/data/markdown/translated-guides/en/02 Using k6/02 Metrics.md index de2c011f22..df97041ce2 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/02 Metrics.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/02 Metrics.md @@ -109,9 +109,9 @@ For details of all metrics, refer to the [Metrics reference](/using-k6/metrics/r ## Metric name restrictions -Metric names must comply with OpenTelemetry and [Prometheus limitations](https://prometheus.io/docs/concepts/data_model/#metric-names-and-labels). +Metric names must comply with OpenTelemetry and [Prometheus limitations](https://prometheus.io/docs/concepts/data_model/#metric-names-and-labels). The character limit is the same limit k6 had before restricting the character set down. -That means they must not start with a number and a metric name can be 1 to 63 symbols of: +That means they must not start with a number and a metric name can be 1 to 128 symbols of: 1. any Unicode Letters 2. any Unicode Number 3. `_` (an underscore)