docs/sources/datasources/opentsdb/troubleshooting/index.md
This document provides solutions to common issues you may encounter when configuring or using the OpenTSDB data source. For configuration instructions, refer to Configure the OpenTSDB data source.
These errors occur when Grafana can't connect to the OpenTSDB server.
Symptoms:
Possible causes and solutions:
| Cause | Solution |
|---|---|
| Wrong URL or port | Verify the URL includes the correct protocol, IP address, and port. The default port is 4242. |
| OpenTSDB not running | Check that the OpenTSDB server is running and accessible. |
| Firewall blocking connection | Ensure firewall rules allow outbound connections from Grafana to the OpenTSDB server on the configured port. |
| Network issues | Verify network connectivity between Grafana and OpenTSDB. Try pinging the server or using curl to test the API. |
To test connectivity manually, run:
curl http://<OPENTSDB_HOST>:4242/api/version
These errors occur when credentials are invalid or misconfigured.
Symptoms:
Solutions:
These errors occur when executing queries against OpenTSDB.
Symptoms:
Possible causes and solutions:
| Cause | Solution |
|---|---|
| Time range doesn't contain data | Expand the dashboard time range. Verify data exists in OpenTSDB for the selected period. |
| Wrong metric name | Verify the metric name is correct. Use autocomplete to discover available metrics. |
| Incorrect tag filters | Remove or adjust tag filters. Use * as a wildcard to match all values. |
| Version mismatch | Ensure the configured OpenTSDB version matches your server. Filters are only available in version 2.2+. |
| Using both Filters and Tags | Use either Filters or Tags, not both. They're mutually exclusive in OpenTSDB 2.2+. |
Symptoms:
Solutions:
Symptoms:
Solutions:
/api/suggest endpoint is accessible. Test it manually with curl http://<OPENTSDB_HOST>:4242/api/suggest?type=metrics.Symptoms:
Solutions:
tsd.core.meta.enable_realtime_ts to true in your OpenTSDB configuration.tsdb uid metasync on the OpenTSDB server.These issues relate to slow queries or high resource usage.
Symptoms:
Solutions:
OpenTSDB relies on HBase for data storage. Performance problems in HBase directly affect OpenTSDB query performance.
Solutions:
To capture detailed error information for troubleshooting:
Set the Grafana log level to debug in the configuration file:
[log]
level = debug
Review logs in /var/log/grafana/grafana.log (or your configured log location).
Look for OpenTSDB-specific entries that include request and response details.
Reset the log level to info after troubleshooting to avoid excessive log volume.
If you've tried the solutions in this document and still encounter issues:
When reporting issues, include: