
Claude Learns to Debug the Omni Logs
Mostly internal facing workflow for how we can debug issues with Omni from the logs using Claude.
Transcript
This transcript is auto-generated. Names and product terms may be wrong.
This is a kind of quick one, a little bit of a PSA. I have spent a lot of time recently digging into customer issues or sort of audit logs or whatever and one of the things that Chris actually built too long ago was a skill for quad mostly also this is mostly internal but that's really matter. Um that sort of allows us to use quad code to go and traverse the the sort of production logs um and I was trying to use it and was running into problems because I didn't have the same permissions that Chris had and things along those lines and I made some tweaks.
Kaylin has also made some tweaks recently. I made some more tweaks that just sort of allow us to use the skill to um do let quad go go a little bit wild in our logs. It has some limitations so that it doesn't go and you know, rack up a huge bill but the idea being I here I'll show what what I did.
Um this morning I saw that there was some alerting from 500 exception coming from the remix layer this morning. I'll make this a little bigger. And I basically gave it some basic information. I also told it to try not to reveal anyone's identity here. But so the first thing it did is it you know, as as the skill says like go make sure that He's staring.
Um no. Here. Um It's not very interesting here but I basically some text that basically says hey let's go make sure that the AWS credentials are active and then go search. It goes and finds that my credentials are okay. It starts to search. It finds a bunch of errors. It actually spent a bunch of time timing out for some reason.
I think the AWS API was really slow for me. Um but it issued a couple queries. It says I found a clear picture. Here's a summary. It sort of walks through that like here's an org. Hopefully it didn't reveal anyone's identity here. It said of what endpoint was failing, kind of a quick idea of the root cause, and then a couple others that it ran into.
And all of these are sort of like potential things that we're going to fail anyway, but they blew up a little bit louder than we wanted them to. Especially these ones down here. Um maybe we've got a tie knot going on that's interesting. Um then it says, you know, it asked me to go and review what it came up with and I basically said, you know, to ask for some clarity and then I was able to, you know, search through our code to figure out what was going on.
Finally, sort of let it continue. I didn't I haven't looked at what it actually came up with yet. But the idea being like you can kind of have a guided conversation with Claude and have it without having to prompt you every every time it wants to do anything, go do some query analysis or some log analysis. I've also expanded it to do sandbox logs and and Kaylin added uh pre-prod logs you can hit demo and sandbox as well.
Um and one of the things that I may try to do next is to make it so that it doesn't require like the developer permissions so that sort of folks in the support team could theoretically use something like this. I'll have to go talk to them and see what they actually have. But the idea being like, yeah, especially when you're trying to figure out what happened and something is actively having problems, can sort of kick this off on the side and use it to go figure out what happened.
I used that Monday. Something's going wrong. Um I was looking at other things, but I let it go and figure some stuff out. And it pointed me in the right direction, which helped me kind of narrow down what was going wrong real quicker. So, powerful. Hopefully people find it useful.