init_process_observer_for_pid

Function init_process_observer_for_pid 

Source
pub async fn init_process_observer_for_pid(meter: Meter, pid: u32) -> Result<()>
Expand description

Record asynchronously information about a specific process by its PID.

ยงParameters

  • meter: The OpenTelemetry meter to use for recording metrics.
  • pid: The PID of the process to observe.