NavigationContentFooter
Jump toSuggest an edit
Was this page helpful?

No data showing up on Grafana dashboards

Reviewed on 06 February 2025Published on 06 February 2025

This page shows you how to visualize your data again when it does not display on your Grafana dashboards, using the SyncGrafanaDataSources endpoint of the Cockpit Global API.

Important

The Cockpit Global API contains deprecated information that is being updated, you should not use it for any other purpose than the one described on this page.

Before you startLink to this anchor

To complete the actions presented below, you must have:

  • A Scaleway account logged into the console
  • Created an API key with sufficient IAM permissions to perform the actions described on this page
  • Installed curl

ProblemLink to this anchor

Many Cockpit users often encounter issues with Grafana data sources not synchronizing properly, leading to missing data on dashboards when data should be available.

When users open their Grafana dashboards, they see a No data message along with an error banner stating: Failed to upgrade legacy queries datasource was not found.

SolutionLink to this anchor

Open a terminal and run the following command to trigger the synchronization of your data sources:

curl -X POST \
-H "X-Auth-Token: $SCW_SECRET_KEY" \
-H "Content-Type: application/json" \
-d '{"project_id":"$SCALEWAY_PROJECT_ID"}' \
"https://api.scaleway.com/cockpit/v1/grafana/sync-data-sources"
Make sure that you replace `$SCW_SECRET_KEY` with your API secret key and `$SCALEWAY_PROJECT_ID` with the ID of the Scaleway Project affected by the issue.
Was this page helpful?
API DocsScaleway consoleDedibox consoleScaleway LearningScaleway.comPricingBlogCareers
© 2023-2025 – Scaleway