otel-cli icon indicating copy to clipboard operation
otel-cli copied to clipboard

add symlink-based autotracing

Open tobert opened this issue 1 year ago • 0 comments

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?

tobert avatar Jun 28 '24 14:06 tobert