Get HTTP request count
render_get_http_requestsRetrieve HTTP request counts for Render resources, filtering by host, path, time range, and aggregation.
Instructions
Get HTTP request count. Get the HTTP request count for one or more resources. Calls GET /metrics/http-requests on the Render Public API.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | The hosts of HTTP requests to filter to. When multiple host query params are provided, they are ORed together | |
| path | No | The paths of HTTP requests to filter to. When multiple path query params are provided, they are ORed together | |
| 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) | |
| resource | No | Service ID to query. When multiple service ids are provided, they are ORed together | |
| startTime | No | Epoch/Unix timestamp of start of time range to return. Defaults to `now() - 1 hour`. | |
| aggregateBy | No | The field to aggregate by | |
| resolutionSeconds | No | The resolution of the returned data |