-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Closed
Description
I am using graphite 0.9.10 and I got 500 error code when I use grafana
Here is the request
POST /render/ HTTP/1.1
Host: 172.16.82.136
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0
Accept: application/json, text/plain, */*
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Referer: http://localhost/grafana/src/
Content-Length: 155
Origin: http://localhost
DNT: 1
Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache
from=-6h&until=now&target=randomWalk('random%20walk')&target=randomWalk('random%20walk2')&target=randomWalk('random%20walk3')&maxDataPoints=600&format=json
And here is the Traceback from Django:
Environment:
Request Method: POST
Request URL: http://172.16.82.136/render/
Django Version: 1.3.1
Python Version: 2.7.3
Installed Applications:
['graphite.metrics',
'graphite.render',
'graphite.cli',
'graphite.browser',
'graphite.composer',
'graphite.account',
'graphite.dashboard',
'graphite.whitelist',
'graphite.events',
'django.contrib.auth',
'django.contrib.sessions',
'django.contrib.admin',
'django.contrib.contenttypes',
'tagging']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
'django.middleware.gzip.GZipMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware')
Traceback:
File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response
111. response = callback(request, *callback_args, **callback_kwargs)
File "/opt/graphite/webapp/graphite/render/views.py" in renderView
126. timestamps = range(series.start, series.end, series.step)
Exception Type: TypeError at /render/
Exception Value: range() integer end argument expected, got float.
Metadata
Metadata
Assignees
Labels
No labels