CloudWatch
Connect AWS CloudWatch to the Pagerly SRE Agent to query logs and metrics.
What the Agent Can Do
Query CloudWatch Logs using filter patterns
Get CloudWatch metrics — CPU, memory, request count, error rates
List log groups and metric namespaces
Search across multiple log groups simultaneously
Setup Instructions
Log into your AWS console
Go to IAM > Users > select or create a user
Attach the CloudWatchReadOnlyAccess policy
Go to Security credentials tab > Create access key
Copy the Access Key ID and Secret Access Key
Required Credentials
AWS Access Key ID
IAM access key with CloudWatch read permissions
AKIA...
AWS Secret Access Key
IAM secret access key
your-secret-key
AWS Region (optional)
Default region for API calls
us-east-1
Context Prompt Tips
"Our Lambda logs are in /aws/lambda/api-handler. Production is in us-east-1. Error logs contain level=ERROR."
Docs
Last updated