You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I’m trying to create a Grafana dashboard based on the shell executor metrics. One of the graphs is meant to calculate the percentage of failed jobs over a specific time frame or from the start of tracking.
The dkron_job_execution_done_count metric is a counter. A common approach is to filter by a specific label versus all entries of the same metric. This can be achieved by adding exit_code as a label to dkron_job_execution_done_count. Since it’s a low cardinality metric, adding this label should not pose any issues.
Describe the solution you'd like
Add exit_code to dkron_job_execution_done_count.
Describe alternatives you've considered
None.
The text was updated successfully, but these errors were encountered:
atmosx
changed the title
Shell Executor Prometheus metrics
Shell Executor Prometheus metrics: calculate % of failed jobs should be easy
Aug 28, 2024
atmosx
changed the title
Shell Executor Prometheus metrics: calculate % of failed jobs should be easy
Shell Executor Prometheus metrics: calculating % of failed jobs should be easy
Aug 28, 2024
Is your feature request related to a problem? Please describe.
I’m trying to create a Grafana dashboard based on the shell executor metrics. One of the graphs is meant to calculate the percentage of failed jobs over a specific time frame or from the start of tracking.
The
dkron_job_execution_done_count
metric is a counter. A common approach is to filter by a specific label versus all entries of the same metric. This can be achieved by addingexit_code
as a label todkron_job_execution_done_count
. Since it’s a low cardinality metric, adding this label should not pose any issues.Describe the solution you'd like
Add
exit_code
todkron_job_execution_done_count
.Describe alternatives you've considered
None.
The text was updated successfully, but these errors were encountered: