docs/sources/datasources/graphite/troubleshooting/index.md
This document provides solutions for common issues you might encounter when using the Graphite data source.
Use the following troubleshooting steps to resolve connection problems between Grafana and your Graphite server.
Data source test fails with "Unable to connect":
If the data source test fails, verify the following:
To test connectivity, run the following command from the Grafana server:
curl -v <GRAPHITE_URL>/render
Replace <GRAPHITE_URL> with your Graphite server URL. A successful connection returns a response from the Graphite server.
Authentication errors:
If you receive 401 or 403 errors:
For detailed authentication configuration, refer to Configure the Graphite data source.
Use the following troubleshooting steps to resolve problems with Graphite queries.
No data returned:
If your query returns no data:
HTTP 500 errors with HTML content:
Graphite-web versions before 1.6 return HTTP 500 errors with full HTML stack traces when a query fails. If you see error messages containing HTML tags:
Parser errors in the query editor:
If the query editor displays parser errors:
For query syntax help, refer to Graphite query editor.
Use the following troubleshooting steps to resolve problems related to Graphite versions and features.
Functions missing from the query editor:
If expected functions don't appear in the query editor:
Tag-based queries not working:
If seriesByTag() or other tag functions fail:
Use the following troubleshooting steps to address slow queries or timeouts.
Queries timing out:
If queries consistently time out:
summarize() or consolidateBy() functions to reduce the amount of data returned.Slow autocomplete in the query editor:
If metric path autocomplete is slow:
If you're using MetricTank as your Graphite backend, use the following troubleshooting steps.
Rollup indicator not appearing:
If the rollup indicator doesn't display when expected:
Unexpected data aggregation:
If you see unexpected aggregation in your data:
consolidateBy() to control aggregation behavior.If you continue to experience issues:
When reporting issues, include the following information: