From 5aa0579300fd0159a4afae1eb834435f0ed299ec Mon Sep 17 00:00:00 2001 From: Brennan Vincent Date: Mon, 18 Nov 2024 16:21:23 -0500 Subject: [PATCH] Warn on failure to get container metadata --- 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 }