通过本文您可以了解云数据库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 Max
active_sessions_tenant Count active_sessions_tenant userId、obClusterId、obTenantId Sum
active_sessions_tenant_instance Count active_sessions_tenant_instance userId、obClusterId、obTenantId、obInstanceId Sum
Agent心跳时间 Second agent_heartbeat userId、obClusterId、obInstanceId max
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_usage_avg_tenant % cpu_usage_avg_tenant userId、obClusterId、obTenantId Average
cpu_usage_instance % cpu_usage_instance userId、obClusterId、obInstanceId Average
cpu_usage_max_tenant % cpu_usage_max_tenant userId、obClusterId、obTenantId Max
cpu_usage_tenant % cpu_usage_tenant userId、obClusterId、obInstanceId Average
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 Max
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 Max
disk_ob_data_usage_instance % disk_ob_data_usage_instance userId、obClusterId、obInstanceId 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
qps Count qps userId、obClusterId Sum
qps_instance 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_bytes_tenant Count rpc_packet_out_bytes_tenant userId、obClusterId Sum
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
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 Max
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_insert_rt_tenant Millisecond sql_insert_rt_tenant 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_count_tenant Count sql_update_count_tenant 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
sql_update_rt_tenant Millisecond sql_update_rt_tenant 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 Max
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
total_memstore_percent_by_limit_tenant % total_memstore_percent_by_limit_tenant userId、obClusterId、obTenantId Average
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