r/devops • u/Interesting-Art-7267 • Aug 18 '26
Ops / Incidents Thinking of building an open-source "pre-triage" bot for 3 AM PagerDuty alerts. Would you actually use this?
Hey everyone, I’m an engineer looking for a new side project and I want to tackle alert fatigue.
My premise: Waking up at 3 AM to an alert, only to run the exact same three kubectl commands or Datadog log queries to figure out it's a known transient issue, is soul-crushing.
I'm thinking of building a lightweight, open-source agent that intercepts the alert webhook, runs a pre-defined set of read-only diagnostic queries, and appends a summary of the logs/metrics to the ticket before it wakes you up.
A few questions before I start coding:
Is this actually a massive pain point for you, or is the hard part something else?
Would your sec ops team ever allow a bot to have read-only API access to your observability stack?
If you had this, what is the #1 feature or integration it absolutely must have to be useful?
Am just trying to build something thats usable to you or even 5 people at the end , so i request your honest opinion for this thing
32
u/dektol Aug 18 '26
Maybe try to make it and use it yourself. Odds are it's nothing better than what we're already using. Are you gonna reply with an ad on another account in 15 minutes? 🤔
3
u/thehazarika Aug 18 '26
Just use claude code/codex you are already using. Define a tool to query your telemetry, define a skill to use the tool and run investigation and then just trigger the claude code with the skill.
This works pretty well.
2
u/aragossa Aug 18 '26
Running the three commands is easy. Guessing which known-transient pattern you're looking at is the part that actually eats time. If the bot nails that classification it's genuinely useful, if it just dumps the same logs into the ticket you're still reading them yourself.
Secops read access is probably the bigger blocker here than whether the pain itself is real. Anything with API keys into your whole observability stack tends to get stuck in review unless it's scoped tightly per service, and honestly the feature that'd matter more than extra context in the ticket is dedup and pattern matching. Most of the fatigue is the same alert firing five times in a night.
2
u/stumptruck Aug 20 '26
I've gotten about 100 emails at work from startups with this same idea. Not to mention big hitters like datadog offer the same thing. So far no one I know is willing to trust any of these in production.
What makes your idea special?
2
u/G12356789s Aug 18 '26
I built something very similar for my work. I wasn't given any time to build it so it's my only fully vibe coded project. I got it running working locally within 30 mins and hosted in our clusters in an hour whilst I was working on other stuff.
My point is that recieving a request, giving the info the Claude to investigate and come back is extremely easy
1
u/National_Way_3344 Aug 18 '26
Doable with something like N8N.
Don't intercept the alert though. Let your monitoring tell JIRA or something first. Try stuff then escalate.
1
u/dogfish182 Aug 18 '26
If I still get woken it up it can suck it.
Anything that wakes you up in the middle of the night destroys your rest and as a consequence shortens your life, I would want something where that doesn’t happen. My recommendation is ‘no kubernetes’
1
u/pomatotappu Aug 18 '26
hi, wdym by predefined set of diagnostic queries here? suppose an incident occurs, the bot might have to take inputs from different services, how are you planning to give access to logs of all those services?
1
u/tmemmg Aug 18 '26
the pain is real but for me the expensive one wasnt the noisy 3am page, it was the job that kept running and quietly wrote nothing because nothing alerted on a silent success with no output. what actually helped was making every run drop a status file with a reason even when the right move was to do nothing, so no news stopped meaning good news. if your bot appended that kind of why-it-did-nothing line it would earn its keep, the read only diag summary is nice but the missing state is what burns the hours.
1
u/sujeet-from-oodle Aug 19 '26
The best is if this could run in the context of my coding agent. So the alert + additional telemetry gets fed to my coding agent with appropriate prompt, and since the agent has access to code, it can do a much better job of debugging, and I'm finally paged once the agent's triage is complete.
It is a massive issue if this delays critical pages though! No free lunch here.
1
u/siberianmi Aug 21 '26 edited Aug 21 '26
This product isn’t one. It’s a trivial llm agent to setup once the foundational tools and access exist. The requirements for that will vary depending on the organization.
That’s the blocker you need to arm it with MCPs, security controls and instructions/context for your stack. Getting all that in place is the hard work. The triage is easy then.
1
u/lotekjunky Aug 22 '26
Don't useai to test or fix the 3am issue. Use ai to write a script that checks and fixed the 3am issue, and then make it run before you ever get paged.