Skip to content

Implement AWS CloudWatch Input Plugin ListMetrics API calls to use Active Metric Filter #7863

@Josh-Bonello

Description

@Josh-Bonello

Feature Request

Opening a feature request kicks off a discussion.

Proposal: Update the AWS CloudWatch Input plugin to leverage the Active Metric Filter feature.

Current behavior: The ListMetric API queries for all metrics that exist in the last 2 weeks and return that data. For AWS usage that is extremely active, this can represent a lot of data to query. Most use-cases of Telegraf are only looking for data from the last few minutes to the last day in their GetMetricData calls.

Desired behavior: Apply a time filter, which would align with the GetMetricData's metricQuery windowEnd/windowStart time assignments, defined by the "delay" parameter in the config file. This will only query the ListMetric API for data that would be valuable.

Use case:

This new feature is scheduled for Go-Live July 24th 2020. Documents to the new API changes to be posted at go-live.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/awsAWS plugins including cloudwatch, ecs, kinesisfeature requestRequests for new plugin and for new features to existing plugins

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions