Ingesting data using OpenTelemetry Distros for Uptrace

Uptrace distros

Uptrace uses OpenTelemetry protocol (OTLP) to receive telemetry data such as spansopen in new window, metricsopen in new window, and logs.

To start sending data to Uptrace, you need to configure 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 OpenTelemetry SDK using the following information.

To send data to a self-managed Uptraceopen in new window installation that does not have TLS:

exporters:
  otlp:
    endpoint: http://localhost:14317
    tls:
      insecure: true
    headers:
      uptrace-dsn: 'http://<token>:localhost:14317/<project_id>'
exporters:
  otlphttp:
    endpoint: http://localhost:14318
    tls:
      insecure: true
    headers:
      uptrace-dsn: 'http://<token>:localhost:14318/<project_id>'

To send data to Uptrace Cloudopen in new window:

exporters:
  otlp:
    endpoint: otlp.uptrace.dev:4317
    headers:
      uptrace-dsn: 'https://<token>@uptrace.dev/<project_id>'
exporters:
  otlphttp:
    endpoint: https://otlp.uptrace.dev
    headers:
      uptrace-dsn: 'https://<token>@uptrace.dev/<project_id>'