opensite-ai/opensite-skills / aws-observability
aws-observability
UnverifiedBuilds, configures, debugs, and optimizes AWS observability - operator-symptom questions and detecting Omni vs classic CloudWatch. CloudWatch on an already-reporting service: Log Insights, metric/composite/anomaly alarms, custom metrics/EMF, dashboards, X-Ray/ADOT tracing, canaries, CloudTrail, Dynamic Instrumentation (live breakpoints/snapshots), the Application Signals service map, and fleet health views. CloudWatch Omni on an existing Space: SQL over logs and traces, PromQL over metrics, Omni dashboards, Omni alerts, context graph for root cause, programmatic/IaC access (API/SDK/CLI/CloudFormation), driving Omni from a coding agent or skills, and evaluating AI agent quality from traces - on-demand and online scoring of live traffic, readback, custom evaluators. For first-time setup - creating an Omni Space, granting access, ingestion, or ADOT instrumentation for Application Signals (ServiceEvents, CI/CD metadata) or Omni - use setting-up-cloudwatch-observability. Not for app logging or threat detection.
assets/cloudwatch/otel-config.yaml
View on GitHub# ADOT collector configuration — traces to X-Ray, metrics to CloudWatch via EMF
#
# Deployment options:
# - EC2: daemon/agent
# - ECS: sidecar container
# - EKS: DaemonSet (resources: 200Mi memory, 250m CPU)
# - Lambda: managed layer (auto-instrumentation)
#
# NETWORK EXPOSURE: the OTLP receivers below bind 0.0.0.0, so they accept traffic on every
# interface with no TLS and no authentication — anything that can reach the port can inject
# spans, and the telemetry itself may carry request payloads. Bind to 127.0.0.1 where the
# senders are local, and otherwise restrict 4317/4318 via security groups, NSGs, or host
# firewall. This file does not apply those controls, so assess and configure them for your
# environment.
receivers:
otlp:
protocols:
grpc:
endpoint: 0.0.0.0:4317
http:
endpoint: 0.0.0.0:4318
processors:
batch:
timeout: 30s
send_batch_size: 8192
# Memory limiter to prevent OOM
memory_limiter:
check_interval: 5s
limit_mib: 160
spike_limit_mib: 40
# Cardinality defense layer 2 of 3:
# 1. OTel SDK: don't emit high-cardinality attributes
# 2. Collector: filter processor (this)
# 3. Backend: dimension_rollup_option + metric_declarations
filter:
error_mode: ignore
metric_conditions:
- 'IsMatch(metric.name, ".*_bucket$")' # Histogram bucket metrics can explode cardinality
exporters:
awsxray:
region: us-east-1 # TODO: Replace with your target region
awsemf:
namespace: MyApplication
region: us-east-1 # TODO: Replace with your target region
dimension_rollup_option: NoDimensionRollup
resource_to_telemetry_conversion:
enabled: false
service:
pipelines:
traces:
receivers: [otlp]
processors: [memory_limiter, batch]
exporters: [awsxray]
metrics:
receivers: [otlp]
processors: [memory_limiter, filter, batch]
exporters: [awsemf]
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |