feat:
--Added Features in feat.txt
This commit is contained in:
1 parent
7d66c24430
commit
cd99831abc
2 files changed
+24
-1
No files matched your search
@@ -37,3 +37,16 @@ Using my uploaded photo, show me what I would have looked like around 1985. Pres
|
||||
|
||||
|
||||
|
||||
| Tool | Best for | What it monitors |
|
||||
| ---------------------- | ------------------------------ | ------------------------------------------------------------ |
|
||||
| **pgAdmin** | PostgreSQL beginners | Sessions, queries, locks, database size, activity |
|
||||
| **pg_stat_activity** | PostgreSQL built-in monitoring | Active queries, idle connections, blocked sessions |
|
||||
| **pg_stat_statements** | SQL performance | Slow queries, execution count, execution time |
|
||||
| **Prometheus** | Metrics collection | CPU, memory, connections, transactions, replication metrics |
|
||||
| **Grafana** | Dashboards | Visualizes metrics collected by Prometheus |
|
||||
| **postgres_exporter** | PostgreSQL → Prometheus | DB connections, locks, transactions, cache, WAL, replication |
|
||||
| **pgwatch2** | PostgreSQL monitoring | PostgreSQL-specific metrics and dashboards |
|
||||
| **Percona PMM** | PostgreSQL/MySQL | Query performance, server health, DB metrics |
|
||||
| **Zabbix** | Infrastructure monitoring | Servers, databases, network, disk, CPU, alerts |
|
||||
| **Datadog** | Commercial monitoring | DB + server + application monitoring |
|
||||
| **New Relic** | Application + DB | Slow SQL, response times, application/database relationship |
|
||||
@@ -93,7 +93,7 @@ def root():
|
||||
|
||||
#{
|
||||
# "host": "172.16.10.178",
|
||||
# "node_name = "node3",
|
||||
# "node_name :"node3",
|
||||
# "port": 5444,
|
||||
# "dbname": "postgres",
|
||||
# "user": "postgres",
|
||||
@@ -198,6 +198,16 @@ def get_replication_health(data: NodeStatusRequest):
|
||||
conn.close()
|
||||
|
||||
|
||||
|
||||
# {
|
||||
# "node_name": "node3",
|
||||
# "host": "172.16.10.178",
|
||||
# "port": 5444,
|
||||
# "dbname": "postgres",
|
||||
# "user": "postgres",
|
||||
# "password": "postgres"
|
||||
# }
|
||||
|
||||
@app.websocket("/ws/node/replication-health")
|
||||
async def replication_monitor(websocket: WebSocket):
|
||||
await websocket.accept()
|
||||
|
||||
Reference in new issue
Block a user