- Notifications
You must be signed in to change notification settings - Fork 14
Labels
Description
Now some Prometheus-based (or all of them) average panels for histograms/summaries (metric_sum
/ metric_count
) are computed improperly: they display the average value of something over instance lifetime instead of displaying the average value of something "now":
"expr": "tdg_graphql_query_time_sum{alias=~\"$alias\",job=~\"$job\"} / tdg_graphql_query_time_count{alias=~\"$alias\",job=~\"$job\"}\n", |
It results in useless "constant" graphs for instances with large uptime.