WatchMonUdpListener icon indicating copy to clipboard operation
WatchMonUdpListener copied to clipboard

Add Graphite support

Open mchro opened this issue 6 years ago • 3 comments

Using the Graphite plaintext protocol: https://graphite.readthedocs.io/en/latest/feeding-carbon.html

I chosed some specific datapoints to grab out, to not send a lot of redundant data.

mchro avatar Nov 15 '19 15:11 mchro

Your code is static. It should be based on the message files and generic like sendinflux and mqtt is.

daromer2 avatar Nov 15 '19 16:11 daromer2

I think it makes little sense to blindly copy all the fields from the messages to Graphite. In Graphite every datapoint becomes a series (pre-allocated, etc.). Graphite has builtin support for a lot of data manipulation, so it e.g. does not make sense to store averages, minimum, or maximum, if the data points are available for calculating them.

I could hide selection of fields behind a config flag, so the option of doing the generic storing is there?

mchro avatar Nov 15 '19 21:11 mchro

The thing is the "case" that is extra in the code. To have this code as generic as possible to handle all scenarios i would like to skip them as far as we can. I know that graphite can work with the data and same does Influx. Not all messages from Batrium suit those databases since you get tons of em :)

daromer2 avatar Mar 07 '21 21:03 daromer2