Skip to content

Commit

Permalink
use attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
adebayor123 committed Sep 9, 2024
1 parent 0a8dec3 commit 38d296b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ func (n *attributesNormalizer) copyResourceAttributesToAttributes(attributes, re
}
// runtime metrics do not have service attribute, so need to manually add
if serviceAttribute, ok := resourceAttributes.Get("aws.local.service"); ok {
attributes.PutStr("aws.local.service", serviceAttribute.AsString())
attributes.PutStr(attr.AWSLocalService, serviceAttribute.AsString())
}
}

Expand Down

0 comments on commit 38d296b

Please sign in to comment.