Apus exports diagnostics through the official diagnostics-otel plugin using OTLP/HTTP (protobuf). Logs can also be written as stdout JSONL for container and sandbox log pipelines. Any collector or backend that accepts OTLP/HTTP works without code changes. For local file logs, see Logging.

This page is an index. OpenTelemetry export is documented on five pages, one per reader job. Open the page that matches your task.

Page Read it when
Set up OpenTelemetry export You want to install the plugin, turn export on, check exporter health, or turn it off.
OpenTelemetry configuration You need the diagnostics.otel fields, the OTEL_* variables, or sampling and flush settings.
Privacy and trace context You need to know what content leaves the process, or want to continue an upstream trace.
Model calls and exported metrics You are building dashboards or alerts and need exact metric names and attributes.
Exported spans and diagnostic events You are reading traces or subscribing a plugin to diagnostic events.

Where each section moved

Every section heading from the previous single-page version keeps its anchor here, so an existing link such as /gateway/opentelemetry#gateway-rpc still resolves. Each entry points at the page that now holds the content.

Related