Skip to content

[AWS] Add support for collecting metrics from linked cloudwatch accounts using cross-account monitoring  #6253

@tommyers-elastic

Description

@tommyers-elastic

Cloudwatch recently added support for cross-account monitoring, which enables cloudwatch customers to setup a single 'monitoring account' which can access cloudwatch metrics from multiple other 'sharing accounts'.

Currently our AWS cloudwatch metrics integration does not support cross account metrics. Only metrics from the monitoring account itself are included when metric collection is configured.

In order to include metrics from linked sharing accounts, the IncludeLinkedAccounts parameter must be included in our ListMetrics API calls. The result of this is that the response contains metrics for the shared accounts as well as the monitoring account. The owning account is also listed for each returned metric, which will allow us to ensure that cloud.account.id is correct on all reported metrics.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions