-
When using the Grafana dashboard for Keptn metrics which is mentioned in the documentation, the time range selector does not work as expected. E.g. I want to see how many deployments happened on a particular date, but I always get the cumulative number of all deployments up to that date. Is that intentional? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
So the deployment count is just a simple counter metric that is incremented each time a new deployment happens successfully. This is why the time range selector doesn't work in this case. Since it's just a counter there's not an easy fix for this i think. |
Beta Was this translation helpful? Give feedback.
So the deployment count is just a simple counter metric that is incremented each time a new deployment happens successfully. This is why the time range selector doesn't work in this case. Since it's just a counter there's not an easy fix for this i think.
You can see the code for the counter here: https://github.com/keptn/lifecycle-toolkit/blob/main/lifecycle-operator/controllers/common/telemetry/otel_utils.go#L270