Counts requests to the same URL over a rolling time window, for use as a condition in IDP rate-limiting and abuse-detection rules. Requests are counted per user, per client IP, or as one global total depending on the configured metric type, and the total includes both in-progress requests (tracked from requestStart to requestEnd) and completed ones, which are bucketed by URL in one-minute buckets and pruned once they fall outside the configured interval.
Group: IDP Rules
Implements: IDPMetric
Properties
| Property | Returns | Description |
|---|---|---|
| requestBuckets | Map<String,List<String>> | |
| status | String | Human-readable summary of this metric's current in-memory state: how many distinct keys are tracked, how many time buckets and counted events exist, and how many requests are currently in progress. Returns a fixed message when nothing has been recorded yet. |
| title | String | Human-readable summary of this metric's configuration, showing the interval and how counts are grouped (by user, by IP, or globally). |
| urlMetrics | Map<String,LinkedList<LongBucket>> |
Methods
getTitle()
Returns: String
Human-readable summary of this metric's configuration, showing the interval and how counts are grouped (by user, by IP, or globally).
getStatus()
Returns: String
Human-readable summary of this metric's current in-memory state: how many distinct keys are tracked, how many time buckets and counted events exist, and how many requests are currently in progress. Returns a fixed message when nothing has been recorded yet.