option
HomeHome Skill Cloud Infrastructure aws-observability

aws-observability

aws/agent-toolkit-for-aws aws/agent-toolkit-for-aws

Builds, configures, debugs, and optimizes AWS observability using CloudWatch (Logs Insights, Metrics, Alarms, Dashboards, EMF), X-Ray, CloudTrail, and ADOT. Covers Log Insights query syntax (fields, filter, stats, parse, pattern, join, subqueries), alarm configuration (metric, composite, anomaly detection, missing data treatment), dashboard design, custom metrics (PutMetricData, EMF, metric filters), X-Ray tracing (ADOT, sampling rules, annotations vs metadata), ADOT collector config, and CloudT

...Expand all
17
Updated time August 24, 2026

About aws-observability

AWS Observability provides domain expertise for building, configuring, debugging, and optimizing observability on AWS across metrics, logs, and traces. It covers CloudWatch platform capabilities — Logs Insights, Metrics, Alarms, Dashboards, and EMF — along with X-Ray tracing, CloudTrail operational auditing, and the AWS Distro for OpenTelemetry (ADOT) collector. Specific areas include Log Insights query syntax (fields, filter, stats, parse, pattern, join, subqueries), alarm configuration (metric, composite, anomaly detection, missing-data treatment), dashboard design, custom metrics via PutMetricData, EMF, and metric filters, plus X-Ray sampling rules and the distinction between annotations and metadata.

Use this skill when a task mentions CloudWatch, Log Insights, alarms, INSUFFICIENT_DATA, dashboards, custom metrics, EMF, X-Ray, traces, sampling, CloudTrail, "who deleted," ADOT, OpenTelemetry, observability, monitoring, synthetics, canaries, or troubleshooting alarm behavior. It explicitly does not cover application logging setup, container log drivers, or security threat detection. It works best alongside the AWS MCP server, which lets the agent run CLI commands, query CloudWatch, and validate configurations directly, though all guidance also applies with standard AWS CLI access.

The skill is organized as a routing table that maps each user need to a specific reference file: log-insights.md for queries, alarms.md for alarm configuration and defaults, metrics.md for custom metrics and EMF, tracing.md for X-Ray and ADOT, dashboards.md for widget design and cross-account/region sharing, troubleshooting.md (which opens with the five most common fixes), synthetics.md for canary constraints and common failures, and cloudtrail.md for operational auditing with S3 and Athena. Two ready-to-use assets are included: alarm-template.ts, a best-practice CDK template for Lambda monitoring with alarms and a dashboard, and otel-config.yaml, an ADOT collector configuration for X-Ray traces plus CloudWatch EMF metrics. Because reference files contain runtime versions, quota values, and feature matrices that change, the skill advises confirming precision-sensitive values against current AWS documentation before relying on them in production.

FAQ

Which AWS services does this skill cover?

It covers CloudWatch (Logs Insights, Metrics, Alarms, Dashboards, EMF), X-Ray tracing, CloudTrail operational auditing, and the ADOT (OpenTelemetry) collector across metrics, logs, and traces.

When should I not use this skill?

Do not use it for application logging setup, container log drivers, or security threat detection. Those areas are explicitly out of scope.

Do I need the AWS MCP server to use it?

No. It works best with the AWS MCP server, which allows running CLI commands and validating configurations directly, but all guidance also works with standard AWS CLI access.

Where do I look to debug an alarm stuck in INSUFFICIENT_DATA?

Start with troubleshooting.md, which begins with the five most common fixes, and consult alarms.md for configuration details including missing-data treatment for metric, composite, and anomaly detection alarms.

Are there ready-made templates included?

Yes. It provides alarm-template.ts, a best-practice CDK template for Lambda monitoring with alarms and a dashboard, and otel-config.yaml, an ADOT collector config for X-Ray traces plus CloudWatch EMF metrics.

All Files

11 filesreferences/alarms.md10.9 KBViewreferences/log-insights.md6.9 KBViewreferences/tracing.md8.9 KBViewassets/alarm-template.ts3.9 KBViewreferences/cloudtrail.md3.9 KBViewreferences/metrics.md7.4 KBViewreferences/troubleshooting.md6.7 KBViewassets/otel-config.yaml1.4 KBViewreferences/dashboards.md5.8 KBViewreferences/synthetics.md6.5 KBViewSKILL.md4.1 KBView
View on GitHub

Overview

Domain expertise for AWS observability across metrics, logs, and traces, covering the full lifecycle: enabling/onboarding a service to Application Signals using ADOT (AWS Distro for OpenTelemetry) auto-instrumentation SDKs and ServiceEvents — making the service show up in Application Signals — on EC2, ECS, EKS, and Lambda in Python, Node.js, Java, and .NET.

Works best with the AWS MCP server — enables running CLI commands, querying CloudWatch, and validating configurations directly. All guidance also works with standard AWS CLI access.

Note: Reference files contain specific runtime versions, quota values, and feature matrices that may change. When precision matters (e.g., deploying to production, choosing a runtime, or checking a quota), confirm values against current AWS documentation rather than relying solely on the values in these files.

Routing

User needAction
Enabling/onboarding a service to Application Signals (auto-instrumentation)Read application-signals-onboarding.md
Propagating ServiceEvents git/deployment metadata through CI/CDRead application-signals-cicd-metadata.md
Per-platform/per-language enablement stepsRead the matching references/appsignals-guides/<platform>-<language>.md (e.g. eks-python.md)
Writing Log Insights queriesRead log-insights.md
Configuring alarms (metric, composite, anomaly)Read alarms.md
Publishing custom metrics or using EMFRead metrics.md
Setting up X-Ray tracing or ADOTRead tracing.md
Building dashboardsRead dashboards.md
Debugging observability issuesRead troubleshooting.md — starts with the 5 most common fixes
Debugging canary failuresRead synthetics.md — see Common failures table
CloudTrail operational auditingRead cloudtrail.md
Setting up Lambda monitoring with CDKUse alarm-template.ts as a starting point
Creating synthetic canariesRead synthetics.md
Configuring ADOT collectorUse otel-config.yaml as a starting point
Debugging a running service with breakpoints/snapshots — Dynamic Instrumentation (modifies live services and capture live data)Read dynamic-instrumentation.md in full before acting. Confirm with the user before any create/delete, and narrate before significant actions: observation → hypothesis → proposed action → expected result. Diagnosing running-service root cause from source/code inspection. Source inspection alone identifies hypotheses, not confirmed root causes. Keep suspected causes tentative until runtime evidence confirms them.
Spans multiple areasRead the most specific reference first, then consult others as needed

Files

FileContent
application-signals-onboarding.mdEnable Application Signals auto-instrumentation: EKS add-on, CloudWatch Agent IAM, OTLP endpoints, ServiceEvents env vars, Dynamic Instrumentation — two-tier scope by platform/language
application-signals-cicd-metadata.mdServiceEvents git & deployment metadata propagation through CI/CD (the 5 OTEL_AWS_SERVICE_EVENTS_* vars)
references/appsignals-guides/ (e.g. eks-python.md)16 per-platform × per-language enablement guides (EC2/ECS/EKS/Lambda × Python/Node.js/Java/.NET)
alarms.mdMetric, composite, anomaly detection alarms — configuration, constraints, recommended defaults
log-insights.mdComplete query syntax, commands, functions, known issues, reusable query library
metrics.mdCustom metrics, EMF spec, metric filters, high-resolution, retention
tracing.mdX-Ray → ADOT migration, sampling rules, annotations vs metadata, collector config
dashboards.mdWidget types, cross-account/region, dynamic labels, sharing
troubleshooting.mdError → cause → fix for all observability services
cloudtrail.mdOperational auditing, event types, S3+Athena queries
synthetics.mdCanary runtime/blueprint constraints, VPC networking, common failures
alarm-template.tsBest-practice CDK Lambda monitoring (alarms + dashboard)
otel-config.yamlADOT collector config for X-Ray traces + CloudWatch EMF metrics
dynamic-instrumentation.mdDynamic Instrumentation debugging loop — breakpoints/probes on live code, snapshot capture + correlation analysis, create/delete gating, snapshot PII handling. Runs via scripts/di_instrumentation.py + scripts/di_snapshots.py.

All Files

0 files

Install aws-observability

Download and extract the skill files to your .claude/skills/ directory.

Download ZIP

Clone the repository and copy the skill files to your project.

git clone https://github.com/aws/agent-toolkit-for-aws/blob/main/skills/core-skills/aws-observability/SKILL.md # Copy SKILL.md to your .claude/skills/ directory

Copy Copy
Quick Setup: Copy the skill folder to .claude/skills/Claude will automatically detect and use the skill

Related Skills

Cloudflare Manager
Updated time June 29, 2026
pinecone
Updated time June 29, 2026
sentry-architecture-variants
Updated time June 29, 2026
azure-setup-guide
Updated time June 29, 2026
OR