v1

latestOpenAPI 3.1.22026-08-0611530152.3 KB
Logs/Uptrace

Add Uptrace log integration

Add 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

Response

Integration added successfully

idinteger

Integration ID

typestring

Integration type (e.g., papertrail, scalyr, splunk, datadog, etc.)

configobject

Integration configuration (varies by integration type)

errorstring

Error message if any

account_idstring

Account ID

Example response

{
  "id": 10
}