Skip to content

An OTel Collector receiver that creates another receiver only if the corresponding instance becomes a leader. It is used to deduplicate data in the active-standby HA mode.

License

Notifications You must be signed in to change notification settings

skhalash/leaderreceivercreator

Repository files navigation

Leader Receiver Creator

This is a proof of concept for https://github.com/kyma-project/telemetry-manager/blob/main/docs/contributor/arch/012-leader-receiver-creator.md.

Leader Receiver Creator is a OTel Collector receiver that instantiates another receiver based on the leader election status. It is useful when you want to have a single instance of a receiver running in a cluster.

How to test

  1. Run the following command to deploy the application:
kubectl apply -f deploy/kube/rbac.yaml
kubectl apply -f deploy/kube/collectors
  1. Run the following command to check the status of the deployment:
stern collector -n default

About

An OTel Collector receiver that creates another receiver only if the corresponding instance becomes a leader. It is used to deduplicate data in the active-standby HA mode.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published