← Back to team overview

graphite-dev team mailing list archive

Re: [Question #181150]: Label for 2nd Y-axis

 

Question #181150 on Graphite changed:
https://answers.launchpad.net/graphite/+question/181150

Michael Leinartas proposed the following answer:
For docs, try http://readthedocs.org/docs/graphite/en/latest/index.html
instead - the link above contains some incomplete and out of date docs

That said, I dont believe the alias() or substr() functions are
documented...

In the composer view once you've composed your graph, hit "Graph Data" and select a metric and hit "Apply Function"
Under the "special" category, there's a function named "Set Legend Name" - this will configure the alias function. Alternatively, you can manually edit your graph url's target querystrings to add the function

Where previously you had:

&target=ntp.371.offset.0

You can alias it with
&target=alias(ntp.371.offset.o,"MyNtpMetric")

As far as the 2nd axis label, there's no way to do that currently but
feel free to file a bug for the feature request to track your need.

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


References