Repository navigation
|
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? |
Answered by
mowies
Sep 9, 2024
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. |
0 replies
Answer selected by
mowies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to 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.
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