Skip to content

Update AI client SLI

Jan Provaznik requested to merge jp-fix-sli into master

What does this MR do and why?

Related to #421546 (closed)

  • With this change error ratio of AI requests is measured outside of exponential backoff, so we can better track error ratio of user's requests (the main benefit is that this SLI will not be impacted by "too many requests" retries)

  • llm_completion SLI is used to measure error rate of all AI requests (by checking errors field in user's response)

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Jan Provaznik

Merge request reports