Skip to content

scripts/debug: add kurtosis alerts script and skill#4420

Open
pinebit wants to merge 1 commit intomainfrom
pinebit/kurtosis-alerts
Open

scripts/debug: add kurtosis alerts script and skill#4420
pinebit wants to merge 1 commit intomainfrom
pinebit/kurtosis-alerts

Conversation

@pinebit
Copy link
Copy Markdown
Collaborator

@pinebit pinebit commented Mar 27, 2026

Summary

  • Add scripts/debug/kurtosis_alerts.py — standalone script to fetch Grafana alert history for the "Charon Kurtosis Alerts" folder in a given time range
  • Add .claude/skills/kurtosis-alerts/SKILL.md — Claude Code skill that wraps the script, accepts human-friendly time ranges (e.g. "last 30 minutes"), and produces a formatted report grouped by cluster

Sample usage:

❯ /kurtosis-alerts last 10 minutes

⏺ === Kurtosis Alert Report ===
  Time range:  2026-03-27T11:39:13Z to 2026-03-27T11:49:13Z
  Total alerts: 4 transitions (2 unique)
  Clusters:     1

  === Observed Clusters ===
  - kurtosis-lighthouse-lodestar (hash: b043b9d)

  --- kurtosis-lighthouse-lodestar (hash: b043b9d) ---

    11:45:10 UTC  [Normal -> Pending]    Cluster Failed Proposal  (x2)
    11:46:10 UTC  [Pending -> Alerting]  Cluster Failed Proposal  (x2)

  === Alerts Still Firing ===
  - kurtosis-lighthouse-lodestar: Cluster Failed Proposal (since 11:46:10 UTC)

  Summary

  - 1 cluster observed: kurtosis-lighthouse-lodestar
  - The Cluster Failed Proposal alert transitioned from Normal -> Pending -> Alerting within ~1 minute
  - The alert is still firing -- the cluster is currently failing block proposals
  - The "Charon Node is Dead" rule was checked but had no transitions in this window, meaning all nodes are alive
  - Each transition appeared twice (duplicate entries), likely from two matching series in the alert rule

category: feature
ticket: none

@sonarqubecloud
Copy link
Copy Markdown

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 56.39%. Comparing base (c6c10cd) to head (760d2f6).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4420   +/-   ##
=======================================
  Coverage   56.38%   56.39%           
=======================================
  Files         244      244           
  Lines       32518    32518           
=======================================
+ Hits        18336    18338    +2     
- Misses      11838    11840    +2     
+ Partials     2344     2340    -4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant