Skip to main content

is_containerized

Function is_containerized 

Source
pub fn is_containerized() -> bool
Expand description

Returns true if this process runs in the Datadog Agent’s container image.

Mirrors the Agent’s env.IsContainerized, which checks for the DOCKER_DD_AGENT environment variable that the image sets.