Distributed Tracing

Ingest OTLP traces from your applications — service map, span waterfall, per-key quotas.

What it is

An OTLP ingest endpoint plus a trace browser: your applications send OpenTelemetry spans, we store them per status page and render a hierarchical span waterfall with per-service views: request-level visibility inside your own stack, where uptime checks cannot see.

Ingest keys

Traces authenticate with ingest keys, per-status-page credentials, separate from your user API tokens:

# Create a key (plaintext returned once)
curl -X POST https://api.uptriva.com/api/v1/uptime/telemetry/keys \
  -H "Authorization: Bearer sk_shx_..." \
  -H "Content-Type: application/json" \
  -d '{ "name": "checkout-service", "status_page_id": "<uuid>" }'
# → { "key": "sk_ingest_...", ... }
GET /telemetry/keys          # list
PUT /telemetry/keys/:id      # rename / toggle / sampling settings
DELETE /telemetry/keys/:id   # revoke

Keys are stored hashed, rate-limited per key, and can be disabled without rotating user credentials.

Sending traces

Point any OTLP-compatible exporter at the ingest endpoint with the key in X-Ingest-Key:

POST https://api.uptriva.com/api/v1/uptime/otel/v1/traces
X-Ingest-Key: sk_ingest_...
Content-Type: application/json

OpenTelemetry Collector example:

exporters:
  otlphttp/uptriva:
    endpoint: https://api.uptriva.com/api/v1/uptime
    headers:
      X-Ingest-Key: ${UPTRIVA_INGEST_KEY}

service:
  pipelines:
    traces:
      receivers: [otlp]
      processors: [batch]
      exporters: [otlphttp/uptriva]

Or skip the collector; most OTel SDKs can export OTLP/HTTP directly to the same endpoint.

Browsing traces

Method Path Description
GET /telemetry/services Services seen across your pages
GET /telemetry/traces Recent traces (?status_page_id=, filters)
GET /telemetry/traces/:traceId Full trace with span waterfall
DELETE /telemetry/traces[/:traceId] Retention cleanup

The dashboard renders the waterfall per service (span durations, errors and attributes) next to the monitors watching the same page, so an outage alert links straight into "what did that request actually do."