Skip to content

Observability on external rate limit module #106

Description

@eguzki

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 ok and over_limit, the metrics from the gateway are more reliable as they take into account external rate limiting service downtimes and timeouts.

Related #6

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    • Status
      Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions