forked from mirror/client_golang
Fix typo in doc comment
Signed-off-by: beorn7 <beorn@grafana.com>
This commit is contained in:
parent
e951d7bae9
commit
9903214237
|
@ -95,7 +95,7 @@ func main() {
|
||||||
// application. Note the necessary type assertion. We
|
// application. Note the necessary type assertion. We
|
||||||
// already know that rpcDurationsHistogram implements
|
// already know that rpcDurationsHistogram implements
|
||||||
// the ExemplarObserver interface and thus don't need to
|
// the ExemplarObserver interface and thus don't need to
|
||||||
// check the outcome of the tipe assertion.
|
// check the outcome of the type assertion.
|
||||||
rpcDurationsHistogram.(prometheus.ExemplarObserver).ObserveWithExemplar(
|
rpcDurationsHistogram.(prometheus.ExemplarObserver).ObserveWithExemplar(
|
||||||
v, prometheus.Labels{"dummyID": fmt.Sprint(rand.Intn(100000))},
|
v, prometheus.Labels{"dummyID": fmt.Sprint(rand.Intn(100000))},
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue