Repository navigation
docs(openspec): plan #3485 Alert on Ollama tier evictions with a Loki rule - #3951
Merged
Merged
Conversation
dan-petty
force-pushed
the
fix/3485-the-coder-tier-serves-no-second
branch
from
November 7, 2026 12:43
b3d4b05 to
7c2923c
Compare
dan-petty
marked this pull request as ready for review
November 7, 2026 13:18
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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/