Logs/Uptrace
Add Uptrace log integration
Changed onAdd an Uptrace log integration via the OpenTelemetry protocol (OTLP/HTTP).
Find your DSN in Uptrace under Project → Data Source Name. The DSN encodes both your project ID and API token in a single URL:
https://<token>@otlp.uptrace.dev/<project_id>
Works with both Uptrace Cloud (otlp.uptrace.dev) and self-hosted Uptrace instances.
Available on all LavinMQ clusters and RabbitMQ clusters running version 3.10.0 or later.
post/integrations/logs/uptrace
Request
- Base URLhttps://api.cloudamqp.com/api
- URLhttps://api.cloudamqp.com/api/integrations/logs/uptrace
- AuthHTTP basic
Request body application/x-www-form-urlencoded
Example request
{
"dsn": "https://token@otlp.uptrace.dev/123"
}Response
Integration created successfully
Example response
{
"id": 10
}Changes
- breaking
removed the success response with the status
- info
added the non-success response with the status
- info
added the success response with the status
- breaking