Revert "restclient: rename "method" label to "verb""

This reverts commit c9944709bc.
This commit is contained in:
Damien Grisonnet 2023-02-15 20:08:13 +01:00
parent ebae41641f
commit 437c9d9ab2

View File

@ -77,9 +77,9 @@ var (
&k8smetrics.CounterOpts{
Name: "rest_client_requests_total",
StabilityLevel: k8smetrics.ALPHA,
Help: "Number of HTTP requests, partitioned by status code, verb, and host.",
Help: "Number of HTTP requests, partitioned by status code, method, and host.",
},
[]string{"code", "verb", "host"},
[]string{"code", "method", "host"},
)
requestRetry = k8smetrics.NewCounterVec(