Supported Metrics

Tabbed Interface with Table
Availability
Performance
Usage
Capacity
No Category
Monitor NameMetric NameDisplay NameUnitsDescription
PostgreSql Nodepostgresql_node_database_Replication_Running_StatusPostgres Database Replication Running StatusPostgres database replication – replication status - replication on/off Possible Status values: ON - 1, OFF - 0
postgresql_node_database_IsInstanceStandbyPostgres Database Is Instance StandbyCheck if Postgres database instance is standby or not 0 - Not Standby , 1 - Standby
postgresql_node_hot_Standby_Feature_StatusPostgreSQL Hot Standby Feature StatusShow the Hot Standby mode is either on or off. 1 means "on" & 0 means "off"
postgresql_node_database_Wal_Sender_StatePostgres Database Wal Sender StatePostgres database current Wal Sender state – Possible States : startup - 1 catchup - 2 streaming - 3 backup - 4 stopping - 5
Monitor NameMetric NameDisplay NameUnitsDescription
PostgreSql Nodepostgresql_node_activity_Long_TransactionsPostgreSQL Activity Long TransactionsHoursMonitors PostgreSQL activity long transactions in hours
postgresql_node_database_Replication_Sendlag_BytesPostgres Database Replication Sending Lag In BytesBytesPostgres database replication – replication sending lag - bytes
postgresql_node_database_Replication_Lag_SecPostgres Database Replication Lag In SecondsSecPostgres database replication – replication lag - seconds
postgresql_node_database_Replication_Replaylag_BytesPostgres Database Replication Replay Lag In BytesBytesPostgres database replication – replication replay lag - bytes
postgresql_node_database_Replication_Totallag_BytesPostgres Database Replication Total Lag In BytesBytesPostgres database replication – replication total lag - bytes
postgresql_node_database_Replication_Receivelag_BytesPostgres Database Replication Receiving Lag In BytesBytesPostgres database replication – replication receiving lag - bytes
PostgreSql Databasepostgresql_db_statiotables_Idx_Blks_HitPostgresql Statio Tables Idx Blks HitcountNumber of buffer hits in all indexes on this table
postgresql_db_bgwriter_Checkpoints_ReqestPostgresql Bgwriter Checkpoints RequestNumber of requested checkpoints that have been performed
postgresql_db_stat_tables_Seq_Tup_ReadPostgresql Tables Row Sequential ScanNumber of live rows fetched by sequential scans
postgresql_db_statiotables_Toast_Blks_HitPostgresql Statio Tables Toast Blks HitNumber of buffer hits in this table's TOAST table (if any)
postgresql_db_statio_tables_Buffer_HitsPostgresql Statio Tables Buffer HitsNumber of buffer hits in this table
postgresql_db_Conflict_DeadlocksPostgresql Database Conflict DeadlockscountNumber of conflicts in this database that have been canceled due to deadlocks
postgresql_db_Blks_HitPostgresql Database Blocks HitsNumber of times disk blocks were found already in the buffer cache, so that a read was not necessary (this only includes hits in the PostgreSQL buffer cache, not the operating system's file system cache)
postgresql_db_Statioindexes_BufferhitsPostgresql Statio Indexes Buffer HitsNumber of buffer hits in this index
postgresql_db_DeadlocksPostgresql Database DeadlockscountNumber of deadlocks detected in this database
postgresql_db_statio_tables_Index_Block_ReadPostgresql Statio Tables Index Block ReadNumber of disk blocks read from all indexes on this table
postgresql_db_Transaction_WraparoundPostgres Database Transaction WraparoundPostgres value of txn_wraparound - compared to defined thresholds
Monitor NameMetric NameDisplay NameUnitsDescription
PostgreSql Nodepostgresql_node_max_ConnectionsPostgresql Max ConnectionsThe maximum number of client connections allowed to this database.shown as connection
postgresql_node_Activity_CountPostgresql Activity CountThis will tell you how close you are to hitting your max_connections limit, and show up any clients which are leaking database connections.
postgresql_node_Locks_GrantedPostgresql Locks GrantedTrue if lock is held, false if lock is awaite
postgresql_node_database_Backend_Connections_PercentagePostgres Database Backend Connections Percentage%Postgres backend connections - percent relative to max_connections database setting
postgresql_node_database_Total_Backend_Connections_PercentagePostgres Total Backend Connections Percentage%Postgres total backend connections - percent relative to max_connections database setting
PostgreSql Databasepostgresql_db_Temp_BytesPostgresql Database Temporary BytesTotal amount of data written to temporary files by queries in this database. All temporary files are counted, regardless of why the temporary file was created, and regardless of the log_temp_files setting.
postgresql_db_Rows_DeletedPostgresql Database Rows DeletedNumber of rows deleted by queries in this database
postgresql_db_user_Table_CountUser Table CountIt monitors the number of user tables in current database.
postgresql_db_Rows_UpdatedPostgresql Database Rows UpdatedNumber of rows updated by queries in this database
postgresql_db_Rows_InsertedPostgresql Database Rows InsertedNumber of rows inserted by queries in this database
postgresql_db_ConnectionsPostgresql Database ConnectionsThe number of active connections to postgres database.
Monitor NameMetric NameDisplay NameUnitsDescription
PostgreSql Nodepostgresql_node_Locks_CountPostgresql Locks CountThe number of connections blocked waiting for a lock can be an indicator of a slow transaction with an exclusive lock.
PostgreSql Databasepostgresql_db_SizePostgresql Database SizeGiga Bytes (GB)The size of the database
Monitor NameMetric NameDisplay NameUnitsDescription
PostgreSql Nodepostgresql_node_bgwriter_Buffers_BackendPostgresql Bgwriter Buffers BackendNumber of buffers written directly by a backend
postgresql_node_settings_ConnectionPostgresql Settings ConnectionsThe number of connections to this database as a fraction of the maximum number of allowed connections.
postgresql_node_bgwriter_Buffers_CleanPostgresql Bgwriter Buffers CleanNumber of buffers written by the background writer
postgresql_node_bgwriter_Checkpoints_TimedPostgresql Bgwriter Checkpoints TimedcountNumber of scheduled checkpoints that have been performed
postgresql_node_bgwriter_Buffers_CheckpointPostgresql Bgwriter Buffers CheckpointNumber of buffers written during checkpoints
postgresql_node_database_Walsegment_CountPostgres Database Walsegment CountcountPostgres WAL segment count - compared to defined thresholds
PostgreSql Databasepostgresql_db_Class_RelpagesPostgresql Class RelpagescountThis query is used to display the tables and their respective indexes in descending order of relpages.
postgresql_db_Rows_ReturnedPostgresql Database Rows ReturnedNumber of rows returned by queries in this database
postgresql_db_Rows_FetchedPostgresql Database Rows FetchedNumber of rows fetched by queries in this database
postgresql_db_user_tables_Rows_CountPostgresql User Tables Rows Countcountnumber of rows scans
postgresql_db_usertable_RowsdeadPostgresql User Table Rows DeadThis query gives the number of dead rows (tuples) in the table.
postgresql_db_Transaction_RollbackPostgresql Database Transactions RolledBackNumber of transactions in this database that have been rolled back

Default Monitoring Configurations

Postgresql application has default Global Device Management Policies, Global Templates, Global Monitors and Global Metrics in OpsRamp. You can customize these default monitoring configurations as per your business requirement by cloning respective Global Templates and Global Device Management Policies. It is recommended to clone them before installing the application to avoid noise alerts and data.

  1. Default Global Device Management Policies

    You can find the Device Management Policy for each Native Type at Setup > Resources > Device Management Policies. Search with suggested names in global scope:

    {appName nativeType - version}

    Ex: postgresql-cluster PostgreSql Node - 1 (i.e, appName = postgresql-cluster, nativeType = PostgreSql Node, version = 1)

  2. Default Global Templates

    You can find the Global Templates for each Native Type at Setup > Monitoring > Templates. Search with suggested names in global scope. Each template adheres to the following naming convention:

    {appName nativeType 'Template' - version}

    Ex: postgresql-cluster PostgreSql Node Template - 1 (i.e, appName = postgresql-cluster, nativeType = PostgreSql Node, version = 1)

  3. Default Global Monitors

    You can find the Global Monitors for each Native Type at Setup > Monitoring > Monitors. Search with suggested names in global scope. Each Monitors adheres to the following naming convention:

    {monitorKey appName nativeType - version}

    Ex: PostgreSql Node Monitor postgresql-cluster PostgreSql Node 1 (i.e, monitorKey = PostgreSql Node Monitor, appName = postgresql-cluster, nativeType = PostgreSql Node, version = 1)