Get CPU usage
render_get_cpuGet CPU usage metrics for Render services, databases, and Redis instances. Specify time range and aggregation to analyze performance trends.
Instructions
Get CPU usage. Get CPU usage for one or more resources. Calls GET /metrics/cpu 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`. | |
| aggregationMethod | No | The aggregation method to apply to multiple time series | |
| resolutionSeconds | No | The resolution of the returned data |