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

delete ebpf instrumentation instances once odiglet shuts down #2437

Merged
merged 3 commits into from
Feb 13, 2025

Conversation

RonFed
Copy link
Collaborator

@RonFed RonFed commented Feb 12, 2025

Once the Odiglet is shutting down, call the reporter.OnExit callback from the ebpf instrumentation manager.
When the odiglet is doing a rollout (in an upgrade for example) the ebpf probes are unloaded and loaded - this creates a time period when there is not active instrumentation - hence this change will remove the instrumentation instances corresponding to these instrumentations in that time period.

@RonFed RonFed marked this pull request as ready for review February 13, 2025 08:55
@blumamir blumamir merged commit fb0332f into odigos-io:main Feb 13, 2025
45 checks passed
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

Successfully merging this pull request may close these issues.

2 participants