How do you sum max values of a series of queries?

  • What Grafana version and what operating system are you using?
    Grafan 9.1.6, Backend DB Grafite

  • What are you trying to achieve?
    I have a series of data points of NFS exports per array
    I am trying to sum for each array the total of NFS exports

  • How are you trying to achieve it?
    I have written a local check in CMK that runs once every 24 hours to gather than # of nfs export for each array
    An example might assist
    query A cmk.array1.nfs exports result 200 - display no
    query B cmk.array2.nfs exports result 20 - display no
    query C sum( A,B ) result 200 - display yes

  • What happened?
    query C sum( A,B ) result 200 - display yes

  • What did you expect to happen?
    query C sum( A,B ) result 220 - display yes

  • Can you copy/paste the configuration(s) that you are having problems with?

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

  • Did you follow any online instructions? If so, what is the URL?
    No. n/a

Create TopicClose