opentelemetry-go-instrumentation icon indicating copy to clipboard operation
opentelemetry-go-instrumentation copied to clipboard

(wip) shift process management from Probe to Manager

Open damemi opened this issue 8 months ago • 0 comments

Part of setting up for exposing the Probe API -- the main goal of this PR is to shift usage of the internal process package from the base Probe implementation to the Manager.

https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/1943 moved process analysis to the manager, so this follows a similar pattern of consolidating process handling into the manager.

Functionally, that means moving a lot of the Probe initialization to the manager. So now, instead of thinking "the Probe sets itself up" the flow is more "the Manager sets up the Probe"

This is a WIP right now showing the basic idea, the tougher part will be decoupling Process info from Consts

damemi avatar Mar 20 '25 18:03 damemi