README.md: point to an example for CounterVec alternative
This commit is contained in:
parent
bded4324a5
commit
7c4a402be3
@ -84,4 +84,4 @@ exposed from your application.
|
||||
#### How to implement [CounterVec](https://godoc.org/github.com/prometheus/client_golang/prometheus#CounterVec) in `metrics`?
|
||||
|
||||
Just use [GetOrCreateCounter](http://godoc.org/github.com/VictoriaMetrics/metrics#GetOrCreateCounter)
|
||||
instead of `CounterVec.With`.
|
||||
instead of `CounterVec.With`. See [this example](https://godoc.org/github.com/VictoriaMetrics/metrics#example-Counter--Vec) for details.
|
||||
|
Loading…
Reference in New Issue
Block a user