Closed deepthawtz closed 7 years ago
Didn't Set()
set the absolute value while Add()
increments the value?
https://github.com/prometheus/client_golang/commit/2fee50beaa152342e8347c41edf2202c3bd5f858#commitcomment-19628916 contains an explanation of the proper migration.
ah, breaking change introduced. Looks like mongodb_exporter
will need to either vendor prometheus client at v0.8.0
or take on a larger refactor
Fixes: #40
Prom client code changed the
Counter
Set()
method toAdd()