推荐的指标 - Amazon CloudWatch
Amazon Web Services 文档中描述的 Amazon Web Services 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅中国的 Amazon Web Services 服务入门

推荐的指标

下表列出了每种组件类型的建议指标。

组件类型 工作负载类型 建议的指标

EC2 实例 (Windows Server)

Java 应用程序

CPU 利用率

StatusCheckFailed

Processor % Processor Time

Memory % Committed Bytes In Use

Memory Available Mbytes

java_lang_threading_threadcount

java_lang_classloading_loadedclasscount

java_lang_memory_heapmemoryusage_used

java_lang_memory_heapmemoryusage_committed

java_lang_operatingsystem_freephysicalmemorysize

java_lang_operatingsystem_freeswapspacesize

Microsoft IIS/.NET Web 前端

CPU 利用率

StatusCheckFailed

Processor % Processor Time

Memory % Committed Bytes In Use

Memory Available Mbytes

.NET CLR Exceptions # of Exceps Thrown/Sec

.NET CLR Memory # Total Committed Bytes

.NET CLR Memory % Time in GC

ASP.NET Applications Requests in Application Queue

ASP.NET Requests Queued

ASP.NET Application Restarts

Microsoft SQL Server 数据库层

CPU 利用率

StatusCheckFailed

Processor % Processor Time

Memory % Committed Bytes In Use

Memory Available Mbytes

Paging File % Usage

System Processor Queue Length

Network Interface Bytes Total/Sec

PhysicalDisk % Disk Time

SQLServer:Buffer Manager Buffer Cache Hit ratio

SQLServer:Buffer Manager Page Life Expectancy

SQLServer:General Statistics Processes Blocked

SQLServer:General Statistics User Connections

SQLServer:Locks Number of Deadlocks/Sec

SQLServer:SQL Statistics Batch Requests/Sec

.NET 工作线程池/中间层

CPU 利用率

StatusCheckFailed

Processor % Processor Time

Memory % Committed Bytes In Use

Memory Available Mbytes

.NET CLR Exceptions # of Exceps Thrown/Sec

.NET CLR Memory # Total Committed Bytes

.NET CLR Memory % Time in GC

.NET Core 层

CPU 利用率

StatusCheckFailed

Processor % Processor Time

Memory % Committed Bytes In Use

Memory Available Mbytes

EC2 实例 (Linux Server)

Java 应用程序

CPU 利用率

StatusCheckFailed

disk_used_percent

mem_used_percent

java_lang_threading_threadcount

java_lang_classloading_loadedclasscount

java_lang_memory_heapmemoryusage_used

java_lang_memory_heapmemoryusage_committed

java_lang_operatingsystem_freephysicalmemorysize

java_lang_operatingsystem_freeswapspacesize

.NET Core 层或 SQL Server 数据库层

CPU 利用率

StatusCheckFailed

disk_used_percent

mem_used_percent

EC2 实例组

SAP HANA 多节点或单节点
  • hanadb_server_startup_time_variations_seconds

  • hanadb_level_5_alerts_count

  • hanadb_level_4_alerts_count

  • hanadb_out_of_memory_events_count

  • hanadb_max_trigger_read_ratio_percent

  • hanadb_max_trigger_write _rate_ratio_%

  • hanadb_log_switch_race_ratio_percent

  • hanadb_time_since_last_savepoint_seconds

  • hanadb_disk_usage_highlevel_percent

  • hanadb_current_allocation_limit_used_percent

  • hanadb_table_allocation_limit_used_percent

  • hanadb_cpu_usage_percent

  • hanadb_plan_cache_hit_ratio_percent

  • hanadb_last_data_backup_age_days

EBS 卷 任何

VolumeReadBytes

VolumeWriteBytes

VolumeReadOps

VolumeWriteOps

VolumeQueueLength

VolumeThroughputPercentage

VolumeConsumedReadWriteOps

BurstBalance

Classic ELB

任何

HTTPCode_Backend_4XX

HTTPCode_Backend_5XX

延迟

SurgeQueueLength

UnHealthyHostCount

Application ELB

任何

HTTPCode_Target_4XX_Count

HTTPCode_Target_5XX_Count

TargetResponseTime

UnHealthyHostCount

RDS 数据库实例

任何

CPU 利用率

ReadLatency

WriteLatency

BurstBalance

FailedSQLServerAgentJobsCount

RDS 数据库集群 任何

CPU 利用率

CommitLatency

DatabaseConnections

死锁数

FreeableMemory

NetworkThroughput

VolumeBytesUsed

Lambda 函数

任何

Duration

错误

IteratorAge

ProvisionedConcurrencySpilloverInvocations

限制

SQS Queue

任何

ApproximateAgeOfOldestMessage

ApproximateNumberOfMessagesVisible

NumberOfMessagesSent

Amazon DynamoDB 表 任何

SystemErrors

UserErrors

已使用读取容量单位

已使用写入容量单位

ReadThrottleEvents

WriteThrottleEvents

ConditionalCheckFailedRequests

TransactionConflict

Amazon S3 存储桶

任何

如果启用了带有复制时间控制 (RTC) 的复制配置:

ReplicationLatency

BytesPendingReplication

OperationsPendingReplication

如果启用了请求指标:

5xxErrors

4xxErrors

BytesDownloaded

BytesUploaded

Amazon Step Functions

任何

General

  • ExecutionThrottled

  • ExecutionsAborted

  • ProvisionedBucketSize

  • ProvisionedRefillRate

  • ConsumedCapacity

如果状态机类型为 EXPRESS 或日志组级别为 OFF

  • ExecutionsFailed

  • ExecutionsTimedOut

如果状态机有 Lambda 函数

  • LambdaFunctionsFailed

  • LambdaFunctionsTimedOut

如果状态机有活动

  • ActivitiesFailed

  • ActivitiesTimedOut

  • ActivitiesHeartbeatTimedOut

如果状态机有服务集成

  • ServiceIntegrationsFailed

  • ServiceIntegrationsTimedOut

API Gateway REST API 阶段

任何
  • 4xxErrors

  • 5xxErrors

  • 延迟

ECS 集群

任何

CpuUtilized

MemoryUtilized

NetworkRxBytes

NetworkTxBytes

RunningTaskCount

PendingTaskCount

StorageReadBytes

StorageWriteBytes

CPUReservation(仅限 EC2 启动类型)

CPUUtilization(仅限 EC2 启动类型)

MemoryReservation(仅限 EC2 启动类型)

MemoryUtilization(仅限 EC2 启动类型)

GPUReservation(仅限 EC2 启动类型)

instance_cpu_utilization(仅限 EC2 启动类型)

instance_filesystem_utilization(仅限 EC2 启动类型)

instance_memory_utilization(仅限 EC2 启动类型)

instance_network_total_bytes(仅限 EC2 启动类型)

Java 应用程序

CpuUtilized

MemoryUtilized

NetworkRxBytes

NetworkTxBytes

RunningTaskCount

PendingTaskCount

StorageReadBytes

StorageWriteBytes

CPUReservation(仅限 EC2 启动类型)

CPUUtilization(仅限 EC2 启动类型)

MemoryReservation(仅限 EC2 启动类型)

MemoryUtilization(仅限 EC2 启动类型)

GPUReservation(仅限 EC2 启动类型)

instance_cpu_utilization(仅限 EC2 启动类型)

instance_filesystem_utilization(仅限 EC2 启动类型)

instance_memory_utilization(仅限 EC2 启动类型)

instance_network_total_bytes(仅限 EC2 启动类型)

java_lang_threading_threadcount

java_lang_classloading_loadedclasscount

java_lang_memory_heapmemoryusage_used

java_lang_memory_heapmemoryusage_committed

java_lang_operatingsystem_freephysicalmemorysize

java_lang_operatingsystem_freeswapspacesize

ECS 服务

任何

CPU 利用率

MemoryUtilization

CpuUtilized

MemoryUtilized

NetworkRxBytes

NetworkTxBytes

RunningTaskCount

PendingTaskCount

StorageReadBytes

StorageWriteBytes

Java 应用程序

CPU 利用率

MemoryUtilization

CpuUtilized

MemoryUtilized

NetworkRxBytes

NetworkTxBytes

RunningTaskCount

PendingTaskCount

StorageReadBytes

StorageWriteBytes

java_lang_threading_threadcount

java_lang_classloading_loadedclasscount

java_lang_memory_heapmemoryusage_used

java_lang_memory_heapmemoryusage_committed

java_lang_operatingsystem_freephysicalmemorysize

java_lang_operatingsystem_freeswapspacesize

EKS 集群

任何

cluster_failed_node_count

node_cpu_reserved_capacity

node_cpu_utilization

node_filesystem_utilization

node_memory_reserved_capacity

node_memory_utilization

node_network_total_bytes

pod_cpu_reserved_capacity

pod_cpu_utilization

pod_cpu_utilization_over_pod_limit

pod_memory_reserved_capacity

pod_memory_utilization

pod_memory_utilization_over_pod_limit

pod_network_rx_bytes

pod_network_tx_bytes

Java 应用程序

cluster_failed_node_count

node_cpu_reserved_capacity

node_cpu_utilization

node_filesystem_utilization

node_memory_reserved_capacity

node_memory_utilization

node_network_total_bytes

pod_cpu_reserved_capacity

pod_cpu_utilization

pod_cpu_utilization_over_pod_limit

pod_memory_reserved_capacity

pod_memory_utilization

pod_memory_utilization_over_pod_limit

pod_network_rx_bytes

pod_network_tx_bytes

java_lang_threading_threadcount

java_lang_classloading_loadedclasscount

java_lang_memory_heapmemoryusage_used

java_lang_memory_heapmemoryusage_committed

java_lang_operatingsystem_freephysicalmemorysize

java_lang_operatingsystem_freeswapspacesize

EC2 上的 Kubernetes 集群

任何

cluster_failed_node_count

node_cpu_reserved_capacity

node_cpu_utilization

node_filesystem_utilization

node_memory_reserved_capacity

node_memory_utilization

node_network_total_bytes

pod_cpu_reserved_capacity

pod_cpu_utilization

pod_cpu_utilization_over_pod_limit

pod_memory_reserved_capacity

pod_memory_utilization

pod_memory_utilization_over_pod_limit

pod_network_rx_bytes

pod_network_tx_bytes

Java 应用程序

cluster_failed_node_count

node_cpu_reserved_capacity

node_cpu_utilization

node_filesystem_utilization

node_memory_reserved_capacity

node_memory_utilization

node_network_total_bytes

pod_cpu_reserved_capacity

pod_cpu_utilization

pod_cpu_utilization_over_pod_limit

pod_memory_reserved_capacity

pod_memory_utilization

pod_memory_utilization_over_pod_limit

pod_network_rx_bytes

pod_network_tx_bytes

java_lang_threading_threadcount

java_lang_classloading_loadedclasscount

java_lang_memory_heapmemoryusage_used

java_lang_memory_heapmemoryusage_committed

java_lang_operatingsystem_freephysicalmemorysize

java_lang_operatingsystem_freeswapspacesize