Skip to content

Commit 5e9557b

Browse files
authored
fix(ckpt): update traces push path information (#4727)
1 parent 1591493 commit 5e9557b

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

pages/cockpit/how-to/activate-push-traces.mdx

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ dates:
1212
posted: 2023-10-31
1313
---
1414

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.
1616

1717
<Macro id="requirements" />
1818

1919
- 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
2121

2222
## Create a trace
2323

@@ -28,23 +28,22 @@ This page shows you how to create [traces](/cockpit/concepts/#traces) from the S
2828
- Enter a name
2929
- Choose the **Traces** data type
3030
- Select a region to create your trace in
31+
- Choose your data retention duration (by default traces will be retained for 7 days)
3132
5. Check the estimated cost, then click **Create custom data source**.
3233

33-
### Retrieve traces push paths
34+
### Retrieve traces push path
3435

35-
<Message type="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`.
3837

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`.
4139

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:
4341

4442
1. Click **Cockpit** in the Observability section of the [console](https://console.scaleway.com/) side menu. The **Cockpit** overview page displays.
4543
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.
4847

4948
## Push traces
5049

0 commit comments

Comments
 (0)