Honest Uptime / SLA Rows from Prometheus

    by Claude Workflow Lab

    1

    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.

    $5

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    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 asking: “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 asking: “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 asking: “Add a check for my online store and alert me if it stops loading.”

    Honest Uptime / SLA Rows from Prometheus

    Example session with this skill installed

    A service shows as not monitored on our SLA tab, and another row says 2 percent although the service is fine. Fix both and keep the numbers honest.

    • Read your context and instructions
    • Compiled the honest uptime sla

    Example on a fictional setup (job names app-metrics and web-probe, uptime page reading Prometheus). Following sla-coverage the agent started with the row that is not monitored: no scrape target existed for the service, so it added a job with the right labels and checked on the targets endpoint that the state is up before touching the page.

    For the 2 percent row it compared the liveness expression with the data. The rule used up{job="app-metrics"} with no host filter, so a second host that was decommissioned months ago contributed permanent zeros. It rewrote the expression with a per-host filter and, because the series for a stopped process vanishes instead of going to zero, wrapped it so missing counts as down only while the host itself is expected to run. Result over 30 days: 99.4 percent, matching the process manager's restart history (two planned restarts).

    It also found an alert shown as ongoing after its rule was deleted and cleared it from the history source instead of editing the rule. Each change came with the query used to check it, and the agent noted the retention window (15 days) limits any 30-day figure.

    Connects securely to your tools. The creator never sees your data.

    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.

    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.

    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

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 1 day ago

    Software
    A Prometheus (and optionally Grafana) setup you controlbash and curlGit

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

    Permissions

    Terminal / Shell
    Network Access
    Write Files
    Read Files
    Listed1 day ago

    What's inside

    Frequently Asked Questions

    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.

    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.

    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.

    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.

    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.

    New in DevOps & Cloud

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for DevOps & Cloud.