Skip to content

Commit

Permalink
cadvisor: Add back log for contianer in container
Browse files Browse the repository at this point in the history
Must have deleted it by accident when cleaning up the logs
  • Loading branch information
pingleig committed Mar 24, 2021
1 parent 48c1f6e commit 804ba5b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/inputs/cadvisor/container_info_processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ func processContainer(info *cinfo.ContainerInfo, detailMode bool, containerOrche
func processPod(info *cinfo.ContainerInfo, podKeys map[string]podKey) []*extractors.CAdvisorMetric {
var result []*extractors.CAdvisorMetric
if isContainerInContainer(info.Name) {
log.Printf("D! drop metric because it's nested container, name %s", info.Name)
return result
}

Expand Down

0 comments on commit 804ba5b

Please sign in to comment.