← Back to team overview

graphite-dev team mailing list archive

Re: [Question #202236]: Default value instead of "no data"

 

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

    Status: Open => Answered

Nicholas Leskiw proposed the following answer:
Could you configure your monitoring script to send the default value
instead of nothing?

NatB <question202236@xxxxxxxxxxxxxxxxxxxxx> wrote:

>New question #202236 on Graphite:
>https://answers.launchpad.net/graphite/+question/202236
>
>Hello,
>
>Here is a feature suggestion for Graphite.
>Sometimes the client sends values, but sometimes nothing is sent.
>It would be good to have a default value when nothing is sent, instead of "no data".
>
>Here is an example: let's say I send the value 1 when my job starts, and 0 when it stops.
>By using "keepLastValue", I can monitor in real time when my job is running and when it stopped.
>
>Now, if my job failed before sending the value 0, Graphite will keep displaying the value 1 even if the job is not running anymore!
>
>The defaultValueifNoData function I'm suggesting ccan fix this.
>
>Thanks & regards.
>
>-- 
>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

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