get_app_jobs
Retrieve all background jobs for a Scout APM application and aggregate their performance metrics over a time window to identify high-throughput, high-latency, or high-error-rate jobs.
Instructions
Get all background jobs for a specific application. Also gets aggregated performance metrics within the window of "from_" to "to". Useful for identifying high throughput, high latency or high error rate jobs across the application with a single call.
Each job includes: full_name, name, queue, job_id, throughput, execution_time, time_consumed, latency.
Args: app_id (int): The ID of the Scout APM application. from_ (str): The start datetime in ISO 8601 format. to (str): The end datetime in ISO 8601 format.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"app_id": "<app_id>",
"from_": "<from_>",
"to": "<to>"
},
"name": "get_app_jobs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| from_ | Yes | ||
| app_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |