Your token’s secret key displays only once. Make sure that you copy and save it before you exit the page.
How to create and push traces
This page shows you how to create traces from the Scaleway console, retrieve traces push path, configure the OpenTelemetry HTTP agent, and push traces.
Before you startLink to this anchor
To complete the actions presented below, you must have:
- A Scaleway account logged into the console
- Owner status or IAM permissions allowing you to perform actions in the intended Project
Create a traceLink to this anchor
- Click Cockpit in the Observability section of the console side menu. The Cockpit overview page displays.
- Click the Data sources tab.
- Click + Create custom data source. A pop-up displays.
- Complete the required steps to create your trace:
- Enter a name
- Choose the Traces data type
- Select a region to create your trace in
- Choose your data retention duration (by default traces will be retained for 7 days)
- Check the estimated cost, then click Create custom data source.
Retrieve traces push pathsLink to this anchor
Scaleway supports the OpenTelemetry HTTP push path for traces: /otlp/v1/traces
.
The complete endpoint is https://<datasource_id>.traces.cockpit.<region>.scw.cloud/otlp/v1/traces
.
You can retrieve your trace’s push path (and data source ID) from Scaleway API or from the Scaleway console:
- Click Cockpit in the Observability section of the console side menu. The Cockpit overview page displays.
- Click the Data sources tab.
- Click the trace data source of which you want to retrieve the path. The trace’s information displays.
- Retrieve the data source’s URL under the URL section.
- Add the push path
/otlp/v1/traces
to the URL.
Push tracesLink to this anchor
-
Create a token with Push permissions for traces.
Important -
Configure your applications to send traces to your preferred endpoint using your newly-created token to authenticate.
NoteYou can also configure an agent to push your trace(s). Find out how to configure the Grafana Alloy agent and push your data
-
Create your Grafana dashboard and start monitoring your data.
TipFind out more information about pushing traces and visualizing them in Grafana, in the official documentation