metrics: add type to latency as well (#3685)

Automatically submitted.
This commit is contained in:
Miek Gieben
2020-02-19 09:57:42 +01:00
committed by GitHub
parent c8a6b16d86
commit ed1841c36f
3 changed files with 4 additions and 3 deletions

View File

@@ -21,7 +21,7 @@ var (
Name: "request_duration_seconds",
Buckets: plugin.TimeBuckets,
Help: "Histogram of the time (in seconds) each request took.",
}, []string{"server", "zone"})
}, []string{"server", "zone", "type"})
RequestSize = prometheus.NewHistogramVec(prometheus.HistogramOpts{
Namespace: plugin.Namespace,