Skip to content

Commit

Permalink
Log the ECS attributes added to telemetry
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Hobson committed Jul 19, 2023
1 parent f823585 commit 0ab04c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/telemetry/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ func Init(logger *zap.Logger, config *Config) (shutdown func()) {
idGenerator = xray.NewIDGenerator()
}
if ecsResource.Attributes() != nil {
logger.Info("ECS resource for telemetry", zap.Any("attributes", ecsResource.Attributes()))
resourceAttrs = append(resourceAttrs, ecsResource.Attributes()...)
}

Expand Down

0 comments on commit 0ab04c3

Please sign in to comment.