New question #227568 on Graphite:
https://answers.launchpad.net/graphite/+question/227568

Hi,

I am trying (also, similar to older questions) to compute and graph network 
interface rates from row counter data (cumulative bytes/pkts) I am getting to a 
perl script from sflow probes.

The solution looks like this:

Network Switch (sflow) -> sflow2graphite.pl (TCP socket) -> carbon-cache (port 
2003)

Essentially I am using the plaintext protocol to write the counter to graphite 
via the socket (carbon listening on 2003). 

If I could read the last <datapoint,timepoint> (cumulative bytes, timestamp) 
fed to graphite in this script, I could easily calculate bitrate (bytes 
seen-last bytes seen/dt) and store a rate metric to graphite.

Is there a way one can use the socket interface to read the last 
<datapoint,timestamp> from graphite for a selected metric?

-- 
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.

_______________________________________________
Mailing list: https://launchpad.net/~graphite-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to