#general

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.

Powered by Struct AI

1

3
3mo
Solved
Join the chat
Jun 30, 2023 (3 months ago)
Purti
Photo of md5-ec70ccbfc6a8f51b7632a9958de60552
Purti
11:20 AM
What is the difference between the OpenTelemetry Collector and OpenTelemetry Metrics Collector

1

Prashant
Photo of md5-1899629483c7ab1dccfbee6cc2f637b9
Prashant
11:37 AM
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 <http://signoz.io/scrape|signoz.io/scrape> as well as internal collector metrics.
Jul 03, 2023 (3 months ago)
Purti
Photo of md5-ec70ccbfc6a8f51b7632a9958de60552
Purti
06:51 AM
thanks Prashant!