Provide your response in the following format:
- [First alarm or metric name], [Severity of the alarm in the form SEV_1/SEV_2/SEV_3. Use NA if not specified.], [Brief explanation about why this metric is important]
- [Second alarm or metric name], [Severity of the alarm in the form SEV_1/SEV_2/SEV_3. Use NA if not specified.], [Brief explanation about why this metric is important] . . . </missing_alarms>
Please provide your response immediately after these instructions, enclosed in the 
{{Service1}} is the target package name, for which missing alarms and metrics need to be identified. {{Service2}} is the reference package name, which follows best practices for resource monitoring. {{ALARM_TYPE}} is the AWS resource type. E.g. AWS API Gateway. The code for the reference and target packages need to be converted to a structured format and appended to the prompt.
Utility to convert code packages to a structured format: packages/GenAICDKAnalyzer/blobs/mainline/–/codebase_to_text.py Sample usage of the utility: packages/GenAICDKAnalyzer/blobs/6aec4cd1b96c975dff5f1a8950b1b0ab70be7399/–/main.py#L184
Install Prompt
Add this prompt to your Amazon Q CLI prompt library:
1. Download to local prompt library:
mkdir -p .amazonq/cli-prompts && curl -o .amazonq/cli-prompts/identifying-metrics-alarms-related-to-aws-resources.md https://promptz.dev/prompts/aws/identifying-metrics-alarms-related-to-aws-resources/2. Use with Q CLI:
q prompts use identifying-metrics-alarms-related-to-aws-resources