Right now, yeah, you'd have to store your data in bits instead of
bytes. In the future the goal is to allow you to plot arbitrary
arithmetic expressions, so you would be able to express "plot this
time series multiplied by 8".
> I would like to show "1 M, 2 M" on the Y-axis rather than very large
> numbers in scientific notation. Any advice on how to customize the Y-
> axis scale would be much appreciated.
Use this format string: %.0s%c
> Also, I would like to customize the graph "line style" and the metric
> titles. For the metric titles I would like to show "Upload" and
> "Download" rather than the OpenTDSB metric. I am thinking of
> submitting a patch for this as it seems it wouldn't be too difficult
> (looking at the Plot.java class).
Right now the code won't let you use your own labels in the key, so
yes you'd need to patch Plot.java and possibly other files. Let us
know if you have a specific question.
--
Benoit "tsuna" Sigoure
Software Engineer @ www.StumbleUpon.com
I've done some work to clean up the key by filtering out the metric name if it is the only metric plotted, and changing the format from metric{tag=value,tag2=value2} to things like 'metric: tag=value, value2', or 'value' depending on parameters. If there is some interest I can extract the code from my branch and submit a patch for the parameter. It is very nice when you are plotting the same metric across many hosts, the key could only show the hostname, or the misc cpu types, etc.
--
Kraig Amador
Yes, if this were selectable in some way this would be very helpful. I think there is already an open issue for this.