connect the dots when data doesn't match storage schema

Asked by Matt Snow

The data I am logging is collected at arbitrary times triggered by user action. On the graph I only see dots showing up ever N minutes. The storage schema i'm using for this data is 60:129600 to try allow for random frequency.
I found this Q&A: https://answers.launchpad.net/graphite/+question/64623 but it does not give the result i'm looking for.
i'm hoping that there is a "connect the dots" so to speak function that will draw a like directly from one datapoint to the next.

Is this feature on the roadmap or is there an "undocumented feature" maybe in 0.9.8?

Thanks.

Question information

Language:
English Edit question
Status:
Solved
For:
Graphite Edit question
Assignee:
No assignee Edit question
Solved by:
Jeremy Katz
Solved:
Last query:
Last reply:
Revision history for this message
Nicholas Leskiw (nleskiw) said :
#1

Maybe you could try the "Keep Last Value" function? Not sure if that will do what you want.

-Nick

On May 9, 2011, at 6:35 PM, Matt Snow <email address hidden> wrote:

> New question #156813 on Graphite:
> https://answers.launchpad.net/graphite/+question/156813
>
> The data I am logging is collected at arbitrary times triggered by user action. On the graph I only see dots showing up ever N minutes. The storage schema i'm using for this data is 60:129600 to try allow for random frequency.
> I found this Q&A: https://answers.launchpad.net/graphite/+question/64623 but it does not give the result i'm looking for.
> i'm hoping that there is a "connect the dots" so to speak function that will draw a like directly from one datapoint to the next.
>
> Is this feature on the roadmap or is there an "undocumented feature" maybe in 0.9.8?
>
> Thanks.
>
> --
> 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 address hidden>
> Unsubscribe : https://launchpad.net/~graphite-dev
> More help : https://help.launchpad.net/ListHelp

Revision history for this message
Matt Snow (matt-mattsn0w) said :
#2

that's better than nothing but I am hoping for a single line "connecting the dots".

Revision history for this message
Jeremy Katz (katzj) said :
#3

I had hacked a "connected" line mode a couple of weeks ago to be able to do something like that. Haven't submitted it for merging because I've been playing with it to see how I like it, but seems to work well enough for my purposes. Can put it into its own bzr branch for Chris to grab if there's interest

It's in the tree I keep with all my WIP stuff -- https://github.com/katzj/graphite/commits/devel

Revision history for this message
Best Jeremy Katz (katzj) said :
#4

And actually, went ahead and pulled out the changes into their own bzr branch and proposed it for merging.
    https://code.launchpad.net/~katzj/graphite/connected-line-mode

Revision history for this message
Matt Snow (matt-mattsn0w) said :
#5

Jeremy - I think this may be exactly what i'm looking for. i'll try to test your code this week. Thanks!

Revision history for this message
Matt Snow (matt-mattsn0w) said :
#6

woot! patched my install with revisions 37[6-8] from your branch and it works exactly as I was hoping. :)

+1 for merging this.

Revision history for this message
Matt Snow (matt-mattsn0w) said :
#7

Thanks Jeremy Katz, that solved my question.