← Back to team overview

graphite-dev team mailing list archive

Re: [Question #155811]: How to set value to '0' in graphs if no data is received.

 

There is a per-graph option called Draw Null As Zero.  I can't seem to
find it in the UI, but it can be manually added to the URL string like
this:

&drawNullAsZero=true
I'll poke around some more in the UI and the code and check if it's
really missing or if I passed it over in my cursory glance.

-Nick

On Tue, May 3, 2011 at 6:40 PM, Royce King
<question155811@xxxxxxxxxxxxxxxxxxxxx> wrote:
> New question #155811 on Graphite:
> https://answers.launchpad.net/graphite/+question/155811
>
> I am totally in love with Graphite and think it is awesome.  I have some data that is being created dynamically upon user request.  Sometimes data isn't passed to graphite for a specific minute, and the graph ends up look kind of ugly with data lines all over the place.  Is there a way to say if there isn't data for a specific timestamp set the data equal to zero so the graphs are one continuous line and not broken up?
>
> Thx.
> Royce
>
> --
> 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     : graphite-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~graphite-dev
> More help   : https://help.launchpad.net/ListHelp
>


Follow ups

References