Skip to content

Commit

Permalink
Reimplement the changes from #67.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-milovidov authored Nov 9, 2021
1 parent abefd8b commit a1d3eea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exporter/exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a1d3eea

Please sign in to comment.