aws-solutions / media-services-application-mapper

Media Services Application Mapper is a browser-based tool that allows operators to visualize the structure and logical connections among AWS Media Services and supporting services in the cloud. The tool can be used as a top-down resource monitoring tool when integrated with CloudWatch.
Apache License 2.0
83 stars 34 forks source link

Resource type metrics #272

Closed JimTharioAmazon closed 2 years ago

JimTharioAmazon commented 2 years ago

Summarize the resource types once every 24 hours. Emit a CloudWatch metric with each resource type as a different dimension. Send as anonymous metric. Provide opt-out in template and/or by disabling CloudWatch rule.

JimTharioAmazon commented 2 years ago

Hourly metrics generated for CloudWatch using 14 different resource types and stack name as dimensions. Metrics cost about 0.10/mo which totals to about 1.40/mo US$. Reporting Lambda sends anonymous max inventory size for past 24 hours to Solutions Builders. Disable anonymous reporting using Mapping in template or disabling Reporting job in EventBridge.

JimTharioAmazon commented 2 years ago

Potential uses for cost tracking or resource management: Configure anomaly detector alarm for resource counts to alarm when resource counts change suddenly. Configure max alarm if no more than X channels should be created in a single account. Composite if counts are not equal, meaning medialive, mediapackage and cloudfront distro counts should be equal