We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7d608b commit b35c3f2Copy full SHA for b35c3f2
test/integration/prometheus/prometheus.go
@@ -39,7 +39,7 @@ func GetMetrics(url string) (map[string]*io_prometheus_client.MetricFamily, erro
39
}
40
41
func ParseReaderMetrics(input io.Reader) (map[string]*io_prometheus_client.MetricFamily, error) {
42
- var parser expfmt.TextParser
+ parser := expfmt.NewTextParser(model.UTF8Validation)
43
return parser.TextToMetricFamilies(input) //nolint
44
45
0 commit comments