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

Support short-lived processes #388

Open
mariomac opened this issue Oct 27, 2023 · 2 comments
Open

Support short-lived processes #388

mariomac opened this issue Oct 27, 2023 · 2 comments

Comments

@mariomac
Copy link
Contributor

Currently, Beyla polls for the running processes and instrument those matching the selection criteria, and keeps polling periodically.
That would involve that short-lived executables running every polling intervals would be ignored.
Beyla process finder should subscribe to some eBPF events (new executable, new TCP connection...) and immediately instrument them.
I emphasize the "new TCP connection..." event, because a newly created executable could not match the OPEN_PORT criteria until it internally starts the service connections.

@grcevski
Copy link
Contributor

grcevski commented Feb 6, 2024

This issue request is very useful here too, so that we can correctly propagate context for short lived processes #602

@grcevski
Copy link
Contributor

grcevski commented Feb 6, 2024

Related discussion for supporting TRACEPARENT env variables: open-telemetry/opentelemetry-specification#740

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

3 participants