Opentelemetry Collector

Platform:

Ubuntu
24.04 22.04
Channel Revision Published Runs on
2/stable 257 22 Apr 2026
Ubuntu 24.04 Ubuntu 22.04
2/stable 254 22 Apr 2026
Ubuntu 24.04 Ubuntu 22.04
2/stable 256 22 Apr 2026
Ubuntu 24.04 Ubuntu 22.04
2/stable 255 22 Apr 2026
Ubuntu 24.04 Ubuntu 22.04
2/candidate 292 18 Jun 2026
Ubuntu 24.04 Ubuntu 22.04
2/candidate 289 18 Jun 2026
Ubuntu 24.04 Ubuntu 22.04
2/candidate 290 18 Jun 2026
Ubuntu 24.04 Ubuntu 22.04
2/candidate 291 18 Jun 2026
Ubuntu 24.04 Ubuntu 22.04
2/beta 292 18 Jun 2026
Ubuntu 24.04 Ubuntu 22.04
2/beta 289 18 Jun 2026
Ubuntu 24.04 Ubuntu 22.04
2/beta 290 18 Jun 2026
Ubuntu 24.04 Ubuntu 22.04
2/beta 291 18 Jun 2026
Ubuntu 24.04 Ubuntu 22.04
2/edge 292 17 Jun 2026
Ubuntu 24.04 Ubuntu 22.04
2/edge 291 17 Jun 2026
Ubuntu 24.04 Ubuntu 22.04
2/edge 290 17 Jun 2026
Ubuntu 24.04 Ubuntu 22.04
2/edge 289 17 Jun 2026
Ubuntu 24.04 Ubuntu 22.04
dev/edge 304 Today
Ubuntu 24.04 Ubuntu 22.04
dev/edge 303 Today
Ubuntu 24.04 Ubuntu 22.04
dev/edge 302 Today
Ubuntu 24.04 Ubuntu 22.04
dev/edge 301 Today
Ubuntu 24.04 Ubuntu 22.04
dev/edge 300 Today
Ubuntu 24.04 Ubuntu 22.04
dev/edge 299 Today
Ubuntu 24.04 Ubuntu 22.04
dev/edge 298 Today
Ubuntu 24.04 Ubuntu 22.04
dev/edge 297 Today
Ubuntu 24.04 Ubuntu 22.04
juju deploy opentelemetry-collector --channel dev/edge

Vendor-agnostic way to receive, process and export telemetry data.

OpenTelemetry Collector is a Juju subordinate charm that deploys and manages the OpenTelemetry Collector on machines (LXD, MAAS, etc.), providing a vendor-agnostic telemetry pipeline for receiving, processing, and exporting metrics, logs, traces, and profiles. It is a complementary charm to the Canonical Observability Stack (COS), enabling other charms to send their telemetry to COS backends: https://documentation.ubuntu.com/observability

As a subordinate, it is deployed alongside a principal charm and scales automatically with it. The collector aggregates telemetry from the host machine and from related charms, then forwards it to the appropriate backends such as Prometheus, Mimir, Loki, and Tempo.

Key features:

  • Vendor-agnostic telemetry collection covering metrics, logs, traces, and profiles in a single agent.
  • Multi-protocol trace ingestion supporting OpenTelemetry (OTLP gRPC/HTTP), with additional support for Jaeger and Zipkin protocols.
  • Automatic scraping of Prometheus metrics endpoints and collection of log files from the host machine.
  • Forwarding of telemetry to COS backends — Prometheus (remote write), Mimir, Loki, and Tempo — through Juju relations.
  • Integration with the cos-agent interface for custom scrape jobs, log file paths, alert rules, and dashboards provided by principal charms.
  • Built-in Grafana dashboards and alert rules for self-monitoring.
  • TLS support with configurable CA trust via the receive-ca-cert and receive-server-cert relations.
  • Configurable processors, sampling rates, scrape intervals, and per-protocol receiver toggles.
  • Grafana Cloud integration via the cloud-config relation.
  • External configuration support via the external-config relation, allowing related charms (such as opentelemetry-collector-integrator) to inject custom collector configuration snippets that are merged into the running configuration.
  • Customizable port mappings to avoid conflicts with other services on the host.

Known limitations:

  • All receivers feed into all exporters within the same signal pipeline. There is no support for selective routing of telemetry from specific receivers to specific exporters.
  • OpenTelemetry Collector connectors are not supported. Features that depend on connectors, such as generating metrics from trace spans (spanmetrics), are not available.