Pei chart panel with date picker filter

  • What Grafana version and what operating system are you using?

  • What are you trying to achieve?
    I’m trying to show a pei chart with values i’m getting using promql query

  • How are you trying to achieve it?
    I wrote a simple query with sum function that returns sum of errors
    Than I’m trying to narrow the results using the grafana date picker

  • What happened?
    I’m getting wrong result.
    say on 13:00 I got 100 errors
    On 13:20 i’m getting another 20.
    and on 13:30 I’m choosing to get the results on the last 15 minutes I’m getting 120

  • What did you expect to happen?
    I’m expecting to get the error i got only on the last 15 minutes (20 in the exmaple)

  • Can you copy/paste the configuration(s) that you are having problems with?
    The query:
    sum(init_vehicle_success_failure{status = ‘failure’}) by (service)

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
    No

  • Did you follow any online instructions? If so, what is the URL?