Skip to content
This repository has been archived by the owner on Apr 21, 2021. It is now read-only.

Unregister metrics based on conditions #24

Open
StephenOTT opened this issue Nov 5, 2018 · 0 comments
Open

Unregister metrics based on conditions #24

StephenOTT opened this issue Nov 5, 2018 · 0 comments

Comments

@StephenOTT
Copy link
Owner

Certain conditions should trigger metrics to be unregistered:

start with Duration Tracking (Activity Instance and Process Instance):

  1. As per a configuration, if a new process definition is deployed for a existing definition, the previous definition will be un-registered from the Prometheus collection of collectors. This is not always the needed function as there are scenarios where there may be multiple active definitions of the same process def key.

note: If you just restart the engine the metrics will self-resolve. But for "forever" on camunda engine instances, it is important to un-register collectors.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant