-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
{{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)
Comments
eyalyoli
changed the title
{{workflow.status}} is not working in metrics
Jun 1, 2022
{{workflow.status}}
is not working in metrics
sarabala1979
added
the
type/regression
Regression from previous behavior (a specific type of bug)
label
Jun 2, 2022
@dpadhiar Can you take a look? |
dpadhiar
added a commit
to dpadhiar/argo-workflows
that referenced
this issue
Jun 9, 2022
Signed-off-by: Dillen Padhiar <[email protected]>
This comment was marked as resolved.
This comment was marked as resolved.
sarabala1979
pushed a commit
that referenced
this issue
Jun 23, 2022
* fix: workflow.status is now set properly in metrics. Fixes #8895 Signed-off-by: Dillen Padhiar <[email protected]> * test: add runtime metrics test Signed-off-by: Dillen Padhiar <[email protected]> * feat: add duration to global runtime parameters Signed-off-by: Dillen Padhiar <[email protected]> * chore: rerun git tests Signed-off-by: Dillen Padhiar <[email protected]>
Closed
agilgur5
added
area/metrics
area/templating
Templating with `{{...}}`
and removed
problem/stale
This has not had a response in some time
labels
Sep 15, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: