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

New singletonreceivercreator #7

Closed a-thaler closed 3 months ago

a-thaler commented 3 months ago

Description Have a first implementation of a decorating receiver, which will activate a nested receiver on if it got selected as leader in a leader election mechanism, see also https://github.com/kyma-project/telemetry-manager/blob/main/docs/contributor/arch/012-leader-receiver-creator.md A dummy implementation can be found here: https://github.com/skhalash/leaderreceivercreator

Criterias

Reasons

Attachments

rakesh-garimella commented 3 months ago

Following has been implemented:

What is missing is metrics from singleton receiver. We can have following custom metrics: