monitoring
Monitor PostgreSQL database performance metrics, statistics, and health checks including connections, locks, replication, disk usage, query stats, and index usage over specified time ranges.
Instructions
Database monitoring: performance metrics, statistics, health checks
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of results | |
| metric | Yes | Metric type to retrieve | |
| timeRange | No | Time range for metrics | 1h |
Input Schema (JSON Schema)
{
"properties": {
"limit": {
"default": 50,
"description": "Maximum number of results",
"type": "integer"
},
"metric": {
"description": "Metric type to retrieve",
"enum": [
"connections",
"performance",
"locks",
"replication",
"disk_usage",
"query_stats",
"index_usage"
],
"type": "string"
},
"timeRange": {
"default": "1h",
"description": "Time range for metrics",
"enum": [
"1h",
"24h",
"7d",
"30d"
],
"type": "string"
}
},
"required": [
"metric"
],
"type": "object"
}