Troubleshooting

What do I do if I see X?

In this article:

I cannot find time series by name/externalId

Symptom

I’m trying to create a dashboard using Timeseries on Grafana. The timeseries work on Insight and on Postman but it doesn’t work on Grafana.

Causes

It might happen for the Grafana Connector v1 only. It uses CDF API v05, so please make sure the Timeseries you’re trying to load into Grafana has legacyName set. You can check by trying to load the Timeseries on Postman using the v0.5 endpoint

Fixes

Upgrade or set legacyName for searched time series

or

Upgrade to Grafana Connector v2

Dashboard frequently timeout

Symptom

Receive network errors (429, 503) when you have multiple dashboards sharing the same datatasource.

Causes

Might happen when too many requests are firing at the same time from the different dashboards.

Fixes

Reduce the number of dashboards that uses same data source or reduce the refresh rate of the dashboard.

or

Create few datasources with different API keys for the same tenant

Template query does not retrieve expected assets

Symptom

After migration to Grafana Connector v2 template query failed to fetch assets or result is different it was in Grafana Connector v1

Causes

Endpoint that is used to get assets has been changed in Grafana Connector v2. Now assets/list is used for this and filtering by description and name should be done in different way.

Fixes

Because of assets/list endpoint doesn't support filtering by description, it can be implementing using regexp filters in query:

assets{parentIds=[123], description="some"} can be changed to assets{parentIds=[123], description~=".*some.*"}

But solution above has limitation under the hood – regexp filter is case-sensitive, you should pay attantion on it.

Filtering by name is also different as it was in Grafana Connector v1. In Grafana Connector v2 filtering by name is strict. For instance, query assets{name="some"} in Grafana Connector v2 matches assets with name equals some string. But in Grafana Connector v1 example query matches assets with names, which contatin some string.

Last Updated: 6/29/2020, 3:55:18 PM