CaptureEntityResolver

Trait CaptureEntityResolver 

Source
pub trait CaptureEntityResolver {
    // Required method
    fn resolve_container_entity_for_live_pid(
        &self,
        process_id: u32,
    ) -> Option<EntityId>;
}
Expand description

Resolves live process IDs observed during traffic capture to workload entities.

This is intentionally narrower than WorkloadProvider: callers should only use it for PIDs observed from the local operating system while capturing traffic. It’s not a general-purpose historical PID lookup API.

Required Methods§

Source

fn resolve_container_entity_for_live_pid( &self, process_id: u32, ) -> Option<EntityId>

Resolves a live process ID to the container entity that owns it, if known.

Implementations on Foreign Types§

Source§

impl<T> CaptureEntityResolver for Option<T>

Implementors§