Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
k6/metrics: Warn on metric names not compatible with Prometheus
This adds a warning for custom metrics that are not Prometheus compatible. The warning is in the k6/metrics as the alternative was threading a logger in the registry specifically for this and then removing it. The major downside of this is that extension can still register incompatible metric names without any warnings. Updates #3065
- Loading branch information
Showing
4 changed files
with
104 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters