detect_n_plus_one
Analyze recent HTTP requests to identify N+1 query patterns by detecting repeated database queries above a configurable threshold.
Instructions
Detect N+1 query patterns in a request
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| requestId | No | Specific request ID (highest priority) | |
| count | No | Number of recent HTTP requests to analyze | |
| since | No | Time duration to look back (e.g., "30m", "1h", "2d", "1w") | |
| all | No | Analyze all available requests (max 100) | |
| uri | No | Filter by URI pattern (substring match) | |
| threshold | No | Min repetitions to flag as N+1 |