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 start
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 trace
- Click Cockpit in the Monitoring 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 paths
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 Monitoring 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 traces
-
Create a token with Push permissions for traces.
-
Configure your applications to send traces to your preferred endpoint using your newly-created token to authenticate.
-
Create your Grafana dashboard and start monitoring your data.
See Also
Still need help?Create a support ticket