graphite-dev team mailing list archive
-
graphite-dev team
-
Mailing list archive
-
Message #03089
[Question #207179]: Generating graph even without all target available
New question #207179 on Graphite:
https://answers.launchpad.net/graphite/+question/207179
Hi,
I have a script that parse http logs, summarize/aggregate the data and send to carbon.
That scripts send information like number of requests per status code (200, 301, 302, 404, 503), per method (POST, GET, HEAD, etc) and I created graphics that show percentage of each kind of request and error code to follow the numbers.
Everything works great until I face with a situation where in a certain period of time there isn't any request with a specific status code so there is no data in the whisper database, when this happens my existent graphs are not displayed anymore and the graphite-web display the error "reduce() of empty sequence with no initial value".
Is there any way to make graphite interpret "no data" as 0 ? Or do I need to change my script to send zero value when there isn´t data in that period ?
Regards,
Alexandre
--
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.
Follow ups