You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|**Sessions By State**(Preview)|`sessions_by_state`|Count|Overall state of the back ends. |State|No|
81
-
|**Sessions By WaitEventType**(Preview)|`sessions_by_wait_event_type`|Count|Sessions by the type of event for which the back end is waiting.|Wait Event Type|No|
82
-
|**Oldest Backend**(Preview) |`oldest_backend_time_sec`|Seconds|Age in seconds of the oldest back end (irrespective of the state).|Doesn't apply|No|
83
-
|**Oldest Query**(Preview) |`longest_query_time_sec`|Seconds|Age in seconds of the longest query that's currently running. |Doesn't apply|No|
84
-
|**Oldest Transaction**(Preview) |`longest_transaction_time_sec`|Seconds|Age in seconds of the longest transaction (including idle transactions).|Doesn't apply|No|
85
-
|**Oldest xmin**(Preview)|`oldest_backend_xmin`|Count|The actual value of the oldest `xmin`. If `xmin` isn't increasing, it indicates that there are some long-running transactions that can potentially hold dead tuples from being removed. |Doesn't apply|No|
86
-
|**Oldest xmin Age**(Preview)|`oldest_backend_xmin_age`|Count|Age in units of the oldest `xmin`. Indicates how many transactions passed since the oldest `xmin`. |Doesn't apply|No|
80
+
|**Sessions By State**|`sessions_by_state`|Count|Overall state of the back ends. |State|No|
81
+
|**Sessions By WaitEventType**|`sessions_by_wait_event_type`|Count|Sessions by the type of event for which the back end is waiting.|Wait Event Type|No|
82
+
|**Oldest Backend**|`oldest_backend_time_sec`|Seconds|Age in seconds of the oldest back end (irrespective of the state).|Doesn't apply|No|
83
+
|**Oldest Query**|`longest_query_time_sec`|Seconds|Age in seconds of the longest query that's currently running. |Doesn't apply|No|
84
+
|**Oldest Transaction**|`longest_transaction_time_sec`|Seconds|Age in seconds of the longest transaction (including idle transactions).|Doesn't apply|No|
85
+
|**Oldest xmin**|`oldest_backend_xmin`|Count|The actual value of the oldest `xmin`. If `xmin` isn't increasing, it indicates that there are some long-running transactions that can potentially hold dead tuples from being removed. |Doesn't apply|No|
86
+
|**Oldest xmin Age**|`oldest_backend_xmin_age`|Count|Age in units of the oldest `xmin`. Indicates how many transactions passed since the oldest `xmin`. |Doesn't apply|No|
|**Backends**(Preview) |`numbackends`|Count|Number of back ends that are connected to this database.|DatabaseName|No|
93
-
|**Deadlocks**(Preview)|`deadlocks`|Count|Number of deadlocks that are detected in this database.|DatabaseName|No|
94
-
|**Disk Blocks Hit**(Preview)|`blks_hit`|Count|Number of times disk blocks were found already in the buffer cache, so that a read wasn't necessary.|DatabaseName|No|
95
-
|**Disk Blocks Read**(Preview) |`blks_read`|Count|Number of disk blocks that were read in this database.|DatabaseName|No|
96
-
|**Temporary Files**(Preview)|`temp_files`|Count|Number of temporary files that were created by queries in this database. |DatabaseName|No|
97
-
|**Temporary Files Size**(Preview) |`temp_bytes`|Bytes|Total amount of data that's written to temporary files by queries in this database. |DatabaseName|No|
98
-
|**Total Transactions**(Preview) |`xact_total`|Count|Number of total transactions that executed in this database. |DatabaseName|No|
99
-
|**Transactions Committed**(Preview) |`xact_commit`|Count|Number of transactions in this database that have been committed.|DatabaseName|No|
100
-
|**Transactions Rolled back**(Preview) |`xact_rollback`|Count|Number of transactions in this database that have been rolled back.|DatabaseName|No|
101
-
|**Tuples Deleted**(Preview) |`tup_deleted`|Count|Number of rows that were deleted by queries in this database. |DatabaseName|No|
102
-
|**Tuples Fetched**(Preview) |`tup_fetched`|Count|Number of rows that were fetched by queries in this database. |DatabaseName|No|
103
-
|**Tuples Inserted**(Preview)|`tup_inserted`|Count|Number of rows that were inserted by queries in this database.|DatabaseName|No|
104
-
|**Tuples Returned**(Preview)|`tup_returned`|Count|Number of rows that were returned by queries in this database.|DatabaseName|No|
105
-
|**Tuples Updated**(Preview) |`tup_updated`|Count|Number of rows that were updated by queries in this database. |DatabaseName|No|
92
+
|**Backends**|`numbackends`|Count|Number of back ends that are connected to this database.|DatabaseName|No|
93
+
|**Deadlocks**|`deadlocks`|Count|Number of deadlocks that are detected in this database.|DatabaseName|No|
94
+
|**Disk Blocks Hit**|`blks_hit`|Count|Number of times disk blocks were found already in the buffer cache, so that a read wasn't necessary.|DatabaseName|No|
95
+
|**Disk Blocks Read**|`blks_read`|Count|Number of disk blocks that were read in this database.|DatabaseName|No|
96
+
|**Temporary Files**|`temp_files`|Count|Number of temporary files that were created by queries in this database. |DatabaseName|No|
97
+
|**Temporary Files Size**|`temp_bytes`|Bytes|Total amount of data that's written to temporary files by queries in this database. |DatabaseName|No|
98
+
|**Total Transactions**|`xact_total`|Count|Number of total transactions that executed in this database. |DatabaseName|No|
99
+
|**Transactions Committed**|`xact_commit`|Count|Number of transactions in this database that have been committed.|DatabaseName|No|
100
+
|**Transactions Rolled back**|`xact_rollback`|Count|Number of transactions in this database that have been rolled back.|DatabaseName|No|
101
+
|**Tuples Deleted**|`tup_deleted`|Count|Number of rows that were deleted by queries in this database. |DatabaseName|No|
102
+
|**Tuples Fetched**|`tup_fetched`|Count|Number of rows that were fetched by queries in this database. |DatabaseName|No|
103
+
|**Tuples Inserted**|`tup_inserted`|Count|Number of rows that were inserted by queries in this database.|DatabaseName|No|
104
+
|**Tuples Returned**|`tup_returned`|Count|Number of rows that were returned by queries in this database.|DatabaseName|No|
105
+
|**Tuples Updated**|`tup_updated`|Count|Number of rows that were updated by queries in this database. |DatabaseName|No|
|**Max Logical Replication Lag**(Preview)|`logical_replication_delay_in_bytes`|Bytes|Maximum lag across all logical replication slots.|Doesn't apply|Yes |
111
+
|**Max Logical Replication Lag**|`logical_replication_delay_in_bytes`|Bytes|Maximum lag across all logical replication slots.|Doesn't apply|Yes |
|**Max Physical Replication Lag**(Preview)|`physical_replication_delay_in_bytes`|Bytes|Maximum lag across all asynchronous physical replication slots.|Doesn't apply|Yes |
118
-
|**Read Replica Lag**(Preview)|`physical_replication_delay_in_seconds`|Seconds|Read replica lag in seconds. |Doesn't apply|Yes |
117
+
|**Max Physical Replication Lag**|`physical_replication_delay_in_bytes`|Bytes|Maximum lag across all asynchronous physical replication slots.|Doesn't apply|Yes |
118
+
|**Read Replica Lag**|`physical_replication_delay_in_seconds`|Seconds|Read replica lag in seconds. |Doesn't apply|Yes |
119
119
120
120
#### Saturation
121
121
@@ -153,18 +153,18 @@ Autovaccum metrics can be used to monitor and tune autovaccum performance for Az
|**Analyze Counter User Tables**(Preview)|`analyze_count_user_tables`|Count|Number of times user-only tables have been manually analyzed in this database. |DatabaseName|No |
157
-
|**AutoAnalyze Counter User Tables**(Preview)|`autoanalyze_count_user_tables`|Count|Number of times user-only tables have been analyzed by the autovacuum daemon in this database. |DatabaseName|No |
158
-
|**AutoVacuum Counter User Tables**(Preview) |`autovacuum_count_user_tables`|Count|Number of times user-only tables have been vacuumed by the autovacuum daemon in this database. |DatabaseName|No |
159
-
|**Estimated Dead Rows User Tables**(Preview)|`n_dead_tup_user_tables`|Count|Estimated number of dead rows for user-only tables in this database. |DatabaseName|No |
160
-
|**Estimated Live Rows User Tables**(Preview)|`n_live_tup_user_tables`|Count|Estimated number of live rows for user-only tables in this database. |DatabaseName|No |
161
-
|**Estimated Modifications User Tables**(Preview)|`n_mod_since_analyze_user_tables`|Count|Estimated number of rows that were modified since user-only tables were last analyzed. |DatabaseName|No |
162
-
|**User Tables Analyzed**(Preview) |`tables_analyzed_user_tables`|Count|Number of user-only tables that have been analyzed in this database. |DatabaseName|No |
163
-
|**User Tables AutoAnalyzed**(Preview) |`tables_autoanalyzed_user_tables`|Count|Number of user-only tables that have been analyzed by the autovacuum daemon in this database.|DatabaseName|No |
164
-
|**User Tables AutoVacuumed**(Preview) |`tables_autovacuumed_user_tables`|Count|Number of user-only tables that have been vacuumed by the autovacuum daemon in this database.|DatabaseName|No |
165
-
|**User Tables Counter**(Preview)|`tables_counter_user_tables`|Count|Number of user-only tables in this database.|DatabaseName|No |
166
-
|**User Tables Vacuumed**(Preview) |`tables_vacuumed_user_tables`|Count|Number of user-only tables that have been vacuumed in this database. |DatabaseName|No |
167
-
|**Vacuum Counter User Tables**(Preview) |`vacuum_count_user_tables`|Count|Number of times user-only tables have been manually vacuumed in this database (not counting `VACUUM FULL`).|DatabaseName|No |
156
+
|**Analyze Counter User Tables**|`analyze_count_user_tables`|Count|Number of times user-only tables have been manually analyzed in this database. |DatabaseName|No |
157
+
|**AutoAnalyze Counter User Tables**|`autoanalyze_count_user_tables`|Count|Number of times user-only tables have been analyzed by the autovacuum daemon in this database. |DatabaseName|No |
158
+
|**AutoVacuum Counter User Tables**|`autovacuum_count_user_tables`|Count|Number of times user-only tables have been vacuumed by the autovacuum daemon in this database. |DatabaseName|No |
159
+
|**Estimated Dead Rows User Tables**|`n_dead_tup_user_tables`|Count|Estimated number of dead rows for user-only tables in this database. |DatabaseName|No |
160
+
|**Estimated Live Rows User Tables**|`n_live_tup_user_tables`|Count|Estimated number of live rows for user-only tables in this database. |DatabaseName|No |
161
+
|**Estimated Modifications User Tables**|`n_mod_since_analyze_user_tables`|Count|Estimated number of rows that were modified since user-only tables were last analyzed. |DatabaseName|No |
162
+
|**User Tables Analyzed**|`tables_analyzed_user_tables`|Count|Number of user-only tables that have been analyzed in this database. |DatabaseName|No |
163
+
|**User Tables AutoAnalyzed**|`tables_autoanalyzed_user_tables`|Count|Number of user-only tables that have been analyzed by the autovacuum daemon in this database.|DatabaseName|No |
164
+
|**User Tables AutoVacuumed**|`tables_autovacuumed_user_tables`|Count|Number of user-only tables that have been vacuumed by the autovacuum daemon in this database.|DatabaseName|No |
165
+
|**User Tables Counter**|`tables_counter_user_tables`|Count|Number of user-only tables in this database.|DatabaseName|No |
166
+
|**User Tables Vacuumed**|`tables_vacuumed_user_tables`|Count|Number of user-only tables that have been vacuumed in this database. |DatabaseName|No |
167
+
|**Vacuum Counter User Tables**|`vacuum_count_user_tables`|Count|Number of times user-only tables have been manually vacuumed in this database (not counting `VACUUM FULL`).|DatabaseName|No |
168
168
169
169
### Considerations for using autovacuum metrics
170
170
@@ -186,12 +186,12 @@ You can use PgBouncer metrics to monitor the performance of the PgBouncer proces
|**Active client connections**(Preview) |`client_connections_active`|Count|Connections from clients that are associated with an Azure Database for PostgreSQL connection. |DatabaseName|No |
190
-
|**Waiting client connections**(Preview)|`client_connections_waiting`|Count|Connections from clients that are waiting for an Azure Database for PostgreSQL connection to service them.|DatabaseName|No |
191
-
|**Active server connections**(Preview) |`server_connections_active`|Count|Connections to Azure Database for PostgreSQL that are in use by a client connection. |DatabaseName|No |
192
-
|**Idle server connections**(Preview) |`server_connections_idle`|Count|Connections to Azure Database for PostgreSQL that are idle and ready to service a new client connection. |DatabaseName|No |
193
-
|**Total pooled connections**(Preview)|`total_pooled_connections`|Count|Current number of pooled connections. |DatabaseName|No |
194
-
|**Number of connection pools**(Preview)|`num_pools`|Count|Total number of connection pools. |DatabaseName|No |
189
+
|**Active client connections**|`client_connections_active`|Count|Connections from clients that are associated with an Azure Database for PostgreSQL connection. |DatabaseName|No |
190
+
|**Waiting client connections**|`client_connections_waiting`|Count|Connections from clients that are waiting for an Azure Database for PostgreSQL connection to service them.|DatabaseName|No |
191
+
|**Active server connections**|`server_connections_active`|Count|Connections to Azure Database for PostgreSQL that are in use by a client connection. |DatabaseName|No |
192
+
|**Idle server connections**|`server_connections_idle`|Count|Connections to Azure Database for PostgreSQL that are idle and ready to service a new client connection. |DatabaseName|No |
193
+
|**Total pooled connections**|`total_pooled_connections`|Count|Current number of pooled connections. |DatabaseName|No |
194
+
|**Number of connection pools**|`num_pools`|Count|Total number of connection pools. |DatabaseName|No |
195
195
196
196
### Considerations for using the PgBouncer metrics
197
197
@@ -205,7 +205,7 @@ Is-db-alive is an database server availability metric for Azure Postgres Flexibl
205
205
206
206
|Display Name |Metric ID |Unit |Description |Dimension |Default enabled|
0 commit comments