func resolveContainerTags(p *pb.ClientStatsPayload) {
	if p.ContainerID == "" {
		p.Tags = nil
		return
	}
	ctags, err := tagger.Tag("container_id://"+p.ContainerID, collectors.HighCardinality)
	switch {
	case err != nil:
		log.Tracef("Error resolving container tags for %q: %v", p.ContainerID, err)
		p.ContainerID = ""
		p.Tags = nil
	case len(ctags) == 0:
		p.Tags = nil
	default:
		p.Tags = ctags
	}
}
// resolveContainerTags takes any ContainerID found in p to fill in the appropriate tags.
resolveContainerTags takes any ContainerID found in p to fill in the appropriate tags.
// resolveContainerTags takes any ContainerID found in p to fill in the appropriate tags .
func resolveContainerTags(p *pb.ClientStatsPayload) {
	if p.ContainerID == "" {
		p.Tags = nil
		return
	}
	ctags, err := tagger.Tag("container_id://"+p.ContainerID, collectors.HighCardinality)
	switch {
	case err != nil:
		log.Tracef("Error resolving container tags for %q: %v", p.ContainerID, err)
		p.ContainerID = ""
		p.Tags = nil
	case len(ctags) == 0:
		p.Tags = nil
	default:
		p.Tags = ctags
	}
}
func resolveContainerTags ( p * pb . ClientStatsPayload ) { if p . ContainerID == " " { p . Tags = nil return } ctags , err := tagger . Tag ( " " + p . ContainerID , collectors . HighCardinality ) switch { case err != nil : log . Tracef ( " " , p . ContainerID , err ) p . ContainerID = " " p . Tags = nil case len ( ctags ) == 0 : p . Tags = nil default : p . Tags = ctags } }
resolveContainerTags takes any ContainerID found in p to fill in the appropriate tags.
resolveContainerTags takes any ContainerID found in p to fill in the appropriate tags .