-
Notifications
You must be signed in to change notification settings - Fork 12
Description
In order to be able to observe what is happening at runtime via tools such as prometheus and grafana being able to expose some metrics around the WASM module would be useful.
As initial suggest, Envoy external rate limit filter statistics module (source), exports the following:
| Name | Type | Description |
|---|---|---|
| ok | Counter | Total under limit responses from the rate limit service |
| error | Counter | Total errors contacting the rate limit service |
| over_limit | Counter | total over limit responses from the rate limit service |
| failure_mode_allowed | Counter | Total requests that were error(s) but were allowed through because of failure_mode_deny set to false. |
Note: even if Limitador (the external rate limiting service) exposes metrics like
okandover_limit, the metrics from the gateway are more reliable as they take into account external rate limiting service downtimes and timeouts.
Related #6
slopezz