Atatus accepts telemetry directly from OpenTelemetry code instrumentation or collectors.

You can retrieve the following metrics through Atatus by utilizing OpenTelemetry.

  • Traces
  • Logs
  • Metrics

Our OpenTelemetry HTTP endpoint is hosted at https://otel-rx.atatus.com, and requires the api-key header to be set to your API key.

OTel Collector Configuration

  1. Install otel-collector-contrib using following docs

  2. Refer OTel collector configuration

  3. Navigate to Atatus Dashboard --> Settings --> Account Settings --> API Keys. You can either generate a new API key or copy an existing one with write permission. After obtaining the API key, you'll need to set it in the atatus-collector.yaml file under the exporter otlphttp header (see step 4).

  4. Below is an example of a collector configuration

# atatus-collector.yaml

receivers:
  otlp:
    protocols:
      grpc:
      http:

exporters:
  # HTTP setup
  otlphttp/atatus:
    endpoint: 'https://otel-rx.atatus.com'
    headers:
      api-key: <YOUR_API_KEY>

processors:
  batch:

  # You can optionally set the  resource attributes (env and version - Optional).
  resource:
    attributes:
      - key: env
        value: "prod"
        action: upsert
      - key: version
        value: "1.0.0"
        action: upsert

service:
  pipelines:
    traces:
      receivers: [otlp]
      processors: [resource, batch]
      exporters: [otlphttp/atatus]
    metrics:
      receivers: [otlp]
      processors: [resource, batch]
      exporters: [otlphttp/atatus]
    logs:
      receivers: [otlp]
      processors: [resource, batch]
      exporters: [otlphttp/atatus]