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

add symlink-based autotracing #341

Open
tobert opened this issue Jun 28, 2024 · 0 comments
Open

add symlink-based autotracing #341

tobert opened this issue Jun 28, 2024 · 0 comments

Comments

@tobert
Copy link
Collaborator

tobert commented Jun 28, 2024

Idea from #339 / @alsuren:

  • have otel-cli recognize when it is symlinked and called with a different binary name
  • create a directory of symlinks to otel-cli, aliasing commands in use on the system
  • add the symlink dir to the front of path
  • when otel-cli runs, it recognizes the symlink and searches the rest of the PATH for the real binary

Things to think about:

  • what are the security implications? can this be abused?
  • does traceparent passing make sense? how? Stick with simple otel-cli exec behavior?
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

1 participant