-
Notifications
You must be signed in to change notification settings - Fork 222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add node duration metric to monitoring addon #3483
Comments
@elguardian Should I change the BPMN parser to add the metric metadata to certain nodes (in that case we need to dicuss which ones) or do you prefer to do that with a follow up issue? |
there is no need to change the parsec... the editor has already a metadata section. so you just need to take that into account in the runtime |
Sure, I mean, add to the parser logic a call to nodefactory.metadata ("metric", "node name as it should appear in metric tag") for those nodes which duration should be recorded |
the metadata is added automatically in the visitor. you don't need to do anything special |
Description
It would be interesting to track the duration of certain nodes, as we are tracking process instances duration and all work items duration
Implementation ideas
In BPMN and SWF parsers, add a metadata key called "Metric" to those nodes that it will be interesting to track duration for.
In monitoring addon, add a new Distributionsummary object called ""kogito_node_instance_duration_seconds" which will record duration for those nodes flagged with the metadata key.
The text was updated successfully, but these errors were encountered: