get_app_insights
Retrieve performance insights for your application, including N+1 queries, memory bloat, and slow queries. Optionally filter by insight type and set a limit on results.
Instructions
Get or generate all insights for an application (cached for 5 minutes).
Returns performance insights including N+1 queries, memory bloat, and slow queries.
Each insight type includes count, new_count, and items array with specific details.
If insight_type is provided, only that type will be returned.
Args:
app_id (int): The ID of the Scout APM application.
insight_type: (str | None): Type of insight to filter (n_plus_one, memory_bloat,
slow_query) If None (the default), all types will
be returned.
limit (int | None): Maximum number of items per insight type (default: 20).Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | Yes | ||
| insight_type | No | ||
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||