get_job_metrics
Fetch a single timeseries metric—throughput, execution time, latency, errors, or allocations—for a specific background job and time range to diagnose performance issues.
Instructions
Get a single timeseries metric for a specific background job in an application.
Valid job metrics: throughput, execution_time, latency, errors, allocations.
Args: app_id (int): The ID of the Scout APM application. job_id (str): The Base64-encoded job ID. metric (str): The metric to retrieve (e.g., "execution_time", "throughput"). 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>",
"job_id": "<job_id>",
"metric": "<metric>",
"from_": "<from_>",
"to": "<to>"
},
"name": "get_job_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| from_ | Yes | ||
| app_id | Yes | ||
| job_id | Yes | ||
| metric | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||