Skip to content

docs(openspec): plan #3485 Alert on Ollama tier evictions with a Loki rule - #3951

Merged
dan-petty merged 1 commit into
mainfrom
fix/3485-the-coder-tier-serves-no-second
Nov 7, 2026
Merged

dan-petty merged 1 commit into
mainfrom
fix/3485-the-coder-tier-serves-no-second

Conversation

@devops-cli-service

Copy link
Copy Markdown
Contributor

Plans #3485

The ollama-48gib tier can still evict qwen3.8:27b when a client calls it with another model name. An eviction drops the KV cache, and a swap took 55 to 330 s. Nothing tells a person. This change adds a Loki ruler rule that counts the eviction lines of the stream {service_name="ollama-48gib"} in a window and fires above the threshold. Loki reads the rule from a mounted ConfigMap and sends its alerts to prometheus-alertmanager.monitoring:9093. Network policies open that one port from logging to monitoring. A test holds the rule's selector, filter, window and threshold against a fixture of log lines, and holds both network policy peers. The routes, the tiers and the runner Jobs do not change.

Change: openspec/changes/3485-the-coder-tier-serves-no-second/

@devops-cli-service devops-cli-service Bot added type/docs Type docs: a change to the documents scope/openspec OpenSpec changes, specs and their checks labels Nov 7, 2026
@dan-petty
dan-petty force-pushed the fix/3485-the-coder-tier-serves-no-second branch from b3d4b05 to 7c2923c Compare November 7, 2026 12:43
@dan-petty
dan-petty marked this pull request as ready for review November 7, 2026 13:18
@dan-petty
dan-petty self-requested a review as a code owner November 7, 2026 13:18
@dan-petty
dan-petty merged commit c351668 into main Nov 7, 2026
23 checks passed
@dan-petty
dan-petty deleted the fix/3485-the-coder-tier-serves-no-second branch November 7, 2026 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/openspec OpenSpec changes, specs and their checks type/docs Type docs: a change to the documents

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant