QuietOps: Local Gemma Turns 240 Docker Log Lines Into Five Signals
说明与用途
QuietOps 将240行Docker日志压缩为五个症状组和可选AI摘要,阅读项减少97.9 %。
问题
Operators spend the first five minutes of a container incident reading the same error dozens of times.
结果
QuietOps reduces a 240‑line log to five reviewable symptom groups and an optional AI briefing, cutting the number of items to read by 97.9 % (from 240 to 5).
工作流
- Scan the log file for errors and warnings with limits on size and line count.
- Redact common secrets, IP addresses and email addresses; group repetitive messages and assign evidence IDs (E01–E05).
- Send the small set of redacted examples to a loopback‑only Ollama endpoint.
- Request an overview, possible explanations and read‑only follow‑up checks from the local Gemma model.
- Validate the JSON structure and discard notes that reference non‑existent evidence IDs.
- Create Markdown, JSON and a standalone HTML handoff.
证据
QuietOps is a local‑first Python CLI that turns a bounded Docker/Linux log file into grouped symptoms and a cautious briefing generated by Gemma 3 1B running locally through Ollama.
The workflow is intentionally simple: 1) Scan the file for errors and warnings, 2) Remove common secrets, 3) Send only a small set of redacted examples to a loopback‑only Ollama endpoint, 4) Ask the local model for an overview, 5) Validate the JSON structure, 6) Create Markdown, JSON and a standalone HTML handoff.
It would take an operator study to claim a productivity gain.
The project uses only Python’s standard library, and keeps Ollama as a separately installed local inference server.
- 记录日期: 2026-10-20T03:41:26.136Z