Skip to main content

Command menu

Jump to a page or search the catalog

AI Tools & Scripts

Triage Noisy Grafana / Prometheus Alerts for Trading Ops

Work out why alerts keep arriving in a team chat: map chat topic to sender, rebuild alert history, replay Alertmanager grouping to count real messages, and decide real outage versus rule or metric bug.

$7.00

What you get: 1 file · 15.68 KB · ZIP

See purchase options

Product description

Alert fatigue on a trading fleet usually has a boring cause: a rule that counts successes as failures, a lifetime counter compared with zero, a metric that exists in one service and not another. This skill gives an agent a server-side method to find which, instead of guessing from the chat text.

What is inside: - SKILL.md - the triage loop: identify who sends each message (map chat topics to senders), rebuild the alert history, replay Alertmanager grouping to count how many messages each alert really produced, then verify rule to series to producer to code, and report real-versus-false with evidence. - references/alert-failure-patterns.md - recurring bug classes: package-global metric observers in multi-module processes, lifetime counters compared with greater-than-zero, registries that never shrink, label-vocabulary divergence between sibling services, a corrected expression that silently deletes the alert, no-reconnect-by-design clients, operator restarts that look like incidents. - references/findings-audit.md - how to bucket findings from a noisy validator stream into spam versus fix. - scripts/pull_alert_history.sh, prom_query.sh, grafana_alert_timeline.py, am_sim.py - history pull, instant and range queries, per-rule state timelines, and an Alertmanager grouping simulator.

For SREs and solo operators. Needs Python 3, bash, curl and read access to your monitoring stack. Also part of the Crypto Trading Ops Playbooks pack at a lower per-skill price.

Example request

People keep complaining about the same alert, 'order feed stalled', in our ops chat. Find out who sends it and whether it is a real outage or a bad rule.

Example result

Example on a fictional stack (Grafana with Alertmanager, one chat forum with topics). Following ops-alert-triage the agent first mapped the topic the complaints came from to its sender: Grafana's errors contact point, not the separate validator bot. It pulled 7 days of alert history for the rule with grafana_alert_timeline.py and replayed the grouping with am_sim.py: the rule fired 41 times but Alertmanager grouping by alertname collapsed these into 9 messages, so the volume people see is 9, not 41.

Then rule to series to producer to code. The expression read orders_seen_total increase over 10m at zero with one series per module. Raw counters showed one module's value frozen at its boot value while the sibling's rate was a whole multiple of a single loop's: the known pattern of a package-global metric observer in a multi-module process, so the alert is false for one account and blind for the other. Process restart count and log lines showed no real stall.

Verdict: rule or metric bug, not an outage. It proposed fixing the observer to be per-module and gave an interim rule with a per-module label, and noted which findings were not verified because the code checkout was not on the host.

Requirements

  • Access to your Grafana, Prometheus and Alertmanager endpoints (or SSH to the monitoring host)
  • Python 3 (standard library only), bash and curl
  • Admin or viewer token for Grafana

How to install

Unzip into your Claude Code skills folder (~/.claude/skills/ or .claude/skills/ in a project) and start a new session; the skill loads by its description.

What you get

1 file · 15.68 KB

  • ops-alert-triage.zipZIP · 15.68 KB
LicenseCommercial use allowed
Package checkPassed

Getly opened the uploaded files and found nothing that would stop them opening. It is not a virus scan or a quality rating.

PublishedDec 3, 2026
File size15.68 KB
File formatZIP
Versionv1.0

Tags

claude codeclaude skillai agenttrading botprometheusgrafana
C
Claude Workflow Lab

Frequently asked questions

Do I get access instantly?

Yes. This is a digital product - you can download it right after checkout, straight from your library.

Can I use it for commercial projects?

Yes. Commercial use is allowed: use it in your own business and in things you sell. You may not resell or redistribute the file itself.

What's your refund policy?

You can request a refund within 30 days. If something isn't right, request it from your order and the Getly team reviews it.

What file formats and sizes will I get?

You'll download 1 file - ZIP - 15.68 KB in total.

Do I get free updates?

Yes - when the seller ships a new version, you can re-download the latest files from your library at no extra cost. Check the changelog for recent updates.

Price

$7.00