惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

人人都是产品经理
人人都是产品经理
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
月光博客
月光博客
雷峰网
雷峰网
Google DeepMind News
Google DeepMind News
Y
Y Combinator Blog
Microsoft Security Blog
Microsoft Security Blog
M
MIT News - Artificial intelligence
WordPress大学
WordPress大学
MongoDB | Blog
MongoDB | Blog
V
V2EX
博客园 - 【当耐特】
GbyAI
GbyAI
Stack Overflow Blog
Stack Overflow Blog
I
InfoQ
Martin Fowler
Martin Fowler
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Hugging Face - Blog
Hugging Face - Blog
B
Blog
V
Visual Studio Blog
D
DataBreaches.Net
C
Check Point Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
F
Fortinet All Blogs

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Hermes-Memory-Installer: SLO Rollup and Grafana Dashboard
Manoir Yantai · 2026-06-27 · via DEV Community

Manoir Yantai

The latest hermes-memory-installer update brings a focused capability for teams already running memory-critical workloads: native SLO rollup and an accompanying Grafana dashboard. This isn’t about generic monitoring—it’s about moving from raw metrics to actionable compliance data, directly from the installer’s resource management layer. The feature targets engineers who need to track memory SLIs, define SLOs, and react to burn rates without cobbling together custom PromQL rules and dashboard panels.

The core addition is slo.rollup, a sub-system that precomputes key SLO metrics from memory usage, latency, and error signals exposed by the Hermes runtime. Instead of polling raw time series for every dashboard load, the rollup aggregates into compliance windows (7d, 30d, custom) and stores the results in a dedicated Prometheus SLO metric namespace. This drastically reduces query overhead for both dashboards and alerting pipelines.

Under the hood, the rollup uses Prometheus recording rules defined in a configuration file auto-deployed by the installer. Each SLO window creates a recording rule that calculates the ratio of good events (e.g., successful memory allocation under 100ms) over total events. For instance, a 30-day SLO for p99 latency is computed as:

- record: hermes:slo:memory_latency_sli_30d
  expr: |
    sum(rate(hermes_memory_request_duration_seconds_bucket{le="0.1"}[30d]))
    / 
    sum(rate(hermes_memory_request_duration_seconds_count[30d]))

This gives a direct SLI value for the SLO target. The installer also exposes the error budget (1 - SLI) for real-time burn tracking. All rollup metrics are labeled with slo_name and slo_window to simplify dashboard queries.

On the visualization side, the installer ships a hermes-memory-slo-dashboard.json that targets Grafana 10.x. It includes three core panels:

  • SLO Compliance Over Time: A time series comparing weekly SLI against the SLO target line. Rolling windows update automatically based on the stored rollup data.
  • Error Budget Consumption: A gauge showing remaining budget percentage, with thresholds for warning (50% left) and critical (10% left). This uses the hermes:slo:error_budget metric.
  • Burn Rate Heatmap: A table showing short-term (1h) vs. long-term (24h) burn rates, helping you detect rapid consumption before a breach.

The dashboard is designed for “import and run”. Once the installer is configured and running, import the JSON via Grafana’s UI or API. No additional data source plugins are required—it assumes a single Prometheus data source named Prometheus.

To enable the rollup, set slo.rollup.enabled: true in the installer’s config. Optionally, define custom SLO windows under slo.rollup.windows. The installer will then deploy the recording rules and the dashboard file to a designated directory (/etc/hermes/slo/ by default). Alerting is left to external tools, but the hermes:slo:error_budget metric can be used in Prometheus alert rules immediately.

This feature is opinionated: it works best if your memory SLIs follow the standard format of ratio of successful events to total events over a window. If your SLIs are non-binary (e.g., value aggregates), you can still use the rollup but need to adapt the recording rules manually. The pre-deployed rules target the common hermes_memory_* metrics emitted by the Hermes core, but the config file documents how to override them.

For teams that previously maintained ad-hoc dashboards and PromQL snippets for memory SLOs, this update cuts that effort to nearly zero. The rollup reduces Prometheus query time for SLO panels by an order of magnitude, and the dashboard provides enough context to detect budget depletion early. It’s a direct addition to the installer’s resource management pipeline—no extra agents or sidecars needed.

The implementation is deliberately minimal. There are no soft-errors or missing data fill strategies in the rollup; if a window has fewer than 1% of expected data points, the SLI is marked as null. The dashboard handles this with null as zero for gauges, but for time series, missing points are hidden. This means you should ensure your Hermes metrics are complete, or adjust the recording rules to handle data gaps if needed.

In summary, the slo rollup and grafana dashboard feature is a practical addition for anyone using hermes-memory-installer in a production memory-critical stack. It brings SLO visibility directly into the installer’s lifecycle, reduces the cognitive load of building monitoring from scratch, and enforces a consistent pattern for SLO tracking. Import the dashboard, enable the rollup, and shift from metric hunting to budget management.