Skip to content

Commit 6569a8d

Browse files
committed
fix: Document missing HTTP rate-control metrics in deployment guide
1 parent 033cc95 commit 6569a8d

1 file changed

Lines changed: 16 additions & 7 deletions

File tree

website/docs/components/data-connectors/https/deployment.md

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -106,13 +106,22 @@ When using `refresh_mode: caching`, transient HTTP errors (5xx, 429) are exclude
106106

107107
When rate control is active, the connector exposes per-origin metrics that can be enabled per-dataset:
108108

109-
| Metric Name | Description |
110-
| ------------------------------------------ | ----------------------------------------------------------------------------------------------------- |
111-
| `rate_control_max_concurrent_requests` | Configured maximum concurrent HTTP requests for this upstream origin; `0` means disabled. |
112-
| `rate_control_requests_per_second_limit` | Configured HTTP request-per-second limit for this upstream origin; `0` means disabled. |
113-
| `rate_control_requests_per_minute_limit` | Configured HTTP request-per-minute limit for this upstream origin; `0` means disabled. |
114-
| `rate_control_jitter_min_ms` | Minimum jitter (in milliseconds) added before HTTP requests when rate control is active. |
115-
| `rate_control_jitter_max_ms` | Maximum jitter (in milliseconds) added before HTTP requests when rate control is active. |
109+
| Metric Name | Type | Description |
110+
| ------------------------------------------- | ------- | -------------------------------------------------------------------------------------------------------- |
111+
| `inflight_operations` | Gauge | Current number of HTTP requests holding a rate-control permit. |
112+
| `rate_control_max_concurrent_requests` | Gauge | Configured maximum concurrent HTTP requests for this upstream origin; `0` means disabled. |
113+
| `rate_control_requests_per_second_limit` | Gauge | Configured HTTP request-per-second limit for this upstream origin; `0` means disabled. |
114+
| `rate_control_requests_per_minute_limit` | Gauge | Configured HTTP request-per-minute limit for this upstream origin; `0` means disabled. |
115+
| `rate_control_jitter_min_ms` | Gauge | Configured minimum rate-control jitter (ms) before HTTP requests. |
116+
| `rate_control_jitter_max_ms` | Gauge | Configured maximum rate-control jitter (ms) before HTTP requests. |
117+
| `rate_control_available_permits` | Gauge | Current available permits in the HTTP request concurrency semaphore; `0` when concurrency is disabled. |
118+
| `rate_control_acquisitions_total` | Counter | Total HTTP request rate-control permits acquired. |
119+
| `rate_control_acquire_errors_total` | Counter | Total HTTP request rate-control permit acquisition errors. |
120+
| `rate_control_wait_duration_ms` | Counter | Cumulative time (ms) spent waiting for HTTP rate-control permits, quotas, and jitter. |
121+
| `rate_limit_retry_after_updates_total` | Counter | Total upstream cooldown hints accepted from `Retry-After` or `RateLimit` reset headers. |
122+
| `rate_limit_retry_after_waits_total` | Counter | Total waits caused by `Retry-After` or `RateLimit` reset headers. |
123+
| `rate_limit_retry_after_wait_duration_ms` | Counter | Cumulative time (ms) spent waiting because of `Retry-After` or `RateLimit` reset headers. |
124+
| `rate_limit_retry_after_remaining_ms` | Gauge | Current remaining `Retry-After` / `RateLimit` cooldown (ms) for this upstream origin. |
116125

117126
Enable component metrics in the dataset's `metrics` section. See [Component Metrics](../../../features/observability/component_metrics) for general configuration.
118127

0 commit comments

Comments
 (0)