Get CPU limit
render_get_cpu_limitRetrieve CPU limit metrics for Render resources. Specify service, Postgres, or Redis IDs to check their CPU limit, with configurable time range and resolution.
Instructions
Get CPU limit. Get the CPU limit for one or more resources. Calls GET /metrics/cpu-limit 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 |