Closed tiagodaraujo closed 5 months ago
The Prometheus documentation suggests using the Inc and Dec method for a queue problem as we have here.
As I mentioned in #22, it is possible to replicate using only unit tests.
This commit changes the use of gauge.Set to gauge.Inc and gauge.Dec in the queue and concurrency events.
gauge.Set
gauge.Inc
gauge.Dec
Fixes #22
Run the integration tests.
By sending us your contributions, you are agreeing that your contribution is made subject to the terms of our Contributor Ownership Statement
Description
The Prometheus documentation suggests using the Inc and Dec method for a queue problem as we have here.
As I mentioned in #22, it is possible to replicate using only unit tests.
This commit changes the use of
gauge.Set
togauge.Inc
andgauge.Dec
in the queue and concurrency events.Fixes #22
How Has This Been Tested?
Run the integration tests.
Checklist
Disclaimer
By sending us your contributions, you are agreeing that your contribution is made subject to the terms of our Contributor Ownership Statement