aws-observability

Automate AWS observability workflows with CloudWatch, X-Ray, CloudTrail, and ADOT.

5|Updated Apr 29, 2023
One-click install
npx skills add https://github.com/n4vysh/dotfiles --skill aws-observability-n4vysh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aws-observability
Source: https://github.com/n4vysh/dotfiles/tree/main/home/dot_agents/skills/aws-observability
Command: npx skills add https://github.com/n4vysh/dotfiles --skill aws-observability-n4vysh

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and assets (resource) components.

What problem does it solve?

AWS observability is often fragmented across CloudWatch, X-Ray, CloudTrail, and ADOT, making it difficult to diagnose incidents, correlate traces with logs, and enforce consistent monitoring practices.

Core Features & Use Cases

  • Centralized monitoring and alerting across metrics, logs, and traces using CloudWatch dashboards, alarms, and EMF integration.
  • Comprehensive log analysis with CloudWatch Logs Insights queries, patterns, and reusable query libraries for rapid troubleshooting.
  • End-to-end observability for distributed AWS workloads via X-Ray/ADOT tracing, ADOT collector configuration, and auditing with CloudTrail.

Quick Start

Set up a basic observability workspace by configuring a CloudWatch dashboard, a Logs Insights query, and an ADOT collector configuration.

Frequently Asked Questions about aws-observability

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up AWS observability for CloudWatch logs, metrics, and traces?

AWS observability setup integrates CloudWatch dashboards, Logs Insights queries, and ADOT collector configuration to centralize monitoring. You configure custom metrics via EMF and deploy X-Ray tracing to achieve end-to-end visibility across distributed workloads.

What is the best way to correlate CloudWatch logs with X-Ray traces during incident response?

Correlating CloudWatch logs with X-Ray traces requires integrating CloudWatch Logs Insights queries and X-Ray tracing configurations. This unified observability approach enables rapid troubleshooting by linking specific log patterns directly to distributed trace data.

How do I write CloudWatch Logs Insights queries for troubleshooting AWS workloads?

CloudWatch Logs Insights queries use a specific syntax to filter, aggregate, and analyze log data. You can apply reusable query libraries and pattern detection to rapidly isolate errors and diagnose incidents across AWS workloads.

Does AWS observability require ADOT for distributed tracing, or can I just use X-Ray?

AWS observability supports both X-Ray and ADOT for distributed tracing. While X-Ray provides native tracing, ADOT offers a standardized collector configuration to instrument distributed workloads, allowing you to choose based on your integration requirements.

Can I use CloudWatch EMF for custom metrics instead of standard metric inputs?

CloudWatch EMF allows you to embed custom metrics directly within log entries. This integration enables automated extraction of metric data from logs, eliminating the need for separate standard metric API calls and simplifying monitoring.

Why use CloudTrail with CloudWatch and X-Ray for AWS observability?

CloudTrail provides API auditing alongside CloudWatch metrics and X-Ray traces to enforce consistent monitoring. Integrating CloudTrail captures account-level events, ensuring comprehensive incident response and security analysis across fragmented AWS observability data.