graphite-dev team mailing list archive
-
graphite-dev team
-
Mailing list archive
-
Message #00737
[Question #148743]: intelligent scaling for derivatives
New question #148743 on Graphite:
https://answers.launchpad.net/graphite/+question/148743
Is there a function (existing or planned) for an more intelligent scale()? For example, I want "events per minute". My near-term storage resolution is 300 seconds, so I scale by 0.2. If I expand that graph to 30 days and go past my near-term storage, I have to recalculate the scale based on the mid-term storage interval. The problem is I don't really know which bucket it's going to use, as storage policies and requested start/end times vary.
Something like scaleSeconds(nonNegativeDerivative(some.counter),60) would examine which storage bucket it's using, and result in 0.2 if 300 second resolution, 1 for 60 second resolution, and 30 for 1800 second resolution. Does this make sense?
I am clueful enough to contribute patches.
--
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.