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.
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 | |||