通过本文您可以了解云数据库OceanBase版的监控项。

当您调用云监控的API接口时,需要获取当前云产品的NamespacePeriod,具体取值如下:

  • Namespaceacs_oceanbase
  • Period默认为60秒,也可以为60的整数倍。

当前云产品的MetricNameDimensions的取值如下表所示。

监控项 单位 MetricName Dimensions Statistics
active_memstore_percent_by_trigger % active_memstore_percent_by_trigger userId、obClusterId Average
active_memstore_percent_by_trigger_instance % active_memstore_percent_by_trigger_instance userId、obClusterId、obInstanceId Average
active_memstore_percent_by_trigger_tenant % active_memstore_percent_by_trigger_tenant userId、obClusterId、obTenantId Average
active_memstore_used Byte active_memstore_used userId、obClusterId、obTenantId Sum
active_memstore_used_instance Byte active_memstore_used_instance userId、obClusterId、obInstanceId Average
active_sessions Count active_sessions userId、obClusterId Sum
active_sessions_instance Count active_sessions_instance userId、obClusterId、obInstanceId Average
active_sessions_max_tenant % active_sessions_max_tenant userId、obClusterId、obTenantId Maximum
active_sessions_tenant Count active_sessions_tenant userId、obClusterId、obTenantId Sum
Agent心跳时间 Second agent_heartbeat userId、instanceId Maximum
block_cache_hit_percent % block_cache_hit_percent userId、obClusterId、obTenantId Average
block_cache_hit_percent_instance % block_cache_hit_percent_instance userId、obClusterId、obInstanceId Average
block_cache_hit_percent_tenant % block_cache_hit_percent_tenant userId、obClusterId、obTenantId Average
block_index_cache_hit_percent % block_index_cache_hit_percent userId、obClusterId、obTenantId Average
block_index_cache_hit_percent_instance % block_index_cache_hit_percent_instance userId、obClusterId、obInstanceId Average
block_index_cache_hit_percent_tenant % block_index_cache_hit_percent_tenant userId、obClusterId、obTenantId Average
bloom_filter_cache_hit_percent % bloom_filter_cache_hit_percent userId、obClusterId Average
bloom_filter_cache_hit_percent_instance % bloom_filter_cache_hit_percent_instance userId、obClusterId、obInstanceId Average
bloom_filter_cache_hit_percent_tenant % bloom_filter_cache_hit_percent_tenant userId、obClusterId、obTenantId Average
core_count_instance Count core_count_instance userId、obClusterId、obInstanceId Average
cpu_usage % cpu_usage userId、obClusterId Average
租户平均CPU使用率 % cpu_usage_avg_tenant userId、obClusterId、obTenantId Average
cpu_usage_instance % cpu_usage_instance userId、obClusterId、obInstanceId Average
租户最大CPU使用率 % cpu_usage_max_tenant userId、obClusterId、obTenantId Maximum
cpu_util_instance % cpu_util_instance userId、obClusterId、obInstanceId Average
disk_data_size_instance GB disk_data_size_instance userId、obClusterId、obInstanceId Average
disk_data_usage_instance % disk_data_usage_instance userId、obClusterId、obInstanceId Average
disk_genernal_size_instance GB disk_genernal_size_instance userId、obClusterId、obInstanceId Average
disk_genernal_usage_instance % disk_genernal_usage_instance userId、obClusterId、obInstanceId Average
disk_log_size_instance GB disk_log_size_instance userId、obClusterId、obInstanceId Average
disk_log_usage_instance % disk_log_usage_instance userId、obClusterId、obInstanceId Average
disk_ob_data_size Byte disk_ob_data_size userId、obClusterId Maximum
disk_ob_data_size_instance GB disk_ob_data_size_instance userId、obClusterId、obInstanceId Average
disk_ob_data_usage % disk_ob_data_usage userId、obClusterId Maximum
disk_ob_data_usage_instance % disk_ob_data_usage_instance userId、obClusterId、obInstanceId Average
ECS时钟偏移(ntpstat) Millisecond ecs_clock_deviation userId、instanceId Maximum
ECS CPU使用率 % ecs_cpu_usage_percent userId、instanceId Average
ECS clog盘读IOPS Count ecs_disk_clog_read_iops userId、instanceId Average
ECS clog盘读bps Byte ecs_disk_clog_read_rate userId、instanceId Average
ECS clog盘使用量 Byte ecs_disk_clog_size userId、instanceId Average
ECS clog盘使用率 % ecs_disk_clog_usage userId、instanceId Average
ECS clog盘写IOPS Count ecs_disk_clog_write_iops userId、instanceId Average
ECS clog盘写bps Byte ecs_disk_clog_write_rate userId、instanceId Average
ECS数据盘读IOPS Count ecs_disk_data_read_iops userId、instanceId Average
ECS数据盘读bps Byte ecs_disk_data_read_rate userId、instanceId Average
ECS数据盘使用量 Byte ecs_disk_data_size userId、instanceId Average
ECS数据盘使用率 % ecs_disk_data_usage userId、instanceId Average
ECS数据盘写IOPS Count ecs_disk_data_write_iops userId、instanceId Average
ECS数据盘写bps Byte ecs_disk_data_write_rate userId、instanceId Average
ECS磁盘读IOPS Count ecs_disk_read_iops userId、instanceId Average
ECS磁盘读bps Byte ecs_disk_read_rate userId、instanceId Average
ECS系统盘读IOPS Count ecs_disk_system_read_iops userId、instanceId Average
ECS系统盘读bps Byte ecs_disk_system_read_rate userId、instanceId Average
ECS系统盘使用量 Byte ecs_disk_system_size userId、instanceId Average
ECS系统盘使用率 % ecs_disk_system_usage userId、instanceId Average
ECS系统盘写IOPS Count ecs_disk_system_write_iops userId、instanceId Average
ECS系统盘写bps Byte ecs_disk_system_write_rate userId、instanceId Average
ECS磁盘写IOPS Count ecs_disk_write_iops userId、instanceId Average
ECS磁盘写bps Byte ecs_disk_write_rate userId、instanceId Average
ecs_mem_used_byte Byte ecs_mem_used_byte userId、instanceId Maximum
ecs_mem_used_percent % ecs_mem_used_percent userId、instanceId Maximum
ECS TCP连接数 Count ecs_net_connections userId、instanceId Average
ECS内网接收流量 Mbit ecs_net_in_rate userId、instanceId Average
ECS内网发送流量 Mbit ecs_net_out_rate userId、instanceId Average
election_event_history_row_count Count election_event_history_row_count userId、obClusterId Average
idle_sessions_instance Count idle_sessions_instance userId、obClusterId、obInstanceId Average
io_await_instance Millisecond io_await_instance userId、obClusterId、obInstanceId Average
io_read_bytes Count io_read_bytes userId、obClusterId Sum
io_read_bytes_instance % io_read_bytes_instance userId、obClusterId、obInstanceId Average
io_read_bytes_tenant Count io_read_bytes_tenant userId、obClusterId、obTenantId Sum
io_read_count Count io_read_count userId、obClusterId Sum
io_read_count_instance % io_read_count_instance userId、obClusterId、obInstanceId Average
io_read_count_tenant Count io_read_count_tenant userId、obClusterId、obTenantId Sum
io_read_delay Millisecond io_read_delay userId、obClusterId Sum
io_read_delay_instance % io_read_delay_instance userId、obClusterId、obInstanceId Average
io_read_delay_tenant Count io_read_delay_tenant userId、obClusterId、obTenantId Sum
io_read_rt Millisecond io_read_rt userId、obClusterId Average
io_read_rt_instance Millisecond io_read_rt_instance userId、obClusterId、obInstanceId Average
io_read_rt_tenant Millisecond io_read_rt_tenant userId、obClusterId、obTenantId Average
io_write_bytes Count io_write_bytes userId、obClusterId Sum
io_write_bytes_instance % io_write_bytes_instance userId、obClusterId、obInstanceId Average
io_write_bytes_tenant Count io_write_bytes_tenant userId、obClusterId、obTenantId Sum
io_write_count Count io_write_count userId、obClusterId Sum
io_write_count_instance % io_write_count_instance userId、obClusterId、obInstanceId Average
io_write_count_tenant Count io_write_count_tenant userId、obClusterId、obTenantId Sum
io_write_delay ms io_write_delay userId、obClusterId Sum
io_write_delay_instance % io_write_delay_instance userId、obClusterId、obInstanceId Average
io_write_delay_tenant Count io_write_delay_tenant userId、obClusterId、obTenantId Sum
io_write_rt Millisecond io_write_rt userId、obClusterId Average
io_write_rt_instance Millisecond io_write_rt_instance userId、obClusterId、obInstanceId Average
io_write_rt_tenant Millisecond io_write_rt_tenant userId、obClusterId、obTenantId Average
load_load1_instance % load_load1_instance userId、obClusterId、obInstanceId Average
location_cache_hit_percent % location_cache_hit_percent userId、obClusterId Average
location_cache_hit_percent_instance % location_cache_hit_percent_instance userId、obClusterId、obInstanceId Average
location_cache_hit_percent_tenant % location_cache_hit_percent_tenant userId、obClusterId、obTenantId Average
machine_mem_used_percent_instance % machine_mem_used_percent_instance userId、obClusterId、obInstanceId Average
max_memory_size Byte max_memory_size userId、obClusterId Sum
max_memory_size_instance Byte max_memory_size_instance userId、obClusterId、obInstanceId Average
max_memory_size_tenant Count max_memory_size_tenant userId、obClusterId、obTenantId Sum
memstore_limit % memstore_limit userId、obClusterId、obInstanceId Average
memstore_limit_tenant Count memstore_limit_tenant userId、obClusterId、obTenantId Sum
min_memory_size Byte min_memory_size userId、obClusterId Sum
min_memory_size_instance Byte min_memory_size_instance userId、obClusterId、obInstanceId Average
min_memory_size_tenant Count min_memory_size_tenant userId、obClusterId、obTenantId Sum
ob_server_inactive_count_instance Count ob_server_inactive_count_instance userId、obClusterId、obInstanceId Average
ob_sys_clog_unsync_instance Count ob_sys_clog_unsync_instance userId、obClusterId、obInstanceId Average
ob_sys_daily_merge_error_instance Count ob_sys_daily_merge_error_instance userId、obClusterId、obInstanceId Average
ob_sys_daily_merge_stopped_instance Count ob_sys_daily_merge_stopped_instance userId、obClusterId、obInstanceId Average
ob_sys_daily_merge_timeout_instance Count ob_sys_daily_merge_timeout_instance userId、obClusterId、obInstanceId Average
ob_sys_disk_invalid_instance Count ob_sys_disk_invalid_instance userId、obClusterId、obInstanceId Average
ob_sys_election_info_instance Count ob_sys_election_info_instance userId、obClusterId、obInstanceId Average
ob_sys_leader_election_instance Count ob_sys_leader_election_instance userId、obClusterId、obInstanceId Average
OBServer进程ID Count observer_process_id userId、obClusterId、obInstanceId Average
OBServer进程状态 Count observer_process_kernel_status userId、obClusterId、obInstanceId Average
ODP集群客户端连接数 Count odp_client_sessions userId、instanceId Sum
ODP节点客户端连接数 Count odp_client_sessions_instance userId、instanceId、odpServerId Average
ODP集群请求失败QPS Count odp_error_qps userId、instanceId Sum
ODP节点失败请求QPS Count odp_error_qps_instance userId、instanceId、odpServerId Average
ODP节点宕机数量 Count odp_inactive_count_instance userId、instanceId、odpServerId Average
ODP集群QPS Count odp_qps userId、instanceId Sum
ODP节点QPS Count odp_qps_instance userId、instanceId、odpServerId Average
ODP集群qps_rt Millisecond odp_qps_rt userId、instanceId Maximum
ODP节点qps_rt Millisecond odp_qps_rt_instance userId、instanceId、odpServerId Average
ODP集群服务端连接数 Count odp_server_sessions userId、instanceId Sum
ODP节点服务端连接数 Count odp_server_sessions_instance userId、instanceId、odpServerId Average
ODP集群TPS Count odp_tps userId、instanceId Sum
ODP节点TPS Count odp_tps_instance userId、instanceId、odpServerId Average
ODP集群tps_rt Millisecond odp_tps_rt userId、instanceId Maximum
ODP节点tps_rt Millisecond odp_tps_rt_instance userId、instanceId、odpServerId Average
QPS Count qps userId、obClusterId Sum
OB节点QPS Count qps_instance userId、obClusterId、obInstanceId Average
qps_rt Millisecond qps_rt userId、obClusterId Average
qps_rt_instance Millisecond qps_rt_instance userId、obClusterId、obInstanceId Average
qps_rt_tenant Millisecond qps_rt_tenant userId、obClusterId、obTenantId Average
qps_tenant Count qps_tenant userId、obClusterId、obTenantId Sum
request_dequeue_count Count request_dequeue_count userId、obClusterId Sum
request_dequeue_count_instance Count request_dequeue_count_instance userId、obClusterId、obInstanceId Average
request_dequeue_count_tenant Count request_dequeue_count_tenant userId、obClusterId、obTenantId Sum
request_enqueue_count Count request_enqueue_count userId、obClusterId、obTenantId Sum
request_enqueue_count_instance Count request_enqueue_count_instance userId、obClusterId、obInstanceId Average
request_queue_rt Millisecond request_queue_rt userId、obClusterId Average
request_queue_rt_instance Millisecond request_queue_rt_instance userId、obClusterId、obInstanceId Average
request_queue_rt_tenant Millisecond request_queue_rt_tenant userId、obClusterId、obTenantId Average
request_queue_time Millisecond request_queue_time userId、obClusterId Sum
request_queue_time_instance Count request_queue_time_instance userId、obClusterId、obInstanceId Average
request_queue_time_tenant Count request_queue_time_tenant userId、obClusterId、obTenantId Sum
rootservice_event_history_row_count Count rootservice_event_history_row_count userId、obClusterId Average
row_cache_hit_percent % row_cache_hit_percent userId、obClusterId Average
row_cache_hit_percent_instance % row_cache_hit_percent_instance userId、obClusterId、obInstanceId Average
row_cache_hit_percent_tenant % row_cache_hit_percent_tenant userId、obClusterId、obTenantId Average
rpc_packet_in Count rpc_packet_in userId、obClusterId Sum
rpc_packet_in_bytes_ps Count rpc_packet_in_bytes_ps userId、obClusterId Sum
rpc_packet_in_bytes_ps_instance Count rpc_packet_in_bytes_ps_instance userId、obClusterId、obInstanceId Average
rpc_packet_in_bytes_ps_tenant Count rpc_packet_in_bytes_ps_tenant userId、obClusterId、obTenantId Sum
rpc_packet_in_instance Millisecond rpc_packet_in_instance userId、obClusterId、obInstanceId Average
rpc_packet_in_tenant Count rpc_packet_in_tenant userId、obClusterId、obTenantId Sum
rpc_packet_out Count rpc_packet_out userId、obClusterId Sum
rpc_packet_out_bytes Count rpc_packet_out_bytes userId、obClusterId Sum
rpc_packet_out_bytes_instance Count rpc_packet_out_bytes_instance userId、obClusterId、obInstanceId Average
rpc_packet_out_instance Count rpc_packet_out_instance userId、obClusterId、obInstanceId Average
rpc_packet_out_tenant Count rpc_packet_out_tenant userId、obClusterId、obTenantId Sum
server_event_history_row_count Count server_event_history_row_count userId、obClusterId Average
活跃连接数 Count slb_active_connection userId、instanceId、port Average
丢失连接数 Count slb_drop_connection userId、instanceId、port Average
非活跃连接数 Count slb_inactive_connection userId、instanceId、port Average
连接数量 Count slb_max_connection userId、instanceId、port Average
新增连接数 Count slb_new_connection userId、instanceId、port Average
slow_log_count_instance Count slow_log_count_instance userId、obClusterId、obInstanceId Average
slow_log_count_tenant Count slow_log_count_tenant userId、obClusterId、obTenantId Sum
slow_log_max_execute_time_tenant Count slow_log_max_execute_time_tenant userId、obClusterId、obTenantId Maximum
sql_delete_count Count sql_delete_count userId、obClusterId Sum
sql_delete_count_instance Count sql_delete_count_instance userId、obClusterId、obInstanceId Average
sql_delete_count_tenant Count sql_delete_count_tenant userId、obClusterId、obTenantId Sum
sql_delete_rt Millisecond sql_delete_rt userId、obClusterId Average
sql_delete_rt_instance Millisecond sql_delete_rt_instance userId、obClusterId、obInstanceId Average
sql_delete_rt_tenant Millisecond sql_delete_rt_tenant userId、obClusterId、obTenantId Average
sql_distributed_count Count sql_distributed_count userId、obClusterId Sum
sql_distributed_count_instance Count sql_distributed_count_instance userId、obClusterId、obInstanceId Average
sql_distributed_count_tenant Count sql_distributed_count_tenant userId、obClusterId、obTenantId Sum
sql_dml_rt Millisecond sql_dml_rt userId、obClusterId Sum
sql_dml_rt_instance Millisecond sql_dml_rt_instance userId、obClusterId、obInstanceId Average
sql_dml_rt_tenant Millisecond sql_dml_rt_tenant userId、obClusterId、obTenantId Average
sql_insert_count Count sql_insert_count userId、obClusterId Sum
sql_insert_count_instance Count sql_insert_count_instance userId、obClusterId、obInstanceId Average
sql_insert_count_tenant Count sql_insert_count_tenant userId、obClusterId、obTenantId Sum
sql_insert_rt Millisecond sql_insert_rt userId、obClusterId Average
sql_insert_rt_instance Millisecond sql_insert_rt_instance userId、obClusterId、obInstanceId Average
sql_remote_count Count sql_remote_count userId、obClusterId Sum
sql_remote_count_instance Count sql_remote_count_instance userId、obClusterId、obInstanceId Average
sql_remote_count_tenant Count sql_remote_count_tenant userId、obClusterId、obTenantId Sum
sql_replace_count Count sql_replace_count userId、obClusterId Sum
sql_replace_count_instance Count sql_replace_count_instance userId、obClusterId、obInstanceId Average
sql_replace_count_tenant Count sql_replace_count_tenant userId、obClusterId、obTenantId Sum
sql_replace_rt Millisecond sql_replace_rt userId、obClusterId Average
sql_replace_rt_instance Millisecond sql_replace_rt_instance userId、obClusterId、obInstanceId Average
sql_replace_rt_tenant Millisecond sql_replace_rt_tenant userId、obClusterId、obTenantId Average
sql_select_count_instance Count sql_select_count_instance userId、obClusterId、obInstanceId Average
sql_select_count_tenant Count sql_select_count_tenant userId、obClusterId、obTenantId Sum
sql_select_rt Millisecond sql_select_rt userId、obClusterId Average
sql_select_rt_instance Microsecond sql_select_rt_instance userId、obClusterId、obInstanceId Average
sql_select_rt_tenant Millisecond sql_select_rt_tenant userId、obClusterId、obTenantId Average
sql_update_count Count sql_update_count userId、obClusterId Sum
sql_update_count_instance Count sql_update_count_instance userId、obClusterId、obInstanceId Average
sql_update_rt Millisecond sql_update_rt userId、obClusterId Average
sql_update_rt_instance Microsecond sql_update_rt_instance userId、obClusterId、obInstanceId Average
storage_delete_row_count Count storage_delete_row_count userId、obClusterId Sum
storage_delete_row_count_instance Count storage_delete_row_count_instance userId、obClusterId、obInstanceId Average
storage_delete_row_count_tenant Count storage_delete_row_count_tenant userId、obClusterId、obTenantId Sum
storage_insert_row_count Count storage_insert_row_count userId、obClusterId Sum
storage_insert_row_count_instance Count storage_insert_row_count_instance userId、obClusterId、obInstanceId Average
storage_insert_row_count_tenant Count storage_insert_row_count_tenant userId、obClusterId、obTenantId Sum
storage_read_row_count Count storage_read_row_count userId、obClusterId、obTenantId Sum
storage_read_row_count_instance Count storage_read_row_count_instance userId、obClusterId、obInstanceId Average
storage_update_row_count Count storage_update_row_count userId、obClusterId Sum
storage_update_row_count_instance Count storage_update_row_count_instance userId、obClusterId、obInstanceId Average
storage_update_row_count_tenant Count storage_update_row_count_tenant userId、obClusterId、obTenantId Sum
table_snapshot_existence_time_sec Second table_snapshot_existence_time_sec userId、obClusterId Maximum
tcp_retran_instance % tcp_retran_instance userId、obClusterId、obInstanceId Average
total_memstore_percent_by_limit % total_memstore_percent_by_limit userId、obClusterId Average
total_memstore_percent_by_limit_instance % total_memstore_percent_by_limit_instance userId、obClusterId、obInstanceId Average
租户memstore使用率 % total_memstore_percent_by_limit_tenant userId、obClusterId、obTenantId Maximum
total_memstore_used Byte total_memstore_used userId、obClusterId Sum
total_memstore_used_instance Byte total_memstore_used_instance userId、obClusterId、obInstanceId Average
total_memstore_used_tenant Count total_memstore_used_tenant userId、obClusterId、obTenantId Sum
total_sessions_instance Count total_sessions_instance userId、obClusterId、obInstanceId Average
tps Count tps userId、obClusterId Sum
tps_instance Count tps_instance userId、obClusterId、obInstanceId Average
tps_rt Millisecond tps_rt userId、obClusterId Average
tps_rt_instance Millisecond tps_rt_instance userId、obClusterId、obInstanceId Average
tps_rt_tenant Millisecond tps_rt_tenant userId、obClusterId、obTenantId Average
tps_tenant Count tps_tenant userId、obClusterId、obTenantId Sum
traffic_bytin_instance Byte traffic_bytin_instance userId、obClusterId、obInstanceId Average
traffic_bytout_instance Byte traffic_bytout_instance userId、obClusterId、obInstanceId Average
提交的事务数量 Count trans_commit_count userId、obClusterId Sum
trans_commit_count_instance Count trans_commit_count_instance userId、obClusterId、obInstanceId Average
trans_commit_count_tenant Count trans_commit_count_tenant userId、obClusterId、obTenantId Sum
trans_commit_rt Millisecond trans_commit_rt userId、obClusterId Average
trans_commit_rt_instance Millisecond trans_commit_rt_instance userId、obClusterId、obInstanceId Average
trans_commit_rt_tenant Millisecond trans_commit_rt_tenant userId、obClusterId、obTenantId Average
trans_multi_partition_count Count trans_multi_partition_count userId、obClusterId、obInstanceId Average
trans_multi_partition_count_tenant Count trans_multi_partition_count_tenant userId、obClusterId、obTenantId Sum
trans_rollback_count Count trans_rollback_count userId、obClusterId Sum
trans_rollback_count_instance Count trans_rollback_count_instance userId、obClusterId、obInstanceId Average
trans_rollback_count_tenant Count trans_rollback_count_tenant userId、obClusterId、obTenantId Sum
trans_rollback_rt Millisecond trans_rollback_rt userId、obClusterId Average
trans_rollback_rt_instance Millisecond trans_rollback_rt_instance userId、obClusterId、obInstanceId Average
trans_rollback_rt_tenant Millisecond trans_rollback_rt_tenant userId、obClusterId、obTenantId Average
trans_single_partition_count Count trans_single_partition_count userId、obClusterId Sum
trans_single_partition_count_instance Count trans_single_partition_count_instance userId、obClusterId、obInstanceId Average
trans_single_partition_count_tenant Count trans_single_partition_count_tenant userId、obClusterId、obTenantId Sum
trans_timeout_count Count trans_timeout_count userId、obClusterId Sum
trans_timeout_count_instance Count trans_timeout_count_instance userId、obClusterId、obInstanceId Average
trans_timeout_count_tenant Count trans_timeout_count_tenant userId、obClusterId、obTenantId Sum
租户内存使用率 % memory_usage_tenant userId、obClusterId、obTenantId Maximum