The `promAdjust` function in `auto.go` previously allowed characters that were not valid in prometheus metric names (e.g. '>'). This commit updates `promAdjust` to remove invalid characters. The `TestPromAdjust` function is updated with testcases that include invalid characters. |
||
---|---|---|
.. | ||
mock_metrics | ||
auto.go | ||
auto_test.go | ||
metrics.go | ||
metrics_test.go | ||
mock_statsd.go | ||
scope.go | ||
scope_test.go |