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

fix: do not close log processing channel if logs api is disabled #512

Merged
merged 2 commits into from
Jul 25, 2024

Conversation

kruskall
Copy link
Member

the extension relies on 3 mechanisms to exit event processing:

  • agent flush signal
  • log processing done
  • event deadline timeout

When the logs api/processing is disabled the log processing is always done and event processing will exit immediately.

To fix this ignore log processing signal and only rely on agent flush or event deadline if log processing is disabled.

the extension relies on 3 mechanisms to exit event processing:
- agent flush signal
- log processing done
- event deadline timeout

When the logs api/processing is disabled the log processing is always done and
event processing will exit immediately.

To fix this ignore log processing signal and only rely on agent flush or
event deadline if log processing is disabled.
@github-actions github-actions bot added the aws-λ-extension AWS Lambda Extension label Jul 25, 2024
@kruskall kruskall merged commit f2f7de6 into elastic:main Jul 25, 2024
10 checks passed
@kruskall kruskall deleted the fix/no-logs-invocation branch July 25, 2024 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aws-λ-extension AWS Lambda Extension
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants