Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[composite] Prevent restarting otel collector when it's not enabled on Windows #205

Closed
pingleig opened this issue Apr 28, 2021 · 0 comments

Comments

@pingleig
Copy link
Member

This is diverged from aws-observability/aws-otel-collector#338 and aws-observability/aws-otel-collector#450 cloudwatch agent bundles otel collector as composite agent When otel collector exit with non zero code, Windows will restart it. The (hacky) solution in our otel distro is exit 0 on config error.

The better solution is to provide extra config/script when packaging otel collector in composite agent so we can remove the hack in otel collector.

@pingleig pingleig changed the title [composite] Prevent windows restart otel collector when it's not enabled [composite] Prevent restarting otel collector when it's not enabled on Windows Apr 28, 2021
@jhnlsn jhnlsn closed this as completed Oct 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants