RRDtool-style legend possible with Graphite?

Asked by Dossy Shiobara

I'm looking to implement Carbon/Whisper/Graphite to supplement an existing in-house metrics system built on top of RRDtool.

Is it possible to draw graphs in Graphite with RRDtool-style legends? Specifically, being able to display the numerical values for current/min/avg/max for metrics being graphed?

How about support for RRDtool's "watermark"? Invaluable having the date/time stamp in the graph so that you can immediately tell that the graphs in the dashboard are fresh, etc.

Question information

Language:
English Edit question
Status:
Answered
For:
Graphite Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
redbaron (ivanov-maxim) said :
#1

In graph builder do:
Graph data -> Apply function -> special -> add value to legend name

Revision history for this message
Dossy Shiobara (dossy) said :
#2

Adding "last" value to legend name always appears to display "None" -- is this a bug?

Revision history for this message
Michael Leinartas (mleinartas) said :
#3

Yes, it's a known issue, see here: https://bugs.launchpad.net/graphite/+bug/929335

If a data value hasnt been received yet for the current time bucket, it'll be displayed as None. If it the datapoints consistently come in at the end of the time buckets (say they're sent in second 59 or a 60 second retention) you'll see this behavior consistently.

Revision history for this message
Dossy Shiobara (dossy) said :
#4

Can you use "add value to legend name" to add multiple values, e.g. current/last, minimum, average, maximum, like you can with RRDtool GPRINT?

Revision history for this message
Michael Leinartas (mleinartas) said :
#5

No, not unless you were to graph each of those as lines.

Revision history for this message
Dossy Shiobara (dossy) said :
#6

Is it possible/how difficult would it be to use RRDtool as the graphing frontend to data living in carbon/whisper?

I think at this point, I'm going to have to stick to using RRDtool, I guess.

Revision history for this message
samuel-archive (samuel-archive) said :
#7

I found using target=cactiStyle(some.stat) in the render query args will add min max and current values to the legend.

I noticed this and other helpful stuff tucked away in webapp/graphite/render/functions.py

Can you help with this problem?

Provide an answer of your own, or ask Dossy Shiobara for more information if necessary.

To post a message you must log in.