Skip to content

Commit a62c20a

Browse files
committed
docs(cpt): fix2
1 parent 0300dcd commit a62c20a

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

pages/cockpit/troubleshooting/synchronize-grafana-data-sources.mdx

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ This page shows you how to visualize your data again when it does not display on
3535

3636
<Lightbox src="scaleway_cpt_grafana_datasources_troubleshooting.webp" alt="Grafana dashboard showing error messages and warning signs of no data found for the user's datasources" />
3737

38-
- Your Cockpit is unavailable
39-
- You cannot view your logs and/or metrics in Grafana
40-
- Your Cockpit data sources are not configured
41-
- You cannot view your dashboards in Grafana
38+
- Your Cockpit is unavailable.
39+
- You cannot view your logs and/or metrics in Grafana.
40+
- Your Cockpit data sources are not configured.
41+
- You cannot view your dashboards in Grafana.
4242

4343
## Cause
4444

@@ -55,11 +55,15 @@ Open a terminal and run the following command to trigger the synchronization of
5555
-H "Content-Type: application/json" \
5656
-d '{"project_id":"$SCALEWAY_PROJECT_ID"}' \
5757
"https://api.scaleway.com/cockpit/v1/grafana/sync-data-sources"
58+
```
5859

5960
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.
6061

6162
### Using the Scaleway CLI
6263

63-
Open a terminal and run the following command `scw cockpit grafana sync-data-sources project-id=<PROJECT-ID>`
64+
Open a terminal and run the following command:
65+
```bash
66+
scw cockpit grafana sync-data-sources project-id=<PROJECT-ID>
67+
```
6468

6569
Make sure that you replace `<PROJECT-ID>` with the ID of the Scaleway Project affected by the issue.

0 commit comments

Comments
 (0)