Amazon CloudWatch はAWSのモニタリングおよび可観測性サービスで、AWSリソースとアプリケーションからメトリクス、ログ、イベントを収集し、アラームとダッシュボードを提供します。システムヘルスの理解、問題の診断、問題への対応に不可欠です。
CloudWatchが提供するもの
METRICS → numerical data over time (CPU, memory, request count, latency, etc.)
→ AWS services publish metrics automatically; you can publish CUSTOM metrics too
LOGS → collect, store, and search application/system logs (CloudWatch Logs)
ALARMS → trigger actions when a metric crosses a threshold (alert, auto-scale, etc.)
DASHBOARDS → visualize metrics/logs in charts
EVENTS (EventBridge) → react to changes/events in your AWS environment
