Get CPU target
render_get_cpu_targetRetrieve CPU target metrics for one or more Render resources by specifying service, instance, or resource IDs with optional time range and resolution.
Instructions
Get CPU target. Get CPU target for one or more resources. Calls GET /metrics/cpu-target on the Render Public API.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endTime | No | Epoch/Unix timestamp of end of time range to return. Defaults to `now()`. | |
| service | No | This parameter is deprecated. Please use `resource` instead (deprecated) | |
| instance | No | Instance ID to query. When multiple instance ID query params are provided, they are ORed together | |
| resource | No | Resource ID to query. When multiple resource query params are provided, they are ORed together. Resources can be service ids, Postgres ids, or Redis ids | |
| startTime | No | Epoch/Unix timestamp of start of time range to return. Defaults to `now() - 1 hour`. | |
| resolutionSeconds | No | The resolution of the returned data |