Skip to content

Commit

Permalink
ENG-2454: AWS Integration - Minor Changes (#68)
Browse files Browse the repository at this point in the history
* ENG-2454: AWS Integration

* minor

* ENG-2454: AWS Integration - Minor Changes
  • Loading branch information
sanjoyment authored Jun 4, 2024
1 parent 56770f8 commit 971ada8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion receiver/awscloudwatchmetricsreceiver/receiver.go
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,8 @@ func (m *metricReceiver) parseMetrics(nowts pcommon.Timestamp, nr []request, res
resourceAttrs.PutStr(conventions.AttributeCloudProvider, conventions.AttributeCloudProviderAWS)
resourceAttrs.PutStr(conventions.AttributeCloudRegion, m.region)
resourceAttrs.PutStr("channel", conventions.AttributeCloudProviderAWS)
resourceAttrs.PutStr("polling_approach", m.pollingApproach)
resourceAttrs.PutStr("aws.scraping_approach", "api_polling")
resourceAttrs.PutStr("aws.polling_approach", m.pollingApproach)
if m.awsAccountId != "" {
resourceAttrs.PutStr(conventions.AttributeCloudAccountID, m.awsAccountId)
} else {
Expand Down

0 comments on commit 971ada8

Please sign in to comment.