aws/agent-toolkit-for-aws68 files

Aws Observability

>-

Specification
Skill ID
aws/agent-toolkit-for-aws/aws-observability
Publisher
aws
Repository
agent-toolkit-for-aws
Installs
0
Files
68
Synced
Sep 23, 2026
How to use it

Open any RiverX project, open the Skills panel in the chat, and search for this identifier. The files are fetched from the source repository at install time.

aws/agent-toolkit-for-aws/aws-observabilityInstalls these files
  • SKILL.md
  • assets/cloudwatch/alarm-template.ts
  • assets/cloudwatch/otel-config.yaml
  • references/cloudwatch-omni/agent-evaluation.md
  • references/cloudwatch-omni/alerts.md
  • references/cloudwatch-omni/concepts.md
  • references/cloudwatch-omni/context-graph.md
  • references/cloudwatch-omni/dashboards.md
  • references/cloudwatch-omni/programmatic-access.md
  • references/cloudwatch-omni/query/promql-metrics.md
  • references/cloudwatch-omni/query/sql-logs-traces.md
  • references/cloudwatch-omni/query/views.md
  • references/cloudwatch/alarms.md
  • references/cloudwatch/application-signals-cicd-metadata.md
  • references/cloudwatch/application-signals-onboarding.md
  • references/cloudwatch/appsignals-guides/ec2-dotnet.md
  • references/cloudwatch/appsignals-guides/ec2-java.md
  • references/cloudwatch/appsignals-guides/ec2-nodejs.md
  • references/cloudwatch/appsignals-guides/ec2-python.md
  • references/cloudwatch/appsignals-guides/ecs-dotnet.md
  • references/cloudwatch/appsignals-guides/ecs-java.md
  • references/cloudwatch/appsignals-guides/ecs-nodejs.md
  • references/cloudwatch/appsignals-guides/ecs-python.md
  • references/cloudwatch/appsignals-guides/eks-dotnet.md
  • references/cloudwatch/appsignals-guides/eks-java.md
  • references/cloudwatch/appsignals-guides/eks-nodejs.md
  • references/cloudwatch/appsignals-guides/eks-python.md
  • references/cloudwatch/appsignals-guides/lambda-dotnet.md
  • references/cloudwatch/appsignals-guides/lambda-java.md
  • references/cloudwatch/appsignals-guides/lambda-nodejs.md
  • references/cloudwatch/appsignals-guides/lambda-python.md
  • references/cloudwatch/cloudtrail.md
  • references/cloudwatch/dashboards.md
  • references/cloudwatch/dynamic-instrumentation.md
  • references/cloudwatch/dynamic-instrumentation/breakpoint-creation.md
  • references/cloudwatch/dynamic-instrumentation/call-tree-and-directions.md
  • references/cloudwatch/dynamic-instrumentation/snapshot-parsing.md
  • references/cloudwatch/log-insights.md
  • references/cloudwatch/metrics.md
  • references/cloudwatch/synthetics.md
  • references/cloudwatch/tracing.md
  • references/cloudwatch/troubleshooting.md
  • scripts/cloudwatch-omni/capture_dataset_from_traces.py
  • scripts/cloudwatch-omni/evaluate_traces.py
  • scripts/cloudwatch-omni/test_evaluate_traces.py
  • scripts/cloudwatch/di_app_signals_client.py
  • scripts/cloudwatch/di_capture.py
  • scripts/cloudwatch/di_constants.py
  • scripts/cloudwatch/di_crud_rendering.py
  • scripts/cloudwatch/di_crud_tools.py
  • scripts/cloudwatch/di_error_translation.py
  • scripts/cloudwatch/di_formatting.py
  • scripts/cloudwatch/di_gateway.py
  • scripts/cloudwatch/di_instrumentation.py
  • scripts/cloudwatch/di_location.py
  • scripts/cloudwatch/di_logs_client.py
  • scripts/cloudwatch/di_region.py
  • scripts/cloudwatch/di_result.py
  • scripts/cloudwatch/di_session.py
  • scripts/cloudwatch/di_snapshot_parsing.py
  • scripts/cloudwatch/di_snapshot_queries.py
  • scripts/cloudwatch/di_snapshot_rendering.py
  • scripts/cloudwatch/di_snapshot_tools.py
  • scripts/cloudwatch/di_snapshots.py
  • scripts/cloudwatch/di_status_assessment.py
  • scripts/cloudwatch/di_status_rendering.py
  • scripts/cloudwatch/di_status_tools.py
  • scripts/cloudwatch/di_validation.py

What this skill tells the agent

AWS Observability

Overview

Domain expertise for AWS observability across metrics, logs, and traces, for two products that share the CloudWatch name but are separate services with separate control planes, data models, and APIs:

CloudWatchCloudWatch Omni
What it isLog groups, metric namespaces, alarms, Log Insights, X-Ray, Application SignalsApplication Observability / Agent Observability. A Space per account per Region is the access boundary over the account's CloudWatch Dataset (OpenTelemetry logs, traces, and metrics); the Dataset is a CloudWatch resource the Space reads, not something the Space contains
Control planeaws cloudwatch, aws logs, aws xray, aws application-signalsaws cloudwatch-omni (endpoint prefix cloudwatch-omni, signing name cloudwatch)
QueryLog Insights query language; GetMetricDataSQL over logs.default / traces.default; PromQL over metrics; named views
NotifyAlarms (metric, composite, anomaly)Alerts (SQL/PromQL rule, contributors, OK/WARNING/CRITICAL/NODATA)
TopologyApplication Signals service mapContext graph (GetContextGraph)
AccessIAM onlyDomain → Space → access grants and access profiles (set up in setting-up-cloudwatch-observability)
Only hereDynamic Instrumentation, Synthetics canaries, CloudTrail auditing, EMFAgent-quality evaluation, views, context graph
Referencesreferences/cloudwatch/references/cloudwatch-omni/

Enabling Omni does not replace CloudWatch; log groups, metrics, and alarms keep working, and most customers use both.

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.

Step 0 — CloudWatch or CloudWatch Omni?

Decide this before routing. The natural wording ("set up an alert for high latency", "build a dashboard", "query my logs") does not say which product the customer means.

  1. The customer names the product — "Omni", "Application Observability", "Agent Observability", a Space, Domain, Dataset, access grant, spaceId, cloudwatch-omni, Omni SQL, PromQL, views, context graph, evaluators → Omni. "Log Insights", "log group", "metric namespace", "CloudWatch alarm", "metric alarm", "composite alarm", "anomaly alarm", "X-Ray", "Application Signals", "canary", "CloudTrail", "Dynamic Instrumentation" → CloudWatch. A bare "alarm" (or "alert") with no other product signal is ambiguous — fall through to rule 3 and probe: a Space → Omni alert (alerts.md); no Space → CloudWatch alarm (cloudwatch/alarms.md). Exception: a "PromQL alarm" is a CloudWatch alarm on OTel metrics (cloudwatch/alarms.md) — "alarm" wins over "PromQL".
  2. Knowledge or how-to question ("what is an Omni alert", "does Omni have an API", "how do alerts differ from alarms") → answer from the reference files directly. Do not probe the account, and do not divert to the other product. Whether a capability exists is a fact about the product, not the account. concepts.md carries the full feature-equivalence matrix.
  3. Request that must act on live data, and the wording is ambiguous → probe the target Region before acting:
   aws___call_aws → aws cloudwatch-omni list-domains
   aws___call_aws → aws cloudwatch-omni list-spaces        # scope to the target Region
  • A Domain and a Space exist in that Region → Omni.
  • No Space → CloudWatch: alarms → cloudwatch/alarms.md, dashboards → cloudwatch/dashboards.md, queries → cloudwatch/log-insights.md, metrics → cloudwatch/metrics.md. If the customer explicitly asked for Omni and has no Space, that is a first-time setup — see step 4.
  • The probe itself errors ("not yet supported", unknown service, endpoint does not resolve) → the CLI/SDK model in use lacks cloudwatch-omni. That is not evidence Omni is absent and must not be reported as "Omni is unavailable". The customer's installed AWS CLI/SDK most likely predates the service. If the request carried any Omni signal, have them upgrade (AWS CLI v2 reinstall or brew upgrade awscli; pip install -U boto3 botocore) and re-run aws cloudwatch-omni list-domains — exact steps in programmatic-access.md; never substitute a CloudWatch or X-Ray command for an Omni request. If the request carried no Omni signal, do not block on the upgrade: proceed on the CloudWatch path (the pre-Omni default) and mention the upgrade only in passing.
  • Still inconclusive → ask the customer.
  1. First-time Omni setup — creating a Domain or Space, granting access, provisioning ingestion, forwarding log groups into the Dataset, connecting Slack, or instrumenting an application or AI agent so traces reach a Space → STOP and route to the `setting-up-cloudwatch-observability` skill. This skill covers a Space that already has data. An instrumentation / ADOT / OTel-collector request that names neither Application Signals, ServiceEvents, or the amazon-cloudwatch-observability add-on nor Omni or a Space is ambiguous — probe list-spaces in the target Region: a Space → route to the setting-up-cloudwatch-observability skill's application-instrumentation reference (plain ADOT SDK, no add-on); no Space → cloudwatch/application-signals-onboarding.md.

A Space is one per account per Region — probe the Region the request targets. An Omni query against the wrong Region returns an empty result that is easily misread as "no data".

Routing — CloudWatch (references/cloudwatch/)

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 Application Signals enablement stepsRead the matching references/cloudwatch/appsignals-guides/<platform>-<language>.md (e.g. eks-python.md)
Writing Log Insights queries (pipe-delimited syntax: fields, filter, stats, sort, parse, display)Read log-insights.md
Configuring alarms (metric, composite, anomaly)Read alarms.md. For an Omni alert, see the Omni table
Publishing custom metrics or using EMFRead metrics.md
Setting up X-Ray tracing or ADOTRead tracing.md
Building CloudWatch dashboardsRead dashboards.md
Debugging observability issuesRead troubleshooting.md — starts with the 5 most common fixes

Use this skill in a project

Open any RiverX project, search the Skills panel for aws/agent-toolkit-for-aws/aws-observability, and install it in one click.

Use this skill