Troubleshoot Wavefront data source issues
This document provides solutions to common issues you might encounter when configuring or using the Wavefront data source. For configuration instructions, refer to Configure the Wavefront data source.
Authentication errors
These errors occur when credentials are missing, invalid, or don’t have the required permissions.
“Enter an API URL.” or “Enter a token.”
Symptoms:
- Save & test fails with a message like
The configuration setup is incomplete. - The detailed message is
Enter an API URL.orEnter a token.
Solutions:
- Open the data source configuration page.
- Fill in the API URL field with your Wavefront tenant URL, for example
https://myenvironment.wavefront.com. - Fill in the Token field with a valid Wavefront API token.
- Click Save & test again.
“The credentials are incorrect. Check that the token is correct.”
Symptoms:
- Save & test fails with the status
Unauthorized (401). - Queries return 401 errors in the browser network tab or panel error messages.
Possible causes and solutions:
Connection errors
These errors occur when Grafana can’t reach the Wavefront API.
“Could not connect to Wavefront. This usually happens when the URL is incorrect.”
Symptoms:
- Save & test fails with the status
Bad Request (400). - The detailed message is
Could not connect to Wavefront. This usually happens when the URL is incorrect.
Solutions:
- Verify the API URL is the full tenant URL, including the
https://scheme and no trailing path. Common URL mistakes include:- Adding a trailing slash, for example
https://myenvironment.wavefront.com/. Remove the slash. - Including an API path, for example
https://myenvironment.wavefront.com/api/v2/. The data source appends API paths automatically. - Using
http://instead ofhttps://.
- Adding a trailing slash, for example
- Confirm the tenant is reachable from your Grafana instance. Try the URL in a browser or with
curl. - If you’re using Grafana Cloud with a private Wavefront tenant, configure Private data source connect and enable Enable Secure Socks Proxy on the data source.
- Check firewall rules allow outbound HTTPS (port 443) from the Grafana server to your Wavefront tenant.
Data source test times out
Symptoms:
- Save & test hangs or reports a timeout.
- Queries work intermittently.
Solutions:
- Verify network connectivity from the Grafana server to the Wavefront tenant.
- Increase the Request timeout in seconds setting in the data source configuration.
- For private networks, ensure your VPN, peering, or Private data source connect path to Wavefront is healthy.
Query errors
These errors occur when running queries against the data source.
“No data” or empty results
Symptoms:
- The query runs without an error, but the panel shows
No data.
Possible causes and solutions:
Query timeout
Symptoms:
- The query runs for a long time then fails with a timeout error.
- Error mentions
context deadline exceededorrequest timeout.
Solutions:
- Narrow the time range to reduce the number of points returned.
- Add filters to reduce the result set.
- Add an aggregation function, for example
avgorsum, to collapse high-cardinality series. - Increase Request timeout in seconds on the data source for heavier queries.
“Error: It seems the query have URL escaped characters.”
Symptoms:
- The Raw Query editor shows a red error about URL-escaped characters.
- The query includes sequences like
%20,%3D, or%22.
Solutions:
- Replace escaped sequences with literal characters. For example, replace
%20with a space and%3Dwith=. - Re-run the query. If the error persists, clear the Query Type selector and re-select the appropriate type.
PromQL query returns unexpected results
Symptoms:
- PromQL queries work on a Prometheus tenant but not on Wavefront, or return different shapes.
Solutions:
- Confirm Query Type is set to PromQL or Hybrid in the Raw Query editor.
- Review the Wavefront PromQL compatibility guidance for functions and selectors that Wavefront translates differently.
- Try rewriting the query in WQL with Query Type set to WQL to compare output.
Template variable errors
These errors affect template variables backed by the Wavefront data source.
Variables return no values
Solutions:
- Verify the data source connection with Save & test.
- Confirm the Query Type matches the data you want. Use Metrics for metric names, Hosts / Sources for source names, and so on.
- For Tag Values, make sure the Tag field contains a valid tag key.
- Verify the token has permission to list the requested resources.
“Tag Values” returns all values or is empty
Symptoms:
- Tag Values returns every value in the tenant, or returns nothing.
Solutions:
- Set a specific Query expression, for example
~sample.cpu.*, to scope the search. - Double-check the Tag field for typos. The field is case-sensitive.
Ad hoc filters show no keys or values
Symptoms:
- The ad hoc filter drop-down is empty.
- The filter shows keys, but no values for the selected key.
Solutions:
- Confirm a helper variable named exactly
metriclinkexists on the dashboard. The data source uses this helper to decide which metric’s keys and values to list. - Make sure
metriclinkhas a non-empty value. You can use a Custom variable with a list of metrics or a Query variable of type Metrics. - Refer to Ad hoc filters on the query editor page for full setup steps.
Legacy variable queries don’t return results
Symptoms:
- A dashboard imported from an older plugin version has variables with string queries like
metrics: ts(...)ortagValues(env): ts(...). - The variable returns no results or an
invalid queryerror.
Solutions:
- Open the variable for editing. The plugin migrates legacy queries automatically when the variable loads, so the editor shows the modern Query Type and Query fields.
- Confirm the migrated Query Type matches what you expect. For example,
sources:migrates to Hosts / Sources, andtagValues(env):migrates to Tag Values with Tag set toenv. - If the migration didn’t pick the correct type, set the Query Type and Query manually.
- Refer to Legacy query formats on the template variables page.
Annotation issues
These issues affect Wavefront events used as annotations on dashboards.
No annotations appear on the panel
Symptoms:
- An annotation query is configured, but no markers or regions appear on the panel.
Solutions:
- Confirm Wavefront has events in the dashboard time range. Open the Wavefront UI’s Events browser to verify.
- Check the annotation toggle on the dashboard’s annotation switch bar to confirm the annotation isn’t hidden.
- Increase the Limit on the annotation query if the tenant has many events and yours might be after the cutoff.
- Confirm the token has permission to read events.
- Refer to Add an annotation for the full setup procedure.
Annotation tooltip shows the wrong text
Symptoms:
- Annotation markers appear, but the tooltip shows an unhelpful field, such as the event ID instead of the event name.
Solutions:
- Open the annotation in dashboard settings.
- In the Fields section, map response fields to the annotation Title, Text, and Tags.
- For recommended mappings, refer to Map response fields to annotation properties.
Performance issues
These issues relate to slow queries, throttling, or API limits.
API throttling or rate-limit errors
Symptoms:
- Errors mentioning rate limits or HTTP
429responses. - Dashboard panels intermittently fail during peak refresh times.
Solutions:
- Reduce the dashboard refresh frequency.
- Increase the aggregation interval to reduce the number of points returned.
- Enable query caching (available in Grafana Enterprise and Grafana Cloud).
- Request a rate-limit increase from your Wavefront administrator or VMware support.
Alert rules time out or return No Data
Symptoms:
- Grafana-managed alert rules based on Wavefront queries fail with timeouts.
- Alert rules transition to No Data.
Solutions:
- Simplify the alert query or add filters to limit the number of series.
- Use moving-window functions, such as
mavgormmedian, to smooth high-cardinality results. - Add
align()in WQL or a[duration]selector in PromQL so the query produces a regular time series for the Reduce expression. - Increase Request timeout in seconds on the data source so alert evaluations have more time to complete.
- Avoid very long time ranges in alert queries; use the shortest range that still captures the signal.
- For more guidance, refer to Alerting with the Wavefront data source.
Enable debug logging
To capture detailed error information for troubleshooting:
Set the Grafana log level to
debugin the Grafana configuration file:[log] level = debugRestart Grafana.
Reproduce the issue and review logs in
/var/log/grafana/grafana.log(or your configured log location). Look for log entries withlogger=plugin.grafana-wavefront-datasource, which include backend errors from the data source as well as the URLs of HTTP requests sent to your Wavefront tenant.To inspect the queries the plugin sends, also check the panel’s query inspector under Inspect > Query for the
executedQueryStringfield.Reset the log level to
infoafter troubleshooting to avoid excessive log volume.
Get additional help
If you’ve tried the solutions in this guide and still encounter issues:
- Check the Grafana community forums for similar issues.
- Consult the VMware Aria Operations for Applications documentation for tenant-specific guidance.
- Raise a support ticket if you’re a Grafana Cloud Pro, Cloud Advanced, or Grafana Enterprise customer.
- When reporting an issue, include:
- Grafana version and plugin version (from Plugins and data > Plugins).
- The exact error message (redact sensitive information).
- Steps to reproduce.
- Relevant configuration, with credentials redacted.


