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
Install otel-collector-contrib using following docs
Refer OTel collector configuration
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 theatatus-collector.yaml
file under the exporterotlphttp
header (see step 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]