feat(metrics): add path and method labels to requests counter (#8201)

This commit is contained in:
naseemkullah 2022-01-30 06:52:23 -05:00 committed by GitHub
parent 479eb416a4
commit 69fae46b32

View file

@ -190,7 +190,7 @@ func NewSocketCollector(pod, namespace, class string, metricsPerHost bool, bucke
Namespace: PrometheusNamespace, Namespace: PrometheusNamespace,
ConstLabels: constLabels, ConstLabels: constLabels,
}, },
[]string{"ingress", "namespace", "status", "service", "canary"}, requestTags,
), ),
bytesSent: prometheus.NewHistogramVec( bytesSent: prometheus.NewHistogramVec(