kyma-project / opentelemetry-collector-components

Contains Otel Collector components that are not pushed to upstream (yet) or components that are Kyma specific
Apache License 2.0
2 stars 8 forks source link

Finalization OCC #90

Closed a-thaler closed 1 month ago

a-thaler commented 2 months ago

Description When trying out the receivers the first time, I stumbled across these findings:

skhalash commented 2 months ago

Identifying the current lease namespace in singletonreceivercreator is not a trivial task. We support three Kubernetes authentication types:

Additionally, the upstream module includes a tls auth type, which we did not adopt. Even if we had, identifying the current namespace would not be feasible in that case.

After a discussion with @a-thaler we decided to drop this feature and instead make lease namespace a required field.

skhalash commented 1 month ago

Since it's still unclear if we are able to generate generic metrics applicable for all Kyma modules, it was decided to remove module discovery in favor of a static configuration, instructing kymastatsreceiver to only generate metrics for the Telemetry module.