Skip to content

Commit

Permalink
add example
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandreYang committed Nov 17, 2024
1 parent fc0ba2e commit ea5938c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/aggregator/aggregator.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit ea5938c

Please sign in to comment.