Skip to content

Commit f7f69ff

Browse files
author
Han Kang
authored
Update instrumentation.md
Use prescribed naming conventions in the example for prescribed naming conventions.
1 parent 81ece45 commit f7f69ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contributors/devel/sig-instrumentation/instrumentation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ want and add a slice of the label names to the definition.
4343
```go
4444
requestCounter = prometheus.NewCounterVec(
4545
prometheus.CounterOpts{
46-
Name: "apiserver_request_count",
46+
Name: "apiserver_request_total",
4747
Help: "Counter of apiserver requests broken out for each verb, API resource, client, and HTTP response code.",
4848
},
4949
[]string{"verb", "resource", "client", "code"},

0 commit comments

Comments
 (0)