Re: Grafana templating and SUM expression

"Wolek, Mark" <[email protected]>
Newsgroups gmane.network.opennms.general
Message-ID <HE1PR02MB1675BD12A2B6EFCC0F4B666EF2DF0@HE1PR02MB1675.eurprd02.prod.outlook.com>
Without templating, it’s easy.  ‘Label1 + label2 + label3 + label4’ is the expression.  That’s not the problem, the problem is getting something to do that math using Templating (sum of all nodes in the graph).

Thanks!
Mark

From: Niels Tomey [mailto:[email protected]]
Sent: Wednesday, March 7, 2018 7:46 PM
To: General OpenNMS Discussion <[email protected]>
Subject: Re: [opennms-discuss] Grafana templating and SUM expression

I haven't played much with helm yet, but normally with grafana you need to put these values into multiple queries (using add button at the bottom).

So you'll have a query A and B, you then create a query C in which you add A & B.

C doesn't contain a query from a data source, just one of the transform modifiers. On mobile now so can't look up the actual names.

Hope this helps.

Regards,

Niels

On Mar 8, 2018 6:19 AM, "Wolek, Mark" <[email protected]<mailto:[email protected]>> wrote:
Does anyone know of a way to SUM the value of all nodes in a graph?  My end goal is to see the total memory available across the tier/farm.

Something like this (but this doesn’t work)

[cid:[email protected]]

Thanks!
Mark


________________________________

This e-mail message is authorized for use by the intended recipient only and may contain information that is privileged and confidential. If you received this message in error, please call us immediately at (425) 590-5000<tel:(425)%20590-5000> and ask to speak to the message sender. Please do not copy, disseminate, or retain this message unless you are the intended recipient. In addition, to ensure the security of your data, please do not send any unencrypted credit card or personally identifiable information to this email address. Thank you.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss


________________________________

This e-mail message is authorized for use by the intended recipient only and may contain information that is privileged and confidential. If you received this message in error, please call us immediately at (425) 590-5000 and ask to speak to the message sender. Please do not copy, disseminate, or retain this message unless you are the intended recipient. In addition, to ensure the security of your data, please do not send any unencrypted credit card or personally identifiable information to this email address. Thank you.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
image001.png (image/png, 41.4 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.