You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pages/cockpit/how-to/activate-push-traces.mdx
+10-11Lines changed: 10 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,12 +12,12 @@ dates:
12
12
posted: 2023-10-31
13
13
---
14
14
15
-
This page shows you how to create [traces](/cockpit/concepts/#traces) from the Scaleway console, retrieve traces push paths, configure the OpenTelemetry HTTP agent, and push traces.
15
+
This page shows you how to create [traces](/cockpit/concepts/#traces) from the Scaleway console, retrieve traces push path, configure the OpenTelemetry HTTP agent, and push traces.
16
16
17
17
<Macroid="requirements" />
18
18
19
19
- A Scaleway account logged into the [console](https://console.scaleway.com)
20
-
-[Owner](/iam/concepts/#owner) status or [IAM permissions](/iam/concepts/#permission) allowing you to perform actions in the intended Organization
20
+
-[Owner](/iam/concepts/#owner) status or [IAM permissions](/iam/concepts/#permission) allowing you to perform actions in the intended Project
21
21
22
22
## Create a trace
23
23
@@ -28,23 +28,22 @@ This page shows you how to create [traces](/cockpit/concepts/#traces) from the S
28
28
- Enter a name
29
29
- Choose the **Traces** data type
30
30
- Select a region to create your trace in
31
+
- Choose your data retention duration (by default traces will be retained for 7 days)
31
32
5. Check the estimated cost, then click **Create custom data source**.
32
33
33
-
### Retrieve traces push paths
34
+
### Retrieve traces push path
34
35
35
-
<Messagetype="important">
36
-
Only the [OpenTelemetry](https://opentelemetry.io/docs/what-is-opentelemetry/) HTTP push path is supported. Scaleway is working on implementing the [Open Telemetry gRPC](https://opentelemetry.io/docs/specs/semconv/rpc/grpc/), [Zipkin](https://zipkin.io/) and [Jaeger](https://www.jaegertracing.io/docs/1.50/) protocols.
37
-
</Message>
36
+
Scaleway supports the [OpenTelemetry](https://opentelemetry.io/docs/what-is-opentelemetry/) HTTP push path for traces: `/otlp/v1/traces`.
38
37
39
-
Scaleway provides the following push path for the OpenTelemetry agent: `/otlp/v1/traces`.
40
-
The complete endpoint is `https://traces.cockpit.fr-par.scw.cloud/otlp/v1/traces`.
38
+
The complete endpoint is `https://<datasource_id>.traces.cockpit.<region>.scw.cloud/otlp/v1/traces`.
41
39
42
-
Alternatively, you can retrieve your trace's push path from the Scaleway console:
40
+
You can retrieve your trace's push path (and data source ID) from [Scaleway API](https://www.scaleway.com/en/developers/api/cockpit/regional-api/#path-data-sources-list-data-sources) or from the Scaleway console:
43
41
44
42
1. Click **Cockpit** in the Observability section of the [console](https://console.scaleway.com/) side menu. The **Cockpit** overview page displays.
45
43
2. Click the **Data sources** tab.
46
-
3. Click the trace of which you want to retrieve the path. The trace's information displays.
47
-
4. Retrieve the push path under the **URL** section.
44
+
3. Click the trace data source of which you want to retrieve the path. The trace's information displays.
45
+
4. Retrieve the data source's URL under the **URL** section.
46
+
5. Add the push path `/otlp/v1/traces` to the URL.
0 commit comments