Skip to content

Monitoring: Add per API key rate monitoring and Discord alerts  #797

@nishika26

Description

@nishika26

Is your feature request related to a problem?
There is no monitoring or alerting for per API key request rates, leading to potential abuse on high-cost endpoints. This lack of visibility can result in unexpected costs and runaway clients.

Describe the solution you'd like
Implement monitoring and Discord alerts for per API key request rates with the following thresholds in a one-minute window:

  • llm/call/ → more than 15 requests per minute
  • evaluations/ → more than 3 requests per minute
  • collections/ → more than 3 requests per minute

Notifications should be sent to a designated Discord channel detailing the triggering API key, endpoint, and request count. This proposal is for monitoring and alerting only; no rate limiting is required.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

Projects

Status

To Do

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions