Logs/Uptrace

Add Uptrace log integration

Changed on

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

Request

  • Base URL
    https://api.cloudamqp.com/api
  • URL
    https://api.cloudamqp.com/api/integrations/logs/uptrace
  • Auth
    HTTP basic

Request body application/x-www-form-urlencoded

dsnstring required

Uptrace DSN, encodes your project ID and API token

Example request

{
  "dsn": "https://token@otlp.uptrace.dev/123"
}

Response

Integration created successfully

idinteger

Created integration ID

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