Skip to content

Commit cd85591

Browse files
committed
docs(cpt): feedback
1 parent cee331c commit cd85591

File tree

1 file changed

+17
-29
lines changed

1 file changed

+17
-29
lines changed

pages/cockpit/reference-content/cockpit-supported-endpoints.mdx

Lines changed: 17 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ content:
77
paragraph: Discover how to manage your telemetry data sources using the Scaleway-supported Mimir, Loki, Tempo and Prometheus endpoints
88
tags: observability cockpit endpoints mimir loki telemetry prometheus tempo datasource-management
99
dates:
10-
validation: 2025-04-25
11-
posted: 2025-04-25
10+
validation: 2025-05-05
11+
posted: 2025-05-05
1212
categories:
1313
- observability
1414
---
@@ -18,25 +18,27 @@ Cockpit supports telemetry ingestion and querying using the following open-sourc
1818
- [Mimir](https://grafana.com/oss/mimir/) for metrics
1919
- [Loki](https://grafana.com/oss/loki/) for logs
2020
- [Tempo](https://grafana.com/oss/tempo/) for traces
21-
- [Prometheus](https://grafana.com/oss/prometheus/) for the alert manager
21+
- [Prometheus](https://prometheus.io/docs/alerting/latest/alertmanager/) for the alert manager
2222

2323
Cockpit exposes a subset of their HTTP APIs so users can push, query, and manage telemetry data from Cockpit.
2424

2525
<Message type="important">
26-
Scaleway does not support all endpoints from these upstream APIs. refer to the exact lists below to find out which endpoints are supported.
26+
Scaleway does not support all endpoints from these upstream APIs. Refer to the exact lists below to find out which endpoints are supported.
2727
</Message>
2828

2929
<Macro id="requirements" />
3030

3131
- A Scaleway account logged into the [console](https://console.scaleway.com)
32-
- [Owner](/iam/concepts/#owner) status or [IAM permissions](/iam/concepts/#permission) allowing you to perform actions in the intended Organization
32+
- [Owner](/iam/concepts/#owner) status or [IAM permissions](/iam/concepts/#permission) allowing you to perform actions in the intended Organization or Project
3333
- [Created](/cockpit/how-to/create-token/) a Cockpit token with the right [permissions](/cockpit/concepts/#cockpit-tokens)
3434
- Retrieved the URL of your data source from the [Scaleway console](https://console.scaleway.com/cockpit/dataSource) or the [API](https://www.scaleway.com/en/developers/api/cockpit/regional-api/#path-data-sources-list-data-sources)
3535

3636
## Mimir supported endpoints (metrics)
3737

3838
The base URL pattern for metrics is the following: `https://<data-source-id>.metrics.cockpit.<region>.scw.cloud`. You must replace `<data-source-id>` with the ID of your data source and `<region>` with the region where your data source is located (`fr-par`, `nl-ams`, or `pl-waw`).
3939

40+
Refer to the [official Mimir documentation](https://grafana.com/docs/mimir/latest/references/http-api/) for more details about the endpoints below.
41+
4042
<Concept>
4143
## Mimir write endpoints
4244

@@ -73,21 +75,13 @@ The base URL pattern for metrics is the following: `https://<data-source-id>.met
7375
- Path: `/prometheus/config/v1/rules/*`
7476
</Concept>
7577

76-
<Concept>
77-
## Mimir admin endpoints
78-
79-
Methods: `GET` and `POST`.
80-
81-
- Path: `/ruler/delete_tenant_config`
82-
- Path: `/compactor/delete_tenant`
83-
- Path: `/compactor/delete_tenant_status`
84-
</Concept>
85-
8678

8779
## Loki supported endpoints (logs)
8880

8981
The base URL pattern for logs is the following: `https://<data-source-id>.logs.cockpit.<region>.scw.cloud`. You must replace `<data-source-id>` with the ID of your data source and `<region>` with the region where your data source is located (`fr-par`, `nl-ams`, or `pl-waw`).
9082

83+
Refer to the [official Loki documentation](https://grafana.com/docs/loki/latest/reference/loki-http-api/) for more details about the endpoints below.
84+
9185
<Concept>
9286
## Loki write endpoints
9387

@@ -128,6 +122,8 @@ The base URL pattern for logs is the following: `https://<data-source-id>.logs.c
128122

129123
The base URL pattern for traces is the following: `https://<data-source-id>.traces.cockpit.<region>.scw.cloud`. You must replace `<data-source-id>` with the ID of your data source and `<region>` with the region where your data source is located (`fr-par`, `nl-ams`, or `pl-waw`).
130124

125+
Refer to the [official Tempo documentation](https://grafana.com/docs/tempo/latest/api_docs/) for more details about the endpoints below.
126+
131127
<Concept>
132128
## Tempo write endpoints
133129

@@ -153,12 +149,14 @@ The base URL pattern for traces is the following: `https://<data-source-id>.trac
153149
- Path: `/api/v2/search/tag/*/values`
154150
</Concept>
155151

156-
## Pometheus supported endpoints
152+
## Prometheus alert manager supported endpoints
153+
154+
The base URL pattern for the alert manager is the following: `https://<alert-manager-id>.alertmanager.cockpit.<region>.scw.cloud`. You must replace `<alert-manager-id>` with the ID of your alert manager and `<region>` with the region where the alert manager is enabled (`fr-par`, `nl-ams`, or `pl-waw`).
157155

158-
The base URL pattern for the alert manager is the following: `https://<data-source-id>.alertmanager.cockpit.<region>.scw.cloud`. You must replace `<data-source-id>` with the ID of your data source and `<region>` with the region where the alert manager is enabled (`fr-par`, `nl-ams`, or `pl-waw`).
156+
Refer to the [official Prometheus alert manager documentation](https://prometheus.io/docs/prometheus/latest/querying/api/#alerts) for more details about the endpoints below.
159157

160158
<Message type="important">
161-
You must use the [Cockpit API](https://www.scaleway.com/en/developers/api/cockpit/regional-api/#path-alert-manager-get-the-alert-manager) to retrieve the URL.
159+
You must use the [Cockpit API](https://www.scaleway.com/en/developers/api/cockpit/regional-api/#path-alert-manager-get-the-alert-manager) to retrieve the ID of the alert manager.
162160
</Message>
163161

164162
<Concept>
@@ -168,14 +166,4 @@ The base URL pattern for the alert manager is the following: `https://<data-sour
168166

169167
- Path: `/alertmanager/*`
170168
- Path: `/api/v1/alerts`
171-
</Concept>
172-
173-
<Concept>
174-
## Alert manager admin endpoints
175-
176-
Method: `POST`.
177-
178-
Path: `/multitenant_alertmanager/delete_tenant_config`
179-
</Concept>
180-
181-
169+
</Concept>

0 commit comments

Comments
 (0)