Skip to content

[Enhancement] Allow users to configure the Health Endpoint rate limit #14

Description

@Mahesh-Langote

Description

Currently, the LogDispatchHealthController has a hard-coded strict rate limit of 60 requests per minute to protect the client's application. However, some APM servers might poll the health endpoint more aggressively (e.g., once every 500ms). We need to let the client configure this limit.

Acceptance Criteria

  • Add a new property logdispatch.health.rate-limit-per-minute to application.yml (defaulting to 60).
  • Inject this property into the LogDispatchHealthController.
  • Update the internal rate-limiting logic to use this dynamic property instead of the hard-coded 60.
  • Update README.md to document this new configuration property.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions