# Honest Uptime / SLA Rows from Prometheus

> How to put a service, process-manager app or host on a Prometheus-backed uptime page without lying: scrape target, liveness query rules, alert-history episodes, and the pitfalls that distort the percentage.

Honest Uptime / SLA Rows from Prometheus is a paid AI agent skill on Agensi by Claude Workflow Lab, in DevOps & Cloud. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $5 (one-time purchase)
- Creator: [Claude Workflow Lab](https://www.agensi.io/creators/creator-1578)
- Category: [DevOps & Cloud](https://www.agensi.io/skills/devops-cloud)
- Version: 1.0.0
- Last updated: 2026-12-03
- Security: scan passed (2026-12-03); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/honest-uptime-sla-rows-from-prometheus
- Tags: devops, project-management, sla, uptime, prometheus, grafana, blackbox, monitoring

## What it does

- Adds new services to your uptime and status dashboards
- Fixes broken uptime percentages that show a healthy service as down
- Configures alerts for website outages and expiring security certificates
- Cleans up stuck alerts that stay active after a rule is deleted
- Prevents notification failures caused by special characters in alert messages

## Who it's for

- **Founders of trading or fintech startups:** Keep your status page honest so users trust your platform during market moves. Try: "Show me how to add our new trading API to our uptime dashboard."
- **Server and monitoring managers:** Fix broken uptime numbers that show a service is down when it is actually fine. Try: "A service is healthy but the SLA page shows 2 percent uptime. How do I fix the query?"
- **Shop owners with public websites:** Set up alerts that text you if your site goes down or your security certificate is expiring. Try: "Add a check for my online store and alert me if it stops loading."

## About this skill

An uptime number is only useful if it is honest. A healthy service showing 2 percent, or an alert stuck "ongoing" after its rule was deleted, makes people stop trusting the page. This skill is a focused playbook for adding coverage correctly and for diagnosing a number that looks wrong.

What is inside:
- **SKILL.md** - a single self-contained guide: how to add the scrape target (including a blackbox probe for a public website and a site-down alert), how to write the liveness expression (up-based rules, per-host filters, series that vanish when a process is down), how to derive uptime from alert history episodes, and how to check each row against what really happened. It lists the pitfalls that distort the number: series born on first event, labels that differ between hosts, retention windows shorter than the SLA window, deleted rules leaving ongoing episodes, and rows that are fine in the instant query but wrong over time.
- An "Adapt to your setup" section for job names, label names and your uptime page's query format.

For anyone running a small trading or service fleet who maintains an SLA tab or status dashboard backed by Prometheus. It needs only a Prometheus you can edit and basic shell tools; it does not require any other skill. Also part of the Crypto Trading Ops Playbooks pack at a lower per-skill price.

## Requires

- A Prometheus (and optionally Grafana) setup you control
- bash and curl
- Git

Access to edit scrape configs and alert rules. Access to edit scrape configs and alert rules. Access to edit scrape configs and alert rules.

## Known limitations

You must have an existing Prometheus and Grafana setup that your backend can talk to. Some changes may require you to restart your containers to take effect.

## Technical details

Built for Prometheus-backed SLA systems using PromQL. Reads from Grafana state-history annotations and live rule lists via Viewer service-account tokens. Handles scrape target configuration, liveness query logic including last_over_time fallbacks, and alert mapping to notification policies. Requires .env configuration for Prometheus and Grafana URLs.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Honest Uptime / SLA Rows from Prometheus skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### What kind of problems does this skill fix on my status page?

This skill helps you fix monitoring dashboards that show incorrect data, such as a service showing as down when it is actually working. It guides your agent through adding new services to your tracking list and fixing alert errors that cause your phone to miss important notifications.

### What do I need to have ready before I use this skill?

You need an existing monitoring setup using Prometheus and Grafana. You will also need to provide your AI agent with your Prometheus web address, a Grafana viewer token, and access to your service configuration files.

### What is the actual result I get after the agent finishes?

You receive a correctly configured monitoring row and alert rule for your dashboard. The skill ensures your uptime numbers are honest by accounting for specific issues like missing data or monitors that have been moved to different servers.

### Are there any specific things this skill cannot fix?

This skill covers service monitoring and alerts but it does not fix the actual code of your apps. It also flags that certain chat alerts can fail if your message summaries contain special characters like brackets or ampersands.

### How should I tell my AI agent to start using this skill?

You can tell your agent which specific website or service you want to start tracking on your dashboard. You can also ask it to fix a specific row that is showing a low uptime percentage even though the service is healthy.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
