diff --git a/pkg/aggregator/aggregator.go b/pkg/aggregator/aggregator.go index b1fa7fb464c5c5..f7201808048785 100644 --- a/pkg/aggregator/aggregator.go +++ b/pkg/aggregator/aggregator.go @@ -861,6 +861,9 @@ func (agg *BufferedAggregator) tags(withVersion bool) []string { tags = append(tags, "package_version:"+version.AgentPackageVersion) } } + if haagent.IsEnabled() { + tags = append(tags, "ha_agent_group:"+haagent.GetGroup()) + } // nil to empty string // This is expected by other components/tests if tags == nil {