summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHan Kang <hankang@google.com>2021-02-04 08:15:30 -0800
committerGitHub <noreply@github.com>2021-02-04 08:15:30 -0800
commitf7f69ff66a7391c0e84a8676ad695e2abf4673ff (patch)
treea722a70fa433a27503ad31be3f9065a6d28bfbcd
parent81ece459498964d18159d00948bd4edb849bc8c1 (diff)
Update instrumentation.md
Use prescribed naming conventions in the example for prescribed naming conventions.
-rw-r--r--contributors/devel/sig-instrumentation/instrumentation.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/contributors/devel/sig-instrumentation/instrumentation.md b/contributors/devel/sig-instrumentation/instrumentation.md
index b48b781f..5d7d9fc7 100644
--- a/contributors/devel/sig-instrumentation/instrumentation.md
+++ b/contributors/devel/sig-instrumentation/instrumentation.md
@@ -43,7 +43,7 @@ want and add a slice of the label names to the definition.
```go
requestCounter = prometheus.NewCounterVec(
prometheus.CounterOpts{
- Name: "apiserver_request_count",
+ Name: "apiserver_request_total",
Help: "Counter of apiserver requests broken out for each verb, API resource, client, and HTTP response code.",
},
[]string{"verb", "resource", "client", "code"},