For the complete documentation index, see llms.txt. This page is also available as Markdown.

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

  1. Log into your AWS console

  2. Go to IAM > Users > select or create a user

  3. Attach the CloudWatchReadOnlyAccess policy

  4. Go to Security credentials tab > Create access key

  5. Copy the Access Key ID and Secret Access Key

Required Credentials

Field
Description
Example

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