Update instrumentation.md
Use prescribed naming conventions in the example for prescribed naming conventions.
This commit is contained in:
parent
81ece45949
commit
f7f69ff66a
|
@ -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"},
|
||||
|
|
Loading…
Reference in New Issue