(aws-logs): Add metric methods for log group IncomingLogEvents and IncomingBytes #30034
Closed
1 of 2 tasks
Labels
@aws-cdk/aws-logs
Related to Amazon CloudWatch Logs
effort/small
Small work item – less than a day of effort
feature-request
A feature should be added or improved.
p2
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
andmetricIncomingBytes
and maybe a genericmetric
methods on the LogGroup class similar to other resources with metric* methods.Other Information
No response
Acknowledgements
CDK version used
2.139.1
Environment details (OS name and version, etc.)
Amazon Linux 2
The text was updated successfully, but these errors were encountered: