Replies: 1 comment
-
Ideally you would be able to use a custom registry in your module rather than the default registry, e.g. There is also an |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a module that uses prometheus to expose some metrics.
Then I have a pytest module that tests that first module with mutiple test functions.
Between the test functions the state of the prometheus client is not reset.
But I want to have a "clean and new" state for every single test function.
As the state was when the Python runtime started.
My question: How can I clean / reset / delete the state of the prometheus client?
Many thanks
Philip
Beta Was this translation helpful? Give feedback.
All reactions