Deploy a collector
The Lerian OpenTelemetry Collector chart runs as a DaemonSet and receives OTLP telemetry on gRPC port
4317 and HTTP port 4318. It collects traces, logs, and metrics from Kubernetes workloads and exports them to Lerian’s central telemetry backend.
The chart binds the collector to the node network and reads the export API key from a Secret named otel-api-key, key api-key, in the release namespace. Create the namespace and that Secret before you install the chart:
Connect Midaz workloads
In Midaz chart versions
8.4.0 and later, otel-collector-lerian is not a Midaz subchart. The setting below does not install a collector. It injects HOST_IP, POD_IP, OTEL_EXPORTER_OTLP_ENDPOINT=$(HOST_IP):4317, and OTEL_RESOURCE_ATTRIBUTES=k8s.pod.ip=$(POD_IP) into the Ledger and CRM deployments.
true. It expects a node-local collector listening on port 4317 through hostNetwork or hostPort.
To use another endpoint, disable this wiring and configure the endpoint directly for each workload:
enabled below otel-collector-lerian. The chart rejects legacy keys such as external, extraEnvs, exporters, and opentelemetry-collector during Helm installation or upgrade.
What the collector processes
The Lerian collector enriches telemetry with Kubernetes metadata and a
client.id attribute. It applies memory limiting and batching, generates RED metrics from spans, masks sensitive payload data, and filters telemetry to the midaz and midaz-plugins namespaces before export.
For chart parameters and production overrides, inspect the OpenTelemetry Collector chart metadata and values before deploying.
