{{workflow.status}}
is not working in metrics
#8895
Labels
area/metrics
area/templating
Templating with `{{...}}`
type/bug
type/regression
Regression from previous behavior (a specific type of bug)
Checklist
Summary
What happened/what you expected to happen?
Running this example workflow for custom metrics at the workflow & template levels on the latest version (v3.3.6) publishes the workflow templates without status label!
Workflow metrics (
playground_workflow_duration
,playground_workflow_result_counter
) are visible in prometheus without the status label =>{{workflow.status}}
is not giving any value.While template metrics (
playground_workflow_duration_task_seconds
,playground_workflow_result_task_counter
) with status label of{{status}}
is working fine.What version are you running?
3.3.6
This previously worked on version 3.2.9
Diagnostics
Paste the smallest workflow that reproduces the bug. We must be able to run the workflow.
a shorter version of this example
Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.
The text was updated successfully, but these errors were encountered: