Get HTTP request count
render_get_http_requestsGet HTTP request counts for Render services or resources. Filter by time range, host, path, and aggregate by status code or host to analyze traffic.
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 |