| planetscale_postgres_connection_state The count and state of Postgres connections | Gauge | cluster, planetscale_database_branch_id, planetscale_pod, planetscale_connection_state, planetscale_role, planetscale_cell, planetscale_component |
| planetscale_postgres_wal_archiver_succeeded_count The count of successfully archived WALs | Counter | cluster, planetscale_database_branch_id, planetscale_pod, planetscale_role, planetscale_cell, planetscale_component |
| planetscale_postgres_wal_archiver_failed_count The count of unsuccessfully archived WALs | Counter | cluster, planetscale_database_branch_id, planetscale_pod, planetscale_role, planetscale_cell, planetscale_component |
| planetscale_postgres_wal_archiver_last_age_succeeded The age of the last successfully archived WAL | Gauge | cluster, planetscale_database_branch_id, planetscale_pod, planetscale_role, planetscale_cell, planetscale_component |
| planetscale_postgres_wal_archiver_lag_bytes WAL bytes written but not yet archived (current LSN minus last archived LSN) | Gauge | cluster, planetscale_database_branch_id, planetscale_pod, planetscale_role, planetscale_cell, planetscale_component |
| planetscale_postgres_wal_size_bytes The cumulative disk size of WALs waiting to be archived | Gauge | cluster, planetscale_database_branch_id, planetscale_pod, planetscale_role, planetscale_cell, planetscale_component |
| planetscale_postgres_settings_max_connections The current value of the max_connections setting | Gauge | cluster, planetscale_database_branch_id, planetscale_pod, planetscale_role, planetscale_cell, planetscale_component |
| planetscale_postgres_settings_max_wal_size_bytes The current value of the max_wal_size_bytes setting | Gauge | cluster, planetscale_database_branch_id, planetscale_pod, planetscale_role, planetscale_cell, planetscale_component |
| planetscale_postgres_settings_max_slot_wal_keep_size_bytes The current value of the max_slot_wal_keep_size setting (-1 means unlimited) | Gauge | cluster, planetscale_database_branch_id, planetscale_pod, planetscale_role, planetscale_cell, planetscale_component |
| planetscale_postgres_replication_slot_max_wal_retained_bytes The largest amount of WAL retained behind any logical replication slot on the primary; grows toward max_slot_wal_keep_size as a slot’s consumer falls behind | Gauge | cluster, planetscale_database_branch_id, planetscale_pod, planetscale_role, planetscale_cell, planetscale_component |
| planetscale_postgres_replication_slot_min_safe_wal_size_bytes The smallest remaining headroom before a logical replication slot risks invalidation; absent when max_slot_wal_keep_size is unlimited | Gauge | cluster, planetscale_database_branch_id, planetscale_pod, planetscale_role, planetscale_cell, planetscale_component |
| planetscale_postgres_replication_slots_lost The number of logical replication slots on the primary that have been invalidated (lost) and must be resynced | Gauge | cluster, planetscale_database_branch_id, planetscale_pod, planetscale_role, planetscale_cell, planetscale_component |
| planetscale_postgres_replica_lag_seconds Replica lag in fine-grained seconds from Postgres | Gauge | cluster, planetscale_database_branch_id, planetscale_pod, planetscale_role, planetscale_cell, planetscale_component |
| planetscale_postgres_locks Count of current lock modes | Gauge | cluster, planetscale_database_branch_id, planetscale_pod, planetscale_lock_mode, planetscale_role, planetscale_cell, planetscale_component |
| planetscale_postgres_wait_events Count of active Postgres backends on the primary by wait event. An active backend with no wait event is running on CPU and is reported with wait event and wait event type CPU. Primary only; replicas emit no series | Gauge | cluster, planetscale_database_branch_id, planetscale_pod, planetscale_wait_event_type, planetscale_wait_event, planetscale_role, planetscale_cell, planetscale_component |
| planetscale_postgres_database_xact_commit_total Total committed transactions on Postgres databases | Counter | cluster, planetscale_database_branch_id, planetscale_pod, planetscale_database_name, planetscale_role, planetscale_cell, planetscale_component |
| planetscale_backup_restore_active Determines if a backup restore is active, tagged with the current phase (1 = active) | Gauge | cluster, planetscale_database_branch_id, planetscale_pod, planetscale_phase, planetscale_component |
| planetscale_backup_fetch_percent Percentage progress of a backup fetch operation (0-100) | Gauge | cluster, planetscale_database_branch_id, planetscale_pod, planetscale_component |