bmel:slaBreached¶
Category: LLM & AI Observability · Returns: bmel:boolean
bmel:slaBreached(actual: bmel:number, limit: bmel:number)
Description¶
Returns true if the actual value exceeds the defined limit. A convenience wrapper for the common SLA breach check (actual > limit) that makes frame expressions more readable. Typically used with latency (ms), token counts, or cost values against contractual thresholds.
Arguments¶
| Parameter | Type | Required | Description |
|---|---|---|---|
actual | bmel:number | ✅ | The measured value (e.g. response latency in ms, token count, cost in USD). |
limit | bmel:number | ✅ | The maximum allowed value. Returns true when actual > limit. |
Example¶
bmel:slaBreached({call:Response Payload}.$.latency_ms, 2000)