Latest / Ship It Weekly - DevOps, SRE, Platform and Cloud Engineering News / Ship It Conversations: Mat Ryer of Grafana Labs on AI Observability, Agents, Evals, and Operating AI in Production
Transcript
- 0:00AI demos are easy. That is kind of the problem.
- 0:03You can wire an LLM into a tool, give it a few
- 0:07prompts, let it call an API, and suddenly it
- 0:11looks like magic. It writes queries, it explains
- 0:15dashboards, it investigates issues. It might
- 0:19even suggest a fix. And in a demo, that feels
- 0:23great. But production does not care about demos.
- 0:27Production cares if the answer was right. If the
- 0:31agent used the right tool. If it leaked data. If
- 0:35it got confused by logs. If it made things worse
- 0:38after a deploy. If the cost graph quietly turned
- 0:42into a crime scene. And that is where this gets
- 0:45interesting because the hard part is not proving
- 0:48AI can do something impressive in a controlled
- 0:51demo. The hard part is figuring out what happens
- 0:54after people start depending on it. When it is
- 0:58connected to real tools, real telemetry, real
- 1:02production systems, real costs, real failure
- 1:05modes, at that point, AI is not just a feature
- 1:09anymore. It is another thing you have to operate.
- 1:13I'm Brian Teller from Teller's Tech, and this
- 1:16is Ship It Weekly. Welcome back to Ship It Weekly,
- 1:37where I filter the noise and focus on what actually
- 1:40matters when you are the one running infrastructure
- 1:42and owning reliability. Most weeks, it's a quick
- 1:46DevOps, SRE, platform, cloud, and security news
- 1:50recap. In between those, I do conversation episodes
- 1:54with people building and operating the systems we
- 1:57all end up depending on. Today, I'm joined by
- 2:00Mat Ryer from Grafana Labs. Mat is Senior
- 2:03Director of AI at Grafana, a longtime Go developer,
- 2:07author, open source contributor, and podcast
- 2:10host. And in this episode, we talk about what
- 2:14happens when AI moves out of the demo booth and
- 2:18into production. We get into Grafana Assistant,
- 2:21AI observability, evals, LLM-as-judge patterns,
- 2:26telemetry cost, OpenTelemetry, agent guardrails
- 2:30and why a chat interface is not enough if the
- 2:34system underneath is making decisions people
- 2:37need to trust one of the threads i liked most
- 2:40in this conversation is Mat's point that AI
- 2:43gives us a new primitive that sounds big and
- 2:47abstract but his example is pretty simple a conversation
- 2:51plus a loop suddenly becomes an agent Or as Mat
- 2:56put it, for loops are back. But once people rely
- 2:59on that agent, the problem changes. Now you need
- 3:03to know whether it helped, whether it answered
- 3:06the question, whether it picked the right tools,
- 3:09whether a prompt change improved one workflow
- 3:12while breaking another, whether your AI feature
- 3:16is actually observable enough to operate like
- 3:20the rest of your production stack. We also talk
- 3:23about why AI observability is not just latency,
- 3:27logs, and HTTP 200s. Those still matter, obviously.
- 3:32But now you also care about behavior, cost, tool
- 3:37selection, user feedback, eval results, model
- 3:42versions, prompt changes, and whether the agent
- 3:45is producing something useful. or just confidently
- 3:48wandering around your telemetry matt also gets
- 3:52into UX which i think is more important here
- 3:55than people give it credit for because if the
- 3:58AI gives you a wall of text you still have to
- 4:01trust that text but if it can show you the graph
- 4:04deep link you into the right Grafana view apply
- 4:08the filters and let you inspect the source data
- 4:12yourself that is a very different experience
- 4:15and near the end We talk about where AI can actually
- 4:20help operations teams today, not some giant six
- 4:23-month AI transformation project. More like pick
- 4:27something small. Use it to enhance the workflows
- 4:30you already have. Let it write the query. Let
- 4:33it help with the first pass. Let it automate
- 4:36the boring parts, but build the guardrails and
- 4:40feedback loops around it, which honestly fits
- 4:43the name of the show pretty well. Ship something
- 4:46small. learn from it, then ship again. All right,
- 4:50let's jump in. Today, I'm joined by Mat Ryer
- 5:00from Grafana Labs. Mat is a senior director
- 5:03of AI at Grafana, where he's focused on how AI
- 5:06fits into observability and production systems.
- 5:10He's also a longtime Go developer, author, open
- 5:13source contributor, and podcast host. And we're
- 5:17talking about what happens when AI moves from
- 5:19demos into production, why observability for
- 5:23AI systems is not the same as basic service monitoring,
- 5:27and what teams should be thinking about as telemetry
- 5:30volume, cost, and operational complexity keep
- 5:33climbing. Mat, thank you for joining me. Thank
- 5:36you, Brian. Pleasure to be here. So starting
- 5:39out, I'm curious, as AI systems move from experiments
- 5:43into production, What are teams underestimating?
- 5:48Yes. Well, first of all, I think it's very exciting,
- 5:52this whole space. And I think that's where I
- 5:55always start with this. We have a new primitive
- 5:59now. We have a new capability, something that
- 6:02we couldn't do before. And that, I think, is
- 6:05just a very exciting thing. There are concerns
- 6:08with AI and valid concerns. alongside them are
- 6:13i think is the fact that we are now in a new
- 6:16world and this is a very exciting thing you see
- 6:19people making little agents to solve all kinds
- 6:23of little problems we see people building big
- 6:26agents and big complex ones as we are doing as
- 6:28well at Grafana Labs to solve more complex and
- 6:31deeper problems and just now like having a a
- 6:35new primitive like a conversation Being able
- 6:38to now, even just putting that in a loop, by
- 6:41the way, which was when things became agentic.
- 6:43That's just a for loop. That's just like, oh,
- 6:46for loops are back. They're so back. They're
- 6:49cool again. And I think agents are just amazing.
- 6:54Just a simple primitive put together with something
- 6:56that we're already very familiar with can produce
- 6:58something new. So we're still in that phase.
- 7:01And I love to see all the little things that
- 7:04people are building. At some point you do end
- 7:08up with, like we have a product in production,
- 7:11Grafana Assistant, and people are relying on
- 7:15it. They're using it as part of their day-to
- 7:16-day. Some people have leaned very much so into
- 7:19it and it's really unlocked them for all the
- 7:22observability stuff they're trying to do. So
- 7:24now suddenly we can't just vibe it. We can't
- 7:27just feel it out. We've got to grow up and make
- 7:29sure that this is going to work for them. And
- 7:32I think people underestimate how hard that is.
- 7:35It is quite easy to wire up an LLM to anything,
- 7:39do a few simple tools, and suddenly you unlock
- 7:45this new capability. But how do you really know
- 7:48that's good? How do you know when you change
- 7:50it, you aren't making it worse in some other
- 7:52place? You know, we used to have unit tests,
- 7:54test suites protecting us from all this. We didn't
- 7:58really have that now. So how do we make sure?
- 8:01when we make changes to it it is getting better
- 8:04and how do we make sure it's even like correct
- 8:06in the first place you know it demos very well
- 8:10like you say we've kind of i think checked off
- 8:13that from the mission like has to demo well for
- 8:16people to care to it demos pretty well uh but
- 8:21beyond the demo yeah how do you how do you make
- 8:24sure it does that and we we have we had to solve
- 8:26this problem in assistant which we built our
- 8:28Grafana Assistant we launched that I think it
- 8:31was last year now. And yeah, we've had to solve
- 8:35that problem. So at a high level, how do you
- 8:39start with that problem statement? How do you,
- 8:41do you build special testing around that? How
- 8:45do you actually solve that? Yeah, so I'd say,
- 8:48right in the beginning, I think people still
- 8:51vibe testing, manual testing, I still think is
- 8:55the thing to do in the beginning. Because it's
- 8:57the really when you're just feeling it out, you
- 8:58need to know. Is this even possible? Is this
- 9:01feasible? Does this make sense? And there's so
- 9:05much innovation and there's so much opportunity
- 9:08to learn that actually you still have to have
- 9:11that same attitude of build things and ship it.
- 9:14That's why I came on the Ship It Weekly podcast
- 9:17because it's all about shipping it. So I would
- 9:20say don't wait for there to be good evals. Don't
- 9:23wait for you to have this problem solved before
- 9:25you progress. But it is something to think about
- 9:28in the back. in the background and yeah when
- 9:31when we did assistant we essentially had to build
- 9:33we had lots of different tools of course there's
- 9:36like the normal telemetry that we're very good
- 9:39at Grafana Labs metrics for measuring latencies
- 9:42and things like this and we even have metrics
- 9:45for costs measuring the the cost of different
- 9:48operations and things uh logs of course kind
- 9:52of makes sense i think tracing becomes more interesting
- 9:55now because you could think of a conversation
- 9:57really as a as a sort of trace you could imagine
- 10:00it in that you know in that model um and and
- 10:05i think so so you get a lot already just of the
- 10:08basics but there are new things you care about
- 10:10suddenly uh you know it's not just getting a
- 10:13200 back from an LLM but now how do we how do
- 10:17we make sure that the content the the way it
- 10:20behaved the tools it chose to use how do we make
- 10:23sure that stuff is right and we did it um partly
- 10:28By vibing tools internally, literally we'd have
- 10:32like, we've got a handful of them and various
- 10:36dashboards and things and different databases
- 10:40and different ways of storing things, you know,
- 10:42just trying to sort of cobble together the solution
- 10:44of this. And again, I think that was the right
- 10:46approach in the beginning because it's a playground
- 10:49where we can experiment and we can try things.
- 10:52We can solve problems without having to think
- 10:55about solving the entire problem. of this we
- 10:58can just pick one piece of it and just solve
- 11:00it with a standalone thing so there's a lot of
- 11:02freedom in that and i think the culture that
- 11:04we had in the engineering team when we're building
- 11:06this played a lot into that because yeah we had
- 11:09to make sure that people could try things just
- 11:12solve that particular problem not go for months
- 11:15and have big design sessions and just do this
- 11:18enormous project to try and solve the whole thing
- 11:22After we'd done all that, of course, you then
- 11:24end up in a situation where you do have quite
- 11:26a complex little set of internal tools that are
- 11:29all slightly overlapping and doing things in
- 11:32different ways. They don't all agree with each
- 11:34other. Some of them are agentic themselves. So
- 11:37that's even more getting like Inception, where
- 11:39the agents are monitoring the agents to make
- 11:43sure that they're behaving properly. And so then
- 11:46we were able to take all that learning and put
- 11:49that together into our AI observability product,
- 11:52which is a new feature that we have in Grafana
- 11:55Cloud. And that's our answer to this. And we
- 12:00think we've picked the most important things
- 12:03that people should care about and built that
- 12:04into the product. And you can see we're different
- 12:07to some kind of competitive products. We're different
- 12:10in some interesting ways because I think some
- 12:12of them were imagined. Whereas we built ours
- 12:16from the real day-to-day of actually operating
- 12:18the assistant at scale. Yeah, very cool. What
- 12:23does production level observability for AI actually
- 12:26look like? Well, you do need evals. You need
- 12:31to be able to test whether what's actually being
- 12:35asked for is being answered. And we have a...
- 12:38We have a technique inside where we actually
- 12:41have an LLM as a judge looking at a conversation.
- 12:44And you can just do this. You can try this. It
- 12:46works. Just ask it, did you answer the user's
- 12:48request? Because you can see their first message.
- 12:50You can see the path you went on and where you
- 12:53ended up. Did you answer it? Did the user have
- 12:55to intervene in any way? Were you ambiguous?
- 12:59You can kind of ask it these things in, and you're
- 13:02dealing with natural language now. So it's like
- 13:04you write these tests also in natural language.
- 13:08And then we can measure that. We can start to
- 13:11measure and start to put some data and some science
- 13:13behind the behavior of agents. So evals, I think,
- 13:18are going to be increasingly more and more and
- 13:21more important. We want these AIs, we want these
- 13:25technologies to be trusted and to be used. Some
- 13:28people write them off just because they know
- 13:31that they can be wrong. So they can't trust it,
- 13:33and so therefore they're not going to use it
- 13:35at all. I don't think that's the right attitude,
- 13:37personally. You know, the internet, the network
- 13:40connections aren't reliable. They error all the
- 13:43time. And we kind of paper over those errors
- 13:45so you don't really notice it. Same kind of thing
- 13:48with AI. We have these non-deterministic systems.
- 13:52In some ways, when it comes to doing investigations
- 13:55and things, for like digging around your telemetry,
- 13:58that can actually be turned into an asset where...
- 14:01The fact that multiple agents take random routes
- 14:04through things can actually be good. That's what
- 14:08humans might do if they all take a different
- 14:10approach. But then you've got an even bigger
- 14:12observability problem because now this one thing,
- 14:16suddenly it's multiple conversations with models,
- 14:19not even the same model, multiple models often,
- 14:22certainly different system prompts, different
- 14:24sets of tools. All this complexity now is kind
- 14:28of a big... mess that you have to deal with and
- 14:32we think yeah simple observability simple uh
- 14:35and new signals as well as part of this is the
- 14:38solution to so that you can just answer those
- 14:40questions and make sure that your agents are
- 14:43on the right track so kind of following up with
- 14:45that a lot of teams instrumented everything then
- 14:48they realized they were drowning in telemetry
- 14:51costs uh what changed yes I think we're going
- 14:56to go through that as well for AI. So I think
- 14:58you're right. People would just monitor everything.
- 15:01It feels really cheap. Like when you're writing
- 15:04something, you just add a counter in code. It
- 15:07feels like the cheapest thing you can do. As
- 15:08soon as you then hit that scale, suddenly you're
- 15:10counting. You're just counting at scale is hard.
- 15:14So, yeah, you kind of create these new kind of
- 15:17problems when you hit scale. The same thing is
- 15:20definitely true for AI. I think a lot of people
- 15:23aren't really monitoring much at the moment.
- 15:27But when they do, and as this increases, we'll
- 15:31have the same kind of problem. And, you know,
- 15:32Grafana Labs has this technology called adaptive
- 15:34telemetry, which is basically what they do is
- 15:37they look at all the telemetry that you've used.
- 15:41They look at all the queries you're making. And
- 15:43then they identify bits where you've never queried
- 15:47this metric. So we're going to automatically
- 15:50sample it down. So we'll just take a sample of
- 15:52it. We won't capture all of it. And, of course,
- 15:56you can tune it and tweak it and things. And
- 15:59this was really an answer to that problem, the
- 16:01fact that people's telemetry was just growing
- 16:04and growing and growing, and not just in the
- 16:08history of it, but even just the now, because
- 16:10people's systems and complexity is going up.
- 16:13So I think that we'll end up with another kind
- 16:15of adaptive telemetry. We have already in our
- 16:17solution sampling, so you can choose how often
- 16:21the evaluators will run on conversations. So
- 16:27we're kind of thinking about that already. And
- 16:28I think this is the advantage of building this
- 16:31solution at Grafana Labs, because we had to solve
- 16:34a lot of the observability problems already.
- 16:37And a lot of the thinking applies directly, which
- 16:39is very cool. We have these drill down apps,
- 16:41which... basically present the data and you can
- 16:45just click and drill into it. That turns out
- 16:48to be good for humans, but actually quite good
- 16:49for agents as well, because it's the same problem.
- 16:51There's just too much stuff there and to look
- 16:55through it all and find it is hard. So how do
- 16:58we, yeah, the fact that we solve that for humans
- 17:01turns out it's quite good to solve for agents.
- 17:04Where does OpenTelemetry fit into this AI observability
- 17:08story? I think it's going to have a... big part
- 17:12of it we actually are talking already with um
- 17:15ted young who was one of the co-founders of
- 17:17OpenTelemetry yeah and we're kind of um i've
- 17:22seen some proposals and i've seen some things
- 17:24where the conversation data gets put into trace
- 17:26data so that they they are stitched together
- 17:29in that way we didn't take that approach because
- 17:32of scale issues um that we saw so we haven't
- 17:36got that approach in our solution but It could
- 17:39well end up being some new standard like that.
- 17:41But I just think with OpenTelemetry, it's going
- 17:44to just take some time. You know, we like to
- 17:46move very fast in the AI department in Grafana
- 17:49Labs and in Grafana Labs in general. In some
- 17:52places, you do have to go slowly. Where you're
- 17:55dealing with standards or foundational things
- 17:58that you really need to get them right, you're
- 18:02going to go a bit slower. So I think it'll take
- 18:04some time. But I do think OpenTelemetry should...
- 18:08embrace this new world and and see which new
- 18:11signals are common enough that we are going to
- 18:14then capture them we got to make those decisions
- 18:17ourselves when we built our solution so of course
- 18:20we capture you know the the basic things you
- 18:23expect metrics for latency and things we add
- 18:26cost into there using metrics and stuff that
- 18:29that's also turns out to be quite complicated
- 18:31to do but very powerful if you have accurate
- 18:34cost data um And with the way that we have labels
- 18:37and things, kind of like the Prometheus model,
- 18:39you can use labels for the different versions
- 18:42of your app or different agent names or something.
- 18:45So now you can compare performance, not just
- 18:48cost and metrics, but the other dimensions as
- 18:51well. And if you've got evals running, you can
- 18:53compare behavior between different models as
- 18:56well. So you can say, version one of our model.
- 18:59Took a long time to answer this kind of question.
- 19:02And it's because we hadn't prompted it much or,
- 19:04you know, we just gave it one tool that it could
- 19:06use. We did some work. We added a couple of tools.
- 19:09We tweaked some prompts and our new version is
- 19:13now much faster. It solves this problem. It's
- 19:16much more accurate. The user's happy. We capture
- 19:18ratings as well of users, you know, thumbs up,
- 19:21thumbs down, as well as comments. All the sort
- 19:24of practical things you need to actually have
- 19:27some kind of feedback loop where you can improve
- 19:29your agents. Is that what you have found to be,
- 19:34I guess, the best feedback loop is like providing
- 19:36like right in the chat, the ability to give feedback
- 19:41immediately like, hey, this was not the right
- 19:44response or hey, this was not detailed enough
- 19:46or it went off on a tangent that was not really
- 19:49related to the question. Or are you feeding that
- 19:53in with other information as well? And then how
- 19:56does that work? Yeah, I think user feedback is
- 20:00the most valuable. And it is nice that you can,
- 20:03even just a thumbs up, thumbs down is enough
- 20:05to give you something to go on. I think actually
- 20:10typing in a comment is even better, right? Because
- 20:14we can genuinely have LLMs consider that commentary
- 20:17and even suggest PRs. into our repo to improve
- 20:22prompts and things like this um so mostly though
- 20:25we don't get uh we don't get as much of that
- 20:28as we would like so we can't rely on that and
- 20:31the other thing is we're very sensitive about
- 20:32learning from people's data without them realizing
- 20:37that's what we're doing so yeah we are we are
- 20:39very um yeah we want to make sure that we are
- 20:42uh not yeah just being very trustworthy basically
- 20:46if we're going to build AI that we expect people
- 20:49to use I think the standards have to be very,
- 20:51very high for things like that. Make sure that
- 20:54your data is protected. It's easier than ever
- 20:57to leak data. We had a case where, luckily it
- 21:02was test data, but we set up a GitHub permission
- 21:06for an MCP server. We didn't realize that you
- 21:09don't need write permission to open an issue
- 21:12in a public repo. So we didn't give it write
- 21:16permission, but still it started to open an issue.
- 21:20it was a test box, so it was no problem. It was putting data that
- 21:23it saw in there into the issues very cool feature
- 21:26of course and extremely useful for like IRM and
- 21:29incident management and things especially useful
- 21:31when it opens a PR for you very nice but we've
- 21:35got to do that carefully and safely and i think
- 21:37knowing that your systems are safe and aren't
- 21:40behaving and that they will react uh properly
- 21:44and appropriately to prompts that are kind of
- 21:48probing and trying to do malicious things. I
- 21:51think that all is a very important part of this
- 21:54that we're still scratching the surface on. Yeah.
- 21:58I think it also kind of highlights the need for
- 22:01guardrails because LLMs are over-eager, right,
- 22:06to solve the problem, get to the root cause and
- 22:10provide a solution. And if it has the means to
- 22:13do that, it will. Yeah. It's true for tools as
- 22:17well. It's true for like, if you give it lots
- 22:20of tools, it's just going to be like a kid in
- 22:22a candy shop. It's going to be so excited to
- 22:24just go and use all the tools. And given that
- 22:27it's non-deterministic, you can easily end up
- 22:29in a situation where it's using quite random
- 22:32tools to try and solve problems. And it's trying
- 22:35to use a hammer to open a door, for example,
- 22:38which I'm not a DIY expert, but I don't think
- 22:40that's how you do that. But yeah, so. So how
- 22:45do you sort of tackle that? I think that's kind
- 22:47of another interesting angle on this. Yeah, so
- 22:51from a guardrails perspective, I'm sure at the
- 22:56IAM level, like you're providing read-write
- 22:58permissions or scoped permissions based on what's
- 23:01needed. But are you doing like pre-prompting
- 23:03as well? Or are you not relying on pre-prompting
- 23:06at all? Because that's just too close to the
- 23:08LLM and, you know, it could be influenced. uh
- 23:13well yeah so we have how do you build that system
- 23:15yeah yeah we've got a few different things one
- 23:19of the so our AI observability solution lets
- 23:22us uh write kind of security type tests and assert
- 23:26them basically on the model on the model so that
- 23:28kind of gets us we can do some kind of testing
- 23:31there just to set test the end point to see what
- 23:33how are you going to behave if a user asks for
- 23:35this um you know it's also dealing with customer
- 23:40data so it's also dealing with data in logs which
- 23:43can just be any text so you have to be careful
- 23:45to make sure that it doesn't just load some logs
- 23:47and think oh i'm just going to execute something
- 23:50in in here um and the real answer in in assistant
- 23:53is we just have lots of different checks and
- 23:56different gates and things happening because
- 23:59there's so much it's a very complex um solution
- 24:02i think it looks simple when you use it and the
- 24:05UX there's another thing i will get to talk about
- 24:07hopefully is the the user experience of this
- 24:09is paramount here more than ever and it's always
- 24:12been important i think in tech but the um you
- 24:16know the fact that you you the fact that you
- 24:20need to uh just just have well the fact that
- 24:25we have this complex system we use multiple models
- 24:28we've got like specialist tools inside assistant
- 24:30all running in Grafana Cloud there's preemptive
- 24:33work that happens around discovering the infrastructure
- 24:36And so we put that into a semantic vector database.
- 24:40So it's the agents have access to kind of learning
- 24:43that it's had before. When incidents and investigations
- 24:47are happening, that also is a great source of
- 24:50information for agents. But again, how do you
- 24:53make sure that's all safe? So I think at any
- 24:55point when you're integrating and bringing some
- 24:57data in, you have that security question of in
- 25:00what ways could this be malicious? What protections
- 25:04can we do here to help and make sure it's not
- 25:09going to be a risky system for people to use?
- 25:13And how have you thought about the UX side of
- 25:17the user experience side of the AI agents? How
- 25:22is that architected or how do you think about
- 25:25providing that experience in a quality environment
- 25:29that is actually useful? Yeah, this is somewhere
- 25:33where I think the team have excelled. And we
- 25:35have heard this feedback. One of the big labs
- 25:38told us that at the time, this was the best looking
- 25:42version of something that they'd seen using their
- 25:45models, which was a big, big compliment, of course.
- 25:48I think the key is we on the team just got really
- 25:52annoyed by walls of text. It was a kind of a
- 25:56byproduct of this is that, you know, the fact
- 25:59that you are dealing in conversation means it's
- 26:02generating text as what kind of how the whole
- 26:04thing works. And it's just so much text. Now,
- 26:08when it comes to trusting LLMs, you know, in
- 26:13that text generation, that's where they can hallucinate
- 26:15things. So we, instead of using text wherever
- 26:19we can in the assistant. We'll use a Grafana
- 26:22visualization. So, you know, luckily we have
- 26:25this library of these beautiful tools. Grafana
- 26:27has been around a while. So anything we needed
- 26:30to represent from logs or from traces or metrics
- 26:33or profiles or other ways with graph views and
- 26:39Mermaid diagrams, things like this, we would
- 26:42ask the assistant to do that and to prefer that.
- 26:45And so it's... It's really about, I think, having
- 26:48people with excellent taste, kind of designer
- 26:51engineers in one, really, having them obsessed
- 26:56with that mission of we're going to fight this
- 26:59wall of text. Because if, you know, a picture
- 27:03tells a thousand words. So if we can show you,
- 27:05here's what the data is doing, not only can you
- 27:07see it as a user, but that is still better as
- 27:10an experience for users than reading what someone
- 27:14tells you about that graph. Someone might say,
- 27:17oh, it's a flat graph. Is it flat but high? Is
- 27:20it flat but low? You can describe it. It's actually
- 27:24easier. Just show me the graph. This is why I
- 27:26don't think dashboards are going to go away in
- 27:28the AI world because we're always going to care
- 27:30about what's true. And if the agents are correct,
- 27:34we're going to want to see that data. So the
- 27:37Grafana Assistant is very visually beautiful
- 27:40for that reason because it piggybacks a lot on
- 27:42Grafana. Yeah, it's important to, it's going
- 27:48to make a big difference. And I think you can
- 27:50separate yourself if you put a bit more effort
- 27:52into making sure that that experience is excellent.
- 27:56I think you can separate yourselves from similar
- 27:59capabilities. It turns out for some reason, and
- 28:02we have a few theories on this, but it turns
- 28:04out that LLMs are quite good at Grafana by default.
- 28:09And we think it's because of so much of its open
- 28:11source. Grafana. The whole code base is open
- 28:14source, but also all the community stuff, all
- 28:17the discussions around there, like community
- 28:19dashboards out there. And a lot of the connected
- 28:22ecosystem, Prometheus and OpenTelemetry, all
- 28:25these other things are also kind of very open
- 28:28source. And I think the LLMs have hoovered all
- 28:31of that up, so they naturally have quite good
- 28:33context. So when we first stitched together the
- 28:36LLM... with Grafana and gave it a few tools and
- 28:40had the UI in the Grafana front end. It was surprisingly
- 28:45already quite good. And this is what people are
- 28:47finding when they wire up Claude Code with our
- 28:49gcx, which is a CLI tool that we released. That
- 28:53thing, you know, for certain tasks, it's very
- 28:56good. And if you've got your code right there
- 28:59as well, like it's very handy to be working alongside
- 29:01with production code. with telemetry you know
- 29:04and having the having them considered at the
- 29:06same time but all the work we then did in assistant
- 29:10with the prompting the fine tuning of certain
- 29:12little pieces of it the specialist tools and
- 29:16lots of other kind of secret sauce that's gone
- 29:18in created this uh complexity that we have to
- 29:23deliver in a simple way so i think if you use
- 29:26assistant it'll look hopefully just looks and
- 29:28feels very intuitive you know it does cool things
- 29:31like it can build deep links so it knows how
- 29:34to jump you to the right page in Grafana but
- 29:36not just the right page because all the your
- 29:39because all the filters are in the URL parameters
- 29:41it will apply those filters as well so it takes
- 29:43you straight to the right view um and so that
- 29:47was another good thing i think we did was We
- 29:50aren't going to reinvent everything and give
- 29:52you an AI-only experience here. We are going
- 29:55to use all the capabilities that you're already
- 29:57familiar with and some of the amazing tools that
- 30:00already exist in Grafana as part of this too.
- 30:04And the fact that the assistant knows what page
- 30:08you're looking at. Little things like that. If
- 30:10you go to a page and ask and say, tell me about
- 30:13this, it knows what you're talking about. So
- 30:15that really matters. Those kinds of little details,
- 30:18that experience that the user's having, I think
- 30:20is what makes it feel like excellent, helps you
- 30:23trust it. You see the data itself as well. So
- 30:25you can see if it's made a mistake. And I think
- 30:30UX is more important than ever. Very true. Okay,
- 30:34so for a team that is starting out wanting to
- 30:38introduce AI, where... Where do you think AI
- 30:42can actually help operations teams today? Like
- 30:45where should they start? What's the most important
- 30:47telemetry or piece of data to start using to
- 30:53analyze? Well, it will depend probably on each
- 30:56of their cases. The cool thing is they will know,
- 30:59they'll have an instinct already for things that
- 31:02they already care about. So the thing is, the
- 31:04nice thing is probably people already are using
- 31:08some kind of telemetry. They're using some kind
- 31:10of observability. And really, AI is there to
- 31:13enhance that experience. It's there to make that
- 31:17easier to do. Since it writes the queries for
- 31:19you, you don't have to learn PromQL and LogQL.
- 31:22And I've used those languages before, of course,
- 31:26but I would always have to go and look up again
- 31:29how to do something or prefer the query builder,
- 31:32honestly. Now you don't even need to do it at
- 31:35all because genuinely, through natural language,
- 31:37it can generate those things. And it generates
- 31:39very complex ones as well. It's far out, you
- 31:42know, surpassed me, my abilities. But I would
- 31:45say like, use it initially to enhance what you're
- 31:48already doing and see ways that you can automate.
- 31:53In some ways, that's really what we're doing.
- 31:56It's just automating it, but automating it in
- 31:58a trustworthy way. And I would say from those
- 32:00few little early things and do stuff, ship it,
- 32:03Ship It Weekly. I like that actually as a motto,
- 32:05Ship It Weekly. Not just the fact that this podcast
- 32:09runs every week. But I actually ship things every
- 32:12week. I like that because you're kind of forced
- 32:17to focus on scope. Well, the scope that's most
- 32:20important. You know, if you have a short window
- 32:22for shipping things, then you've got to really
- 32:25focus on what's important. And I think that applies
- 32:28to people picking up AI things. Don't do some
- 32:30enormous AI project that's going to take months
- 32:33and months. Because honestly, everything's different
- 32:35by then anyway. Pick something small, do it,
- 32:38action it, and talk about it and share it. and
- 32:41see what see if there's excitement you can drum
- 32:43up it's what happened at Grafana Labs and then
- 32:45now you see people all over the company building
- 32:48all sorts of things and doing amazing things
- 32:50with agents some of it will eventually be a product
- 32:53i'm sure but it's it comes from play and that's
- 32:57something that we do all right at Grafana Labs
- 32:59we we have a lot of space for people to play
- 33:03and get creative and try things and fail for
- 33:05things to fail um there's a great analogy that
- 33:10i love where they they did a study where they
- 33:13got these two groups and they told they were
- 33:15making pottery you know on the pottery wheel
- 33:17but they were all amateurs they told one group
- 33:19you've got to make the best pot you can and they
- 33:22told the other group just just make as many pots
- 33:24as you can doesn't matter what they're like just
- 33:26make lots of them and then by the end of it the
- 33:29the group that were making as many pots as they
- 33:32could were making better pots than the group
- 33:35that was trying to make the best pot and i think
- 33:38That tells you a lot, I think. It's the trial
- 33:40and error that you learn. You know, there was
- 33:42a lot more waste on the floor of this other team
- 33:45where pots hadn't worked and they had to throw
- 33:48it away or smash it up and tear it down and turn
- 33:51it into something else. So it feels wasteful,
- 33:55I think, to some. And they might be tempted to
- 33:58kind of optimize that away. But honestly, that's
- 34:01often where the learning is. So I think people
- 34:04should pick up something, tackle it. something
- 34:07small have a play see what you can do and from
- 34:11there yeah you create new problems for yourself
- 34:14but they're good problems to have where where
- 34:17do you think AI is going with observability this
- 34:20year i mean obviously it's it's the talk at every
- 34:22conference but is there overarching areas in
- 34:29observability that you think that AI um that
- 34:32we're just at the forefront like we're able to
- 34:35do now with larger token uh more tokens more
- 34:39uh better models um faster models is there anything
- 34:44that like lends itself now that maybe we couldn't
- 34:47have done six months ago or we could do in six
- 34:49months um based on these these rapid changes
- 34:53to AI i think seeing seeing the models get better
- 34:58and get smarter is nice we are finding that we
- 35:01have to tell it less which is interesting we're
- 35:04also finding that we We are basically tuning
- 35:08our prompts to a specific model. We noticed with
- 35:12Claude 3.5 to 3.7 even, 3.7 didn't perform
- 35:16as well as 3.5 by default. We had to make it
- 35:19work by changing it and tweaking it because it
- 35:21was a kind of different thing. And so I think
- 35:25we'll get to the point where agents are, yeah,
- 35:30you have to tell them a lot less. I think their
- 35:32instincts would be good. We already have plenty
- 35:36of tools to help with skills and things. In Assistant,
- 35:40you can write skills, which lets you basically
- 35:42control how the agents behave. This is nice if
- 35:45you've got expert SREs where they've spent years
- 35:47building these patterns and practices and they've
- 35:50got these high standards. You can then give those
- 35:53same high standards to the agents and they'll
- 35:54follow your behaviors. So you can already customize
- 35:57and tune it like that. But I think... that's
- 36:03going to just improve. And I sort of expect that
- 36:05to happen. Bigger context windows, not necessarily
- 36:08seeing that improve things too much. We already
- 36:13have kind of too much context. A big challenge
- 36:17that we're doing at Grafana Labs is, and with
- 36:20Assistant when it does an investigation, it's
- 36:22about going and finding the right context and
- 36:25keeping the right context and discarding the
- 36:27things that's not right. So big context windows,
- 36:30kind of they're tempting. You just think, oh,
- 36:32we could just fill it all up with everything.
- 36:34I don't think that's going to help it at all.
- 36:36It's just more for it to think about. But I do
- 36:40think we are going to see more things automated.
- 36:44And one example I think is an easy one is rolling
- 36:49back a deploy. Let's say you kick off a deploy
- 36:53through GitHub, whatever your process is, at
- 36:56the end, once it's out, Maybe, you know, there's
- 36:58some, you do this in staging and things, whatever
- 37:01you already have, all the great stuff. In production,
- 37:04have agents actually go and do a series of kind
- 37:07of critical tests, check things, check all the
- 37:10dashboards, you know, they know how to use Grafana,
- 37:13so they know how to use all your telemetry. So
- 37:17how can we get all of that and make good decisions
- 37:22from it? And then a decision might be that. that
- 37:27deploys not i'm not happy with it for whatever
- 37:28reason and i'm i as the agent i'm just going
- 37:31to decide to roll it roll it back so i think
- 37:34that's a safe quite a safe operation because
- 37:36it's you should always be able to roll back a
- 37:38release that should be a safe operation um it's
- 37:41not always so it's you know it's not without
- 37:43risk but um yeah that feels like something like
- 37:47that i think we're going to get we're going to
- 37:48see more and more of that and then i want to
- 37:50go further what else are we happy to let it do
- 37:52can it can it deal with scale issues based on
- 37:56unexpected events can it um what else can it
- 38:00do where else can it take action and i think
- 38:02uh we need to get a bit braver sometimes uh on
- 38:06some of these things it's on us to build the
- 38:08tools and make sure that they are behaving well
- 38:11and you can see what they're doing and you know
- 38:14people will some people will always have the
- 38:16the human in the loop to give the approval and
- 38:19hit the button and i actually think that's also
- 38:21fine but but all the work that leads up to that
- 38:25point Because there's still a big space there
- 38:27to explore. And we are exploring it. It is very
- 38:30exciting, some of the things that can happen.
- 38:33But I do think we're going to have agents doing
- 38:35more of this operating things for us. At least
- 38:39the simple stuff. And that frees us up to then
- 38:41focus on the cases that aren't simple and that
- 38:43are more complicated. Or frees us up to build
- 38:47more things and do more other things. Very true.
- 38:51Okay, so wrapping up, is there any belief about
- 38:54AI or observability that you think is just wrong?
- 38:57I think one thing that's wrong is because it's
- 39:02not 100%, you therefore can't trust it. As we
- 39:05mentioned earlier, yes, it's not perfect. It
- 39:10gets things wrong. So do people, but you still
- 39:13hire people, hopefully, for now. So I think that,
- 39:19I think, but that's not just AI. I think people
- 39:23often struggle with that. I remember, I remember
- 39:27like in COVID times, I was wearing a mask and
- 39:30a guy in the elevators like thought I was silly.
- 39:33Like I thought I just believed some hype or whatever.
- 39:36So he's like, why are you wearing that? They're
- 39:38not even effective. They only like, only prevents
- 39:4020% of spread or something. So it's like, oh,
- 39:44is it? So it's only 20% fewer people going to
- 39:47be. But because it wasn't 100%, he dismissed
- 39:51it. I see people doing the same thing with AI.
- 39:56Or they think with coding, it's not as good as
- 40:03me because I prompted it, asked it to do something,
- 40:05it didn't do it as well as I would have done
- 40:06it. And so I did that last year and I'm not going
- 40:09to touch it. AI is not for me. That's also a
- 40:13mistake. Keep trying them. It's usually you haven't
- 40:15prompted it well enough if it's not working.
- 40:17You can prompt it differently and there's different
- 40:19things you can try. And you can also be much
- 40:22more specific. In fact, the more context you
- 40:25give it, the better. So, yeah, it's not 100%.
- 40:28It's not perfect, but it's good. It's changing
- 40:32the world. Yeah, for sure. Mat, any closing
- 40:35thoughts for our audience? No, but I just want
- 40:38to say keep shipping it weekly because, you know,
- 40:42that's the only real way to know you're doing
- 40:44anything useful. Iterate, yeah. And keep listening
- 40:48to this great podcast as well with Brian. Appreciate
- 40:51it. Thanks, Mat. Thank you so much for your
- 40:53time. Thank you for coming on. Really, really
- 40:54appreciate it. Pleasure. All right. That was
- 40:57my conversation with Mat Ryer from Grafana
- 41:00Labs. The thing that stuck with me the most is
- 41:03that AI in production has to grow up pretty fast.
- 41:07It is fun when it is a prototype. It is fun when
- 41:10someone wires up a model. gives it a few tools
- 41:13and suddenly it can answer questions that used
- 41:17to require bouncing between dashboards logs traces
- 41:21docs and half a dozen slack threads that part
- 41:25is genuinely cool but once people start depending
- 41:29on it the bar changes now it needs observability
- 41:32it needs evals it needs feedback loops it needs
- 41:37cost awareness It needs guardrails. It needs
- 41:41some way to tell whether the agent actually helped
- 41:45or just produced a convincing answer. And that
- 41:48is where I think this conversation gets useful
- 41:51for platform and SRE teams. Because the trap
- 41:55is thinking AI observability just means watching
- 41:58the AI service like any other service. Did it
- 42:02return a 200? How long did it take? How much
- 42:05did it cost? Those are good signals. but they
- 42:08are not enough. With agents, you care about the
- 42:11path it took, the tools it used, the context
- 42:15it kept, the context it threw away, whether it
- 42:19answered the actual user request, whether the
- 42:21user had to correct it, whether the model changed
- 42:24behavior after a prompt update or model upgrade.
- 42:28That is a much messier kind of production system.
- 42:31I also liked Mat's take on trust. A lot of people
- 42:35treat AI like it has to be perfect or it is useless.
- 42:39And I get the instinct, especially when we are
- 42:43talking about production systems. But we already
- 42:46operate plenty of imperfect systems. Networks
- 42:50fail. APIs time out. Humans miss things. Dashboards
- 42:55lie by omission. Runbooks rot. The answer is
- 42:58not blind trust, but it is also not refusing
- 43:02to use the thing because it is not 100%. The
- 43:07answer is instrumentation, feedback, constraints,
- 43:11and judgment. It's the same as most other production
- 43:14problems, honestly. The other big takeaway for
- 43:17me was the UX side. AI should not just bury operators
- 43:21in a wall of generated text. If the system can
- 43:25show the graph, link to the right view, apply the
- 43:29right filters, and expose the evidence behind
- 43:32the answer, That is way more useful than a paragraph
- 43:36that sounds right. Because at the end of the
- 43:38day, operators still want to see what is true,
- 43:42not just what the model said. So my takeaway
- 43:45is pretty simple. Use AI to make the work easier.
- 43:49Let it help search through telemetry. Let it
- 43:52summarize patterns. Let it assist with the first
- 43:56pass of an investigation. But do not skip the
- 44:00production discipline. Measure it. Test it. Watch
- 44:04the cost. Build evals. Keep humans in the loop
- 44:08where the blast radius is real. And when you
- 44:12give an agent tools, remember that it may actually
- 44:15use them. That sounds obvious, but it is going
- 44:18to matter a lot. I'll have links to Mat, Grafana
- 44:22Labs, and anything else we mentioned in the show
- 44:25notes. If you enjoyed this conversation, Follow
- 44:29or subscribe to Ship It Weekly wherever you listen
- 44:32to podcasts. It helps the show and it makes sure
- 44:35you get both these conversation episodes and
- 44:38the weekly DevOps, SRE, platform, cloud, and
- 44:42security news recaps. You can also find everything
- 44:45over at shipitweekly.fm. Thanks for listening
- 44:48and I'll see you later this week.