Update deployment blocker metrics
What does this MR do and why?
Describe in detail what your merge request does and why.
While experimenting with the Grafana Playground dashboard related to this issue, I discovered that I cannot use the metric label value directly to create a trend for Timeseries visualization. This is only possible via Table and Stats visualization.
I updated my code to make two metrics: one for deployment_blockers_count
(with labels root_cause
, and week
) and another for deployment_hours_blocked
(with labels root_cause
, target_env
, and week
). I tested these metrics locally to verify that they produced the expected values.
Testing locally, I get the expected metric values:
This MR will push my changes to master
so that they will be created in Grafana when the pipeline is run.
Content
- Update deployment blocker metrics
Author Check-list
-
Has documentation been updated?
Edited by Mawreen Dela Cruz