diff --git a/exporter/exporter.go b/exporter/exporter.go index c663b6d..cb971ae 100644 --- a/exporter/exporter.go +++ b/exporter/exporter.go @@ -42,7 +42,7 @@ func NewExporter(uri url.URL, insecure bool, user, password string) *Exporter { metricsURI.RawQuery = q.Encode() asyncMetricsURI := uri - q.Set("query", "select replaceRegexpOne(toString(metric), '-', '_') AS metric, value from system.asynchronous_metrics") + q.Set("query", "select replaceRegexpAll(toString(metric), '-', '_') AS metric, value from system.asynchronous_metrics") asyncMetricsURI.RawQuery = q.Encode() eventsURI := uri