# Opentelemetry-collector-k8s

Opentelemetry-collector-k8s is a self-hosted databases app. Vendor-agnostic telemetry pipeline that receives, processes, and exports traces, metrics, and logs to multiple open-source or commercial back-ends, designed for Kubernetes deployments. It is open source and self-hosted, installable on Docker Hub.

Canonical page: https://ourlocalhost.com/app/5434/opentelemetry-collector-k8s

## Description

Vendor-agnostic telemetry pipeline that receives, processes, and exports traces, metrics, and logs to multiple open-source or commercial back-ends, designed for Kubernetes deployments.

## Platform availability

Available on 0 of 10 platforms.

## Health score

76/100 (Good), based on 3 of 4 factors.
- Maintained: 100 (last commit 15 days ago)
- Popular: 78 (7,739 GitHub stars)
- Easy to install: 25 (0 install platforms, install notes, Docker image)

## Links

- Docker Hub: https://hub.docker.com/r/otel/opentelemetry-collector-k8s
- Official website: https://opentelemetry.io
- GitHub: https://github.com/open-telemetry/opentelemetry-collector

## Common questions

### Why might the OpenTelemetry demo produce nothing to collect?

The collector and demo apps must be started first. Run the Docker Compose command from the repository root or use make start to launch the demo services.

### Which components are involved in the Kubernetes collector's event flow?

It uses k8s-watcher and k8s-relay. k8s-watcher connects to the Kubernetes cluster, listens for events such as pod creation and deletion, and passes that information to k8s-relay, which connects to the reducer.

### How can I reduce the risk of a Kubernetes collector being killed for using too much memory?

Configure the memory_limiter processor in the collector pipeline. The guide uses it on a DaemonSet collector to prevent OOM kills under load.

### What open-source backends can a self-hosted collector pipeline connect to?

The guide connects the collector to Prometheus, Jaeger, Grafana Loki, and ClickHouse.

## Alternatives

- dash0: Full-Stack Infrastructure Monitoring without Limits.

---
Source: Our Local Host (https://ourlocalhost.com/app/5434/opentelemetry-collector-k8s), the self-hosted and open-source app directory.
