--Added new Link and register API
This commit is contained in:
george committed 2026-09-01 12:25:06 +05:30
1 parent a92d68fa35
commit ce55d6f591
3 files changed
+272 -37

No files matched your search

+41 -1
View File
@@ -244,4 +244,44 @@ psql "postgresql://postgres_exporter:postgres@172.16.10.178:5444/postgres"
|=============================|
|ENDPONT TO DETECT A DEAD LOCK|
|=============================|
http://172.16.10.178:9188/metrics | grep -i deadlock
http://172.16.10.178:9188/metrics | grep -i deadlock
|========================|
|FEATURES COMPLETED TODAY|
|========================|
| Requirement | `postgres_exporter` | What you need |
| ----------------------- | ------------------: | --------------------------------- |
| Connections | ✅ | postgres_exporter |
| Transactions | ✅ | postgres_exporter |
| Locks | ✅/⚠️ | PostgreSQL metrics/custom query |
| Blocking sessions | ⚠️ | Custom PostgreSQL query |
| Deadlocks | ✅ | postgres_exporter |
| Long-running queries | ⚠️ | `pg_stat_activity` / custom query |
| WAL | ✅ | postgres_exporter |
| Database health | ✅ | postgres_exporter + Prometheus |
| PostgreSQL CPU usage | ❌ | cAdvisor / process monitoring |
| PostgreSQL memory usage | ❌ | cAdvisor / process monitoring |
| Storage/disk usage | ❌ | node_exporter / cAdvisor |
| Network usage | ❌ | node_exporter / cAdvisor |
|==================|
| Whats This for? |
|==================|
postgres=# SELECT *
FROM spock.replication_set_table;
set_id | set_reloid | set_att_list | set_row_filter
-----------+------------------+--------------+----------------
590430464 | ddl_test | |
590430464 | test_replication | |
590430464 | lock_test | |
(3 rows)
postgres=#
!!!!!!!!!WHEN TESTING NEW NODES OR REFRESHING THE NODES!!!!!!!!!
SET spock.enable_ddl_replication = off;