Skip to content

(aws-logs): Add metric methods for log group IncomingLogEvents and IncomingBytes #30034

@yattoni

Description

@yattoni

Describe the feature

Add metric methods for log group IncomingLogEvents and IncomingBytes, similar to existing metric methods like metricInvocations on Lambda functions.

https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CloudWatch-Logs-Monitoring-CloudWatch-Metrics.html

Use Case

Create alarms on log ingestion to ensure it is working.

Proposed Solution

Create metricIncomingLogEvents and metricIncomingBytes and maybe a generic metric methods on the LogGroup class similar to other resources with metric* methods.

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

CDK version used

2.139.1

Environment details (OS name and version, etc.)

Amazon Linux 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/aws-logsRelated to Amazon CloudWatch Logseffort/smallSmall work item – less than a day of effortfeature-requestA feature should be added or improved.p2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions