app/vmselect/graphite: typo fix in label name for vm_request_duration_seconds metric

This commit is contained in:
Aliaksandr Valialkin 2020-09-11 01:58:16 +03:00
parent c9d0905b17
commit 8a8b5a73d3

View file

@ -254,7 +254,7 @@ func metricsFind(tr storage.TimeRange, label, query string, delimiter byte, dead
var ( var (
metricsFindDuration = metrics.NewSummary(`vm_request_duration_seconds{path="/metrics/find"}`) metricsFindDuration = metrics.NewSummary(`vm_request_duration_seconds{path="/metrics/find"}`)
metricsExpandDuration = metrics.NewSummary(`vm_request_duration_seconds{path="/metrics/expand"}`) metricsExpandDuration = metrics.NewSummary(`vm_request_duration_seconds{path="/metrics/expand"}`)
metricsIndexDuration = metrics.NewSummary(`vm_request_duration_seconds{path="/metrics/expand"}`) metricsIndexDuration = metrics.NewSummary(`vm_request_duration_seconds{path="/metrics/index.json"}`)
) )
func isFullMatch(tagValuePrefix string, suffixes []string, delimiter byte) bool { func isFullMatch(tagValuePrefix string, suffixes []string, delimiter byte) bool {