graphite-dev team mailing list archive
-
graphite-dev team
-
Mailing list archive
-
Message #00805
[Question #152851]: "ValueError: math domain error" on generate of a graph
New question #152851 on Graphite:
https://answers.launchpad.net/graphite/+question/152851
I've recently set up graphite (along with StatsD) to track my application. It seems pretty neat, however I'm running into one issue that I can't get past.
When I try to view a graph for a stat that I've incremented, I'm occasionally getting a ValueError when the image gets generated - leading to a broken image. If I try to view the image itself, I receive the following traceback:
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.6/django/core/handlers/base.py", line 92, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/opt/graphite/webapp/graphite/render/views.py", line 143, in renderView
image = doImageRender(requestOptions['graphClass'], graphOptions)
File "/opt/graphite/webapp/graphite/render/views.py", line 302, in doImageRender
img = graphClass(**graphOptions)
File "/opt/graphite/webapp/graphite/render/glyph.py", line 150, in __init__
self.drawGraph(**params)
File "/opt/graphite/webapp/graphite/render/glyph.py", line 392, in drawGraph
self.setupYAxis()
File "/opt/graphite/webapp/graphite/render/glyph.py", line 598, in setupYAxis
order = math.log10(yVariance)
ValueError: math domain error
I can't quite figure out what could be causing this. Anyone have any thoughts here? Thanks!
--
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.