Skip to content

Rate Limiting for endpoints #330

@mrueg

Description

@mrueg

Currently, most /metrics endpoints don't offer any sort of rate limiting.

It would be nice if exporter-toolkit would provide two rate limits that can be user specified.

  • global: queries per second
  • per client IP: queries per second

if the limit is reached it should return HTTP 429.

This would help users of this library to set up better protection against malign clients.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions