YB-Master metrics

Monitor table and tablet operations

The YB-Master hosts system metadata, records about tables in the system and locations of their tablets, users, roles, permissions, and so on. YB-Masters are also responsible for coordinating background operations such as schema changes, handling addition and removal of nodes from the cluster, automatic re-replication of data on permanent failures, and so on.

All handler latency metrics include additional attributes. Refer to Throughput and latency.

The following are key metrics for evaluating YB-Master performance.

Metric Unit Type Description
handler_latency_yb_master_MasterClient_GetTabletLocations microseconds counter Time spent on fetching the replicas from the master servers. This metric includes the number of times the locations of the replicas are fetched from the master server.
handler_latency_yb_tserver_TabletServerService_Read microseconds counter Time to read the PostgreSQL system tables (during DDL). This metric includes the count or number of reads.
handler_latency_yb_tserver_TabletServerService_Write microseconds counter Time to write the PostgreSQL system tables (during DDL). This metric includes the count or number of writes.
handler_latency_yb_master_MasterDdl_CreateTable microseconds counter Time to create a table (during DDL). This metric includes the count of create table operations.
handler_latency_yb_master_MasterDdl_DeleteTable microseconds counter Time to delete a table (during DDL). This metric includes the count of delete table operations.

These metrics can be aggregated for nodes across the entire cluster using appropriate aggregations.