long_running_queries
Find active PostgreSQL queries older than a configurable threshold, listed oldest first, to diagnose long-running query issues.
Instructions
[READ] Active queries running at least min_seconds, oldest first.
Args:
min_seconds: Minimum age in seconds (default 60).
target: Target name from config; omit for the default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| min_seconds | No |