Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CounterVec#Set was present in v0.8.0 but has been removed in 0.9.0-pre1. Simply calling the counter with a label seems to initialise it. If not calling it, then the metric/label is not exposed until actually incremented, which is probably not the desired behaviour -- i.e. people would most likely still want to know that the number of debug/info/warning/error log messages is zero, and to confirm that their monitoring is not broken.
- Loading branch information