fix(metrics): metrics derive separator (#625)

* fix(metrics): metrics derive separator

* fix existing metrics

* rm log

* static regex
This commit is contained in:
Roman Krasiuk
2022-12-27 13:16:41 +02:00
committed by GitHub
parent a2c1cdb399
commit 5bb14ecb7c
16 changed files with 201 additions and 108 deletions

View File

@ -32,7 +32,7 @@ Each metric is identified by a [`Key`][metrics.Key], which itself is composed of
The `KeyName` represents the actual metric name, and the labels are used to further drill down into the metric.
For example, a metric that represents stage progress would have a key name of `stage.progress` and a `stage` label that can be used to get the progress of individual stages.
For example, a metric that represents stage progress would have a key name of `stage_progress` and a `stage` label that can be used to get the progress of individual stages.
There will only ever exist one description per metric `KeyName`; it is not possible to add a description for a label, or a `KeyName`/`Label` group.