Skip to content

Use moving average instead of overall one #237

@DifferentialOrange

Description

@DifferentialOrange

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.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    1spbugSomething isn't workingcustomerCustomer request

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions