Understanding the Difference Between OpenTelemetry Collector and Metrics Collector

TLDR Purti was unsure of the differences between OpenTelemetry Collector and Metrics Collector. Prashant explained the functional separation of these elements in Docker and K8s.

Photo of Purti
Fri, 30 Jun 2023 11:20:59 UTC

What is the difference between the OpenTelemetry Collector and OpenTelemetry Metrics Collector

Photo of Prashant
Fri, 30 Jun 2023 11:37:04 UTC

OtelCollector mainly acts as the gateway collector to which agents or instrumented apps send telemetry data. It also creates SigNoz Spanmetrics from incoming traces and exposes it via prometheus. In Docker, this component is also responsible for collecting hostmetrics and logs from all containers in same docker daemon. OtelCollector Metrics mainly scrapes the SigNoz spanmetrics from OtelCollector(s). In K8s, this component is also responsible for scraping metrics using pod annotation `` as well as internal collector metrics.

Photo of Purti
Mon, 03 Jul 2023 06:51:18 UTC

thanks Prashant!