Supported Metrics

The following tabs represent the Native Type of PostgreSQL Cluster

Tabbed Interface with Table
PostgreSql Node
Metric NameDisplay NameMetric CategoryUnitApplication VersionDescription
postgresql_node_statiotables_Idx_Blks_HitPostgresql Statio Tables Idx Blks HitPerformancecount1.0.0Number of buffer hits in all indexes on this table
postgresql_node_database_Temp_BytesPostgresql Database Temporary BytesUsage1.0.0Total 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_node_bgwriter_Checkpoints_ReqestPostgresql Bgwriter Checkpoints RequestPerformance1.0.0Number of requested checkpoints that have been performed
postgresql_node_database_SizePostgresql Database SizeCapacityGiga Bytes (GB)1.0.0The size of the database
postgresql_node_stat_tables_Seq_Tup_ReadPostgresql Tables Row Sequential ScanPerformance1.0.0Number of live rows fetched by sequential scans
postgresql_node_statiotables_Toast_Blks_HitPostgresql Statio Tables Toast Blks HitPerformance1.0.0Number of buffer hits in this table's TOAST table (if any)
postgresql_node_max_ConnectionsPostgresql Max ConnectionsUsage1.0.0The maximum number of client connections allowed to this database.shown as connection
postgresql_node_statio_tables_Buffer_HitsPostgresql Statio Tables Buffer HitsPerformance1.0.0Number of buffer hits in this table
postgresql_node_database_Rows_DeletedPostgresql Database Rows DeletedUsage1.0.0Number of rows deleted by queries in this database
postgresql_node_user_Table_CountUser Table CountUsage1.0.0It monitors the number of user tables in current database.
postgresql_node_Activity_CountPostgresql Activity CountUsage1.0.0This 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_database_Conflict_DeadlocksPostgresql Database Conflict DeadlocksPerformancecount1.0.0Number of conflicts in this database that have been canceled due to deadlocks
postgresql_node_Locks_GrantedPostgresql Locks GrantedUsage1.0.0True if lock is held, false if lock is awaite
postgresql_node_statio_tables_Index_Buffer_HitPostgresql Statio Tables Index Buffer HitsPerformanceHits per sec (hps)1.0.0Number of buffer hits in all indexes on this table
postgresql_node_database_Blks_HitPostgresql Database Blocks HitsPerformance1.0.0Number 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_node_database_Rows_UpdatedPostgresql Database Rows UpdatedUsage1.0.0Number of rows updated by queries in this database
postgresql_node_database_Rows_InsertedPostgresql Database Rows InsertedUsage1.0.0Number of rows inserted by queries in this database
postgresql_node_Class_RelpagesPostgresql Class Relpagescount1.0.0This query is used to display the tables and their respective indexes in descending order of relpages.
postgresql_node_Locks_CountPostgresql Locks CountCapacity1.0.0The number of connections blocked waiting for a lock can be an indicator of a slow transaction with an exclusive lock.
postgresql_node_Statioindexes_BufferhitsPostgresql Statio Indexes Buffer HitsPerformance1.0.0Number of buffer hits in this index
postgresql_node_bgwriter_Buffers_BackendPostgresql Bgwriter Buffers Backend1.0.0Number of buffers written directly by a backend
postgresql_node_database_DeadlocksPostgresql Database DeadlocksPerformancecount1.0.0Number of deadlocks detected in this database
postgresql_node_statio_tables_Index_Block_ReadPostgresql Statio Tables Index Block ReadPerformance1.0.0Number of disk blocks read from all indexes on this table
postgresql_node_database_ConnectionsPostgresql Database ConnectionsUsage1.0.0The number of active connections to postgres database.
postgresql_node_settings_ConnectionPostgresql Settings Connections1.0.0The number of connections to this database as a fraction of the maximum number of allowed connections.
postgresql_node_bgwriter_Buffers_CleanPostgresql Bgwriter Buffers Clean1.0.0Number of buffers written by the background writer
postgresql_node_bgwriter_Checkpoints_TimedPostgresql Bgwriter Checkpoints Timedcount1.0.0Number of scheduled checkpoints that have been performed
postgresql_node_bgwriter_Buffers_CheckpointPostgresql Bgwriter Buffers Checkpoint1.0.0Number of buffers written during checkpoints
postgresql_node_database_Rows_ReturnedPostgresql Database Rows Returned1.0.0Number of rows returned by queries in this database
postgresql_node_database_Rows_FetchedPostgresql Database Rows Fetched1.0.0Number of rows fetched by queries in this database
postgresql_node_user_tables_Rows_CountPostgresql User Tables Rows Countcount1.0.0number of rows scans
postgresql_node_usertable_RowsdeadPostgresql User Table Rows Dead1.0.0This query gives the number of dead rows (tuples) in the table.
postgresql_node_database_Transaction_RollbackPostgresql Database Transactions RolledBack1.0.0Number of transactions in this database that have been rolled back
postgresql_node_database_IsInstanceStandbyPostgres Database Is Instance StandbyAvailability1.0.0Check if Postgres database instance is standby or not 0 - Not Standby , 1 - Standby
postgresql_node_hot_Standby_Feature_StatusPostgreSQL Hot Standby Feature StatusAvailability1.0.0Show the Hot Standby mode is either on or off. 1 means "on" & 0 means "off"
postgresql_node_activity_Long_TransactionsPostgreSQL Activity Long TransactionsPerformanceHours1.0.0Monitors PostgreSQL activity long transactions in hours
postgresql_node_database_Walsegment_CountPostgres Database Walsegment Countcount1.0.0Postgres WAL segment count - compared to defined thresholds
postgresql_node_database_Backend_Connections_PercentagePostgres Database Backend Connections PercentageUsage%1.0.0Postgres backend connections - percent relative to max_connections database setting
postgresql_node_database_Transaction_WraparoundPostgres Database Transaction WraparoundPerformance1.0.0Postgres value of txn_wraparound - compared to defined thresholds
postgresql_node_database_Total_Backend_Connections_PercentagePostgres Total Backend Connections PercentageUsage%1.0.0Postgres total backend connections - percent relative to max_connections database setting
postgresql_node_database_Wal_Sender_StatePostgres Database Wal Sender StateAvailability1.0.0Postgres database current Wal Sender state – Possible States : startup - 1 catchup - 2 streaming - 3 backup - 4 stopping - 5
postgresql_node_database_Replication_Sendlag_BytesPostgres Database Replication Sending Lag In BytesPerformanceBytes1.0.0Postgres database replication – replication sending lag - bytes
postgresql_node_database_Replication_Lag_SecPostgres Database Replication Lag In SecondsPerformanceSec1.0.0Postgres database replication – replication lag - seconds
postgresql_node_database_Replication_Replaylag_BytesPostgres Database Replication Replay Lag In BytesPerformanceBytes1.0.0Postgres database replication – replication replay lag - bytes
postgresql_node_database_Replication_Totallag_BytesPostgres Database Replication Total Lag In BytesPerformanceBytes1.0.0Postgres database replication – replication total lag - bytes
postgresql_node_database_Replication_Receivelag_BytesPostgres Database Replication Receiving Lag In BytesPerformanceBytes1.0.0Postgres database replication – replication receiving lag - bytes

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)