Move otel-collector-metrics to k8s-infra chart #593
Labels
breaking change
Changes that break backward compatibility
chart:k8s-infra
Issue related to k8s-infra helm chart
chart:signoz
Issue related to signoz helm chart
Background
There has been some confusion in the community regarding the role and placement of the otel-collector-metrics component. This discussion aims to address these concerns and propose a more logical organization of our collector components.
Current Issues
User Confusion
Recent feedback indicates that users are misunderstanding the purpose of otel-collector-metrics:
otel-deployment
ofk8s-infra
to enable prometheus collectionk8s-infra
in all clusters. With the current setup, it becomes impossible for the user to do prometheus-based scraping in clusters which do not have the SigNoz chart.Architectural Misalignment
The current placement of otel-collector-metrics in the main SigNoz chart doesn't align with our architectural principles:
signoz.io/scrape
annotationProposed Solution
Component Migration
Move the
otel-collector-metrics
functionality to theotel-deployment
component in the k8s-infra chart.otel-deployment
already handles cluster-wide telemetry (such as k8sevents, k8sclustermetrics) and it makes sense to have it handle cluster-wide metric prometheus telemetry as well.Security Posture
Consolidating privileged collection operations under
otel-deployment
reduces the number of components requiring elevated cluster access which improves the overall security postureThe text was updated successfully, but these errors were encountered: