opentelemetry-go-instrumentation
opentelemetry-go-instrumentation copied to clipboard
(wip) shift process management from Probe to Manager
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