Understand the cAdvisor transition to OpenTelemetry (Otel) Collector
masterThe cAdvisor project is moving toward a maintenance mode with a planned transition of its standalone functionality to the OpenTelemetry (Otel) Collector.
Key Changes in the Transition:
- Standalone Mode: Instead of using the cAdvisor standalone binary, users are encouraged to move to Otel Collector using new receivers that collect similar container information.
- Metrics Export: Otel Collector can be configured to export metrics to a Prometheus endpoint or any other supported exporter.
- Metric Naming: Metric names may be renamed to align with Otel Semantic Convention (e.g., preferring dots over underscores).
- Endpoints: While cAdvisor supports various endpoints, the Otel Collector approach will primarily expose a single Prometheus endpoint for all containers and will not support container-specific endpoints.
- Events: The transition involves moving from a pull model to a push model, as Otel Collector collects events as Otel events rather than providing a dedicated events endpoint.
- Runtimes: The goal is for Otel Collector to support the same environments and runtimes as cAdvisor (including non-Kubernetes environments) by implementing specialized receivers.