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 40c69a1ef7
commit fbdfc6505b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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(