Troubleshoot Jaeger data source issues
This document provides solutions to common issues you may encounter when configuring or using the Jaeger data source. For configuration instructions, refer to Configure the Jaeger data source.
Connection errors
These errors occur when Grafana can’t reach the Jaeger instance.
“Connection refused” or timeout errors
Symptoms:
- Save & test fails with a connection error
- Queries fail with network errors
- Service and operation drop-downs don’t load
Possible causes and solutions:
| Cause | Solution |
|---|---|
| Jaeger isn’t running | Verify Jaeger is running and accessible at the configured URL. |
| Incorrect URL | Check the URL setting in the data source configuration. The default Jaeger query endpoint is http://localhost:16686. |
| Firewall blocking access | Ensure firewall rules allow traffic from the Grafana server to the Jaeger endpoint. |
| Network segmentation | For Grafana Cloud accessing private Jaeger instances, configure Private data source connect. |
“request failed: 404 Not Found”
Symptoms:
- Save & test returns a 404 error
- Queries fail with “request failed” messages
Solutions:
- Verify the Jaeger URL doesn’t include a trailing path such as
/api. The correct URL is the base endpoint, for examplehttp://localhost:16686. - Confirm the Jaeger query service is running and listening on the expected port.
- If using a reverse proxy, verify the proxy forwards requests to the correct Jaeger endpoint.
TLS errors
Symptoms:
- Certificate validation errors during Save & test
- Errors mentioning
x509or certificate verification
Solutions:
- Verify your TLS certificates are valid and not expired.
- Ensure the CA certificate is configured in the data source Additional settings if using a private CA.
- For testing, you can temporarily toggle on Skip TLS verify in the data source settings. Don’t use this in production.
- Verify the Server name setting matches the certificate’s Common Name or Subject Alternative Name.
Timeout errors
Symptoms:
- Queries take a long time then fail
- Errors mention timeout
Solutions:
- Increase the timeout value in Additional settings > Timeout.
- Verify network latency between Grafana and Jaeger is acceptable.
- Check that the Jaeger query service isn’t overloaded.
Authentication errors
These errors occur when credentials are invalid or missing.
“401 Unauthorized” or “403 Forbidden”
Symptoms:
- Save & test fails with authorization errors
- Queries return access denied messages
- Services and operations don’t load in drop-downs
Possible causes and solutions:
| Cause | Solution |
|---|---|
| Invalid credentials | Verify the User and Password values in the data source configuration. |
| Missing authentication | If Jaeger requires authentication, toggle on the appropriate auth method. |
| Incorrect custom headers | Verify custom header names and values in Additional settings. |
| OAuth forwarding issues | If using Forward OAuth identity, verify the upstream OAuth provider is configured correctly. |
Query errors
These errors occur when executing queries against Jaeger.
“traceID is empty”
Symptoms:
- The query fails with “traceID is empty” when using the TraceID query type
Solutions:
- Enter a valid trace ID in the Trace ID field.
- Verify the trace ID is a valid hexadecimal string.
- If using a template variable, verify the variable resolves to a non-empty value.
No data in search results
Symptoms:
- Search query returns no traces
- The trace list is empty
Possible causes and solutions:
| Cause | Solution |
|---|---|
| Time range doesn’t contain data | Expand the dashboard or Explore time range. Verify traces exist in Jaeger for the selected period. |
| Service or operation doesn’t exist | Verify the selected service and operation names match what’s in Jaeger. |
| Tags syntax error | Ensure tags use logfmt format: error=true db.statement="select * from User". |
| Duration format error | Use supported duration formats: 1.2s, 100ms, 500us. |
| Limit set too low | Increase the Limit value or leave it empty for the default. |
“The JSON file uploaded is not in a valid Jaeger format”
Symptoms:
- Importing a trace file fails with a format error
Solutions:
- Verify the JSON file follows the Jaeger trace format with a
dataarray at the root level. - Ensure the file contains at least one trace object in the
dataarray. - Validate the JSON syntax using a JSON linter.
Expected format:
{
"data": [
{
"traceID": "<TRACE_ID>",
"spans": [...],
"processes": {...}
}
]
}Dependency graph errors
These errors relate to the dependency graph query type.
Empty dependency graph
Symptoms:
- The dependency graph query returns no nodes or edges
- The Node Graph panel is empty
Possible causes and solutions:
| Cause | Solution |
|---|---|
| No dependency data | Verify Jaeger is collecting and processing service dependency information. |
| Time range too narrow | Expand the dashboard time range. Dependencies are calculated over the selected period. |
| Jaeger storage backend | Some Jaeger storage backends may not support dependency queries. Refer to the Jaeger documentation for storage-specific details. |
gRPC endpoint errors
These errors occur when using the gRPC query endpoint.
gRPC queries fail
Symptoms:
- Queries don’t use the gRPC endpoint
- Search, service, and operation queries still use the REST API
Solutions:
- Verify the
jaegerEnableGrpcEndpointfeature flag is enabled in Grafana. This feature is in public preview. - Grafana Cloud customers should contact support to request access.
- Note that search and dependency graph queries currently use the REST endpoint even when the feature flag is enabled. Only service search, operation search, and trace ID queries use gRPC.
Enable debug logging
To capture detailed error information for troubleshooting:
Set the Grafana log level to
debugin the configuration file:ini[log] level = debugReproduce the issue.
Review logs in
/var/log/grafana/grafana.log(or your configured log location).Look for Jaeger-specific entries that include request URLs, response status codes, and error details.
Reset the log level to
infoafter troubleshooting to avoid excessive log volume.
Get additional help
If you’ve tried the solutions in this document and still encounter issues:
- Check the Grafana community forums for similar issues.
- Review the Grafana GitHub issues for known bugs related to the Jaeger data source.
- Refer to the Jaeger documentation for service-specific guidance.
- Contact Grafana Support if you’re an Enterprise, Cloud Pro, or Cloud Advanced user.
- When reporting issues, include:
- Grafana version
- Jaeger version
- Error messages (redact sensitive information)
- Steps to reproduce
- Relevant data source configuration (redact credentials)
Was this page helpful?
Related resources from Grafana Labs


