Postgresql invalid index warning
>>>
pg_general_index_info_pg_relation_size
{indexrelname=~".*ccnew.*"}
The PromQL query pg_general_index_info_pg_relation_size{indexrelname=~".*ccnew.*"} returns the size of any PostgreSQL index whose name contains the substring ccnew. If this query returns any series (i.e., at least one matching index exists), the alert fires, indicating that the corresponding table has an invalid index that should be dropped.
Exporters Used
Related Alerts
PostgreSQLCacheHitRatio
PostgreSQLDown
PostgreSQLHighConnections
PostgreSQLMaxConnectionsReached
PostgreSQLQPS
PostgreSQLSlowQueries
Postgresql SSL compression active
Postgresql bloat index high (> 80%)
Postgresql bloat table high (> 80%)
Postgresql commit rate low
Postgresql configuration changed
Postgresql dead locks
Postgresql down
Postgresql exporter error
Postgresql high rate deadlock
Postgresql high rate statement timeout
Postgresql high rollback rate
Postgresql low XID consumption
Postgresql not enough connections
Postgresql replication lag
Postgresql restarted
Postgresql table not auto analyzed
Postgresql table not auto vacuumed
Postgresql too many connections
Postgresql too many dead tuples
Postgresql too many locks acquired
Postgresql unused replication slot