Ingesting data using OpenTelemetry Distros for Uptrace
Uptrace distros
Uptrace uses OpenTelemetry protocol (OTLP) to receive telemetry data such as spans, metrics, and logs.
To start sending data to Uptrace, you need to configure an OpenTelemetry SDK which might be a bit overwhelming if you are new to OpenTelemetry.
To make the process easier, Uptrace provides pre-configured OpenTelemetry distros for the most popular programming languages:
Already using OpenTelemetry SDK?
If you've already configured an OpenTelemetry SDK or Uptrace does not provide a distro for your programming language, you can configure an OpenTelemetry SDK using the following information.
To send data to a self-managed Uptrace installation that does not have TLS:
exporters:
otlp/uptrace:
endpoint: http://localhost:14317
tls:
insecure: true
headers:
uptrace-dsn: 'http://project2_secret_token@localhost:14317/2'
exporters:
otlphttp/uptrace:
endpoint: http://localhost:14318
tls:
insecure: true
headers:
uptrace-dsn: 'http://project2_secret_token@localhost:14318/2'
To send data to Uptrace Cloud:
exporters:
otlp/uptrace:
endpoint: otlp.uptrace.dev:4317
headers:
uptrace-dsn: 'https://<token>@api.uptrace.dev/<project_id>'
exporters:
otlphttp/uptrace:
endpoint: https://otlp.uptrace.dev
headers:
uptrace-dsn: 'https://<token>@api.uptrace.dev/<project_id>'