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.
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 `
thanks Prashant!
Purti
Fri, 30 Jun 2023 11:20:59 UTCWhat is the difference between the OpenTelemetry Collector and OpenTelemetry Metrics Collector