Merge pull request #115455 from dgrisonnet/verb

Rename "method" label to "verb" in rest_client_requests_total
This commit is contained in:
Kubernetes Prow Robot 2023-02-02 06:35:31 -08:00 committed by GitHub
commit 05121454ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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, method, and host.",
Help: "Number of HTTP requests, partitioned by status code, verb, and host.",
},
[]string{"code", "method", "host"},
[]string{"code", "verb", "host"},
)
execPluginCertTTLAdapter = &expiryToTTLAdapter{}