Skip to content

Commit 066ab78

Browse files
committed
Correct typo in Counter.Set() docstring.
1 parent a7b2419 commit 066ab78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

prometheus/counter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ type Counter interface {
3333

3434
// Set is used to set the Counter to an arbitrary value. It is only used
3535
// if you have to transfer a value from an external counter into this
36-
// Prometheus metrics. Do not use it for regular handling of a
36+
// Prometheus metric. Do not use it for regular handling of a
3737
// Prometheus counter (as it can be used to break the contract of
3838
// monotonically increasing values).
3939
Set(float64)

0 commit comments

Comments
 (0)