Tracks the average response time in milliseconds for requests to the same URL over a rolling time window, for use as a condition in IDP rules that react to slow or degraded endpoints. Times are counted per user, per client IP, or as one global total depending on the configured metric type. The average blends completed requests, bucketed by URL into one-minute buckets and pruned once they fall outside the configured interval, with requests that are still in progress at the moment of evaluation.
Group: IDP Rules
Implements: IDPMetric
Properties
| Property | Returns | Description |
|---|---|---|
| requestBuckets | Map<String,List<RequestBucket>> | |
| status | String | Human-readable summary of this metric's current in-memory state: how many URLs are tracked, how many completed and in-progress buckets exist, and the current average response and request durations. 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 times are grouped (by user, by IP, or globally). |
| urlBuckets | Map<String,LinkedList<LongBucket>> |
Methods
getTitle()
Returns: String
Human-readable summary of this metric's configuration, showing the interval and how times are grouped (by user, by IP, or globally).
getStatus()
Returns: String
Human-readable summary of this metric's current in-memory state: how many URLs are tracked, how many completed and in-progress buckets exist, and the current average response and request durations. Returns a fixed message when nothing has been recorded yet.