get_deployment_metrics
Fetches per-replica CPU/memory usage, resource limits, and replica counts for a deployment over a time range to support monitoring and capacity checks.
Instructions
Fetches per-replica CPU/memory usage, resource limits, and replica counts for a deployment. :param deployment_id: ID of the deployment. :param start_ms: Start of the time range, in unix milliseconds. :param end_ms: End of the time range, in unix milliseconds. :returns: Deployment metrics or error message.
The output is automatically stored and can be referenced in other functions.
Returns a formatted preview with an object ID (e.g., @obj_123).
Use the object store tools in combination with the object ID to view nested properties of the object.
Use the returned object ID to pass this result to other functions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_ms | Yes | ||
| start_ms | Yes | ||
| deployment_id | Yes |