Graphiti metrics json data not returning #63

Closed
cstrzadala opened this Issue Nov 26, 2012 · 1 comment

Projects

None yet

2 participants

@cstrzadala

I'm trying to execute the bundle exec rake graphiti:metrics rake task to get the metrics from Graphite to Redis. I'm getting the following response:

Getting http://localhost/metrics/index.json
rake aborted!
lexical error: invalid char in json text.
<!-- Copyright 2008 Orbitz Worl
(right here) ------^

Tasks: TOP => graphiti:metrics
(See full trace by running task with --trace)

It seems that the service call to Graphite isn't returning JSON data but a HTML response. Not sure if I've set the Graphite URL incorrectly or something else configured incorrectly.

@mrb
Contributor
mrb commented Jan 6, 2013

@cstrzadala Yes, looks like your graphite URL is misconfigured.

@mrb mrb closed this Jan 6, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment