-
Notifications
You must be signed in to change notification settings - Fork 12.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ease process to troubleshoot Graphite errors #265
Comments
+1 That would be nice |
Yes, this would be great. High prio :) |
Great work, this is going to be really useful. |
Doesn't this require setting DEBUG=True in graphite? I guess it's an issue in graphite not reporting errors in json. |
@frejsoya good point. I am not sure what the error page looks like when DEBUG=False. |
It's HTML as well but with a different style & less information. So it'll keep working. Graphite-api sometimes returns 400 responses in JSON, for instance when there is no Ultimately I'd like graphite-api to validate inputs and return proper error messages in 400 responses instead throwing server errors for arity issues. I can probably write a patch to support JSON errors as well as HTML ones if you're willing to accept it :) |
JSON errors would be great. Especially with some simple generic schema that is easy to render as html. |
* share LRU cache amongst all executors. fix grafana#271 * make alerting parameters configurable. fix grafana#128 * document alerting and config options. fix grafana#265
Currently a red bar is shown with "Oops! Graphite HTTP Error Request" when Graphite hits a problem. As far as I can tell, there is no way to see what the error was without additional troubleshooting such as using inspect like in this example:
Request is for Grafana to somehow allow access to the error info natively. Maybe if you click on the ! icon it would open a new window with just the render post so you could see the exact error straight away?
The text was updated successfully, but these errors were encountered: