From d94714a43a4dd8df6fb1b14bb82fa60cded82bef Mon Sep 17 00:00:00 2001 From: umanwizard Date: Mon, 18 Nov 2024 17:16:57 -0500 Subject: [PATCH] Warn on failure to get container metadata (#3001) --- reporter/metadata/containermetadata.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reporter/metadata/containermetadata.go b/reporter/metadata/containermetadata.go index 4c13c0a4fd..86ac639aea 100644 --- a/reporter/metadata/containermetadata.go +++ b/reporter/metadata/containermetadata.go @@ -560,7 +560,7 @@ func (p *containerMetadataProvider) AddMetadata(pid libpf.PID, lb *labels.Builde case isContainerEnvironment(env, envDocker) && p.dockerClient != nil: metadata, err := p.getDockerContainerMetadata(pidContainerID) if err != nil { - log.Debugf("Failed to get docker container metadata for container id %v: %v", + log.Warnf("Failed to get docker container metadata for container id %v: %v", pidContainerID, err) return false }