Skip to main content
The Davenporter
Essays Code Arcade Now
Theme
Palette
Jason Davenport

I write about agents doing real engineering work: source control, memory, telemetry, and the human side of AI.

Subscribe

Elsewhere

  • Substack
  • LinkedIn
  • GitHub
  • X
  • RSS
  1. Home
  2. Essays
  3. With AI, what's old is new in telemetry again

With AI, what's old is new in telemetry again

Jun 09, 2026 · 4 min read · Original on Substack ↗

Why tracing is critical to improving your AI experiences. I remember a demo with an observability vendor back in 2019. We were setting up a big data app, and they showed us a cool topology map of a request, how it flowed through multiple API’s, and ultimately queried a database we were configuring.

Cover image for With AI, what's old is new in telemetry again
Cover image from the original post.

I remember a demo with an observability vendor back in 2019. We were setting up a big data app, and they showed us a cool topology map of a request, how it flowed through multiple API’s, and ultimately queried a database we were configuring. The demo was great, but it turns out that setting up tracing throughout the stack was substantially more difficult than we’d planned, and it cost a lot more to run with all of the data it was generating. Ultimately, we shelved the work.

So why is tracing so important now with AI?

An example of two requests

Let’s say there is an AI agent (a coding agent, support agent, doesn’t really matter) that intakes a request (intent) from a user, has an internal agentic loop, and ultimately should satisfy the request (intent).

Flow of an agent in a very simple example

This is a very simple example of the flow, where the agent is performing work. Let’s assume that you’ll have multiple users or requests that match intents. Ideally, the flow of each session looks like this:

This would be an ideal state where similar or matched intents, when clustered together, yield similar or matched outcomes when the agent does work.

However, when you factor in model non-determinism, various tool calls and definitions, and other things like specific context or data the model has access to, this ends up looking something more like:

How agent intents actually vary in outcome heavily.

So how do you figure out what went wrong? We could observe some things our agent may have performed like tool calls out to other API’s or databases, but we need to look at the trajectory and the reasoning chain that yielded a particular good or bad outcome, analyze them, and then modify our agent or other components.

Why does tracing help?

In the example above, we need to see the internal and external work the agent performed, the timelines the work was performed in, and in what order the work was done for a particular intent or outcome. Tracing gives us the ability to string all of these together. Even better, we can enable tracing that gives us the full prompts and responses for each turn of the agent so we can see, in detail, what actually happened and when.

In 2019, this was a nice to have, but this is becoming a requirement to budget for and implement when working with agents. Not only does it help for building better agents, but it improves the observability for things like regulations when we need to show why agents perform a particular task and what they did.

Tracing applied to our example

Let’s assume we’ve added tracing to our agent example. You can do this with OpenTelemetry and built in extensions in most agent frameworks (Google ADK example here).

Now, let’s assume we have two users that asked a question about their bill last month, and why it was so high.

Using tracing, we now have access to more data points. For example, we could see that for one customer, the agent may have properly found the customer’s information, but the bill for last month had not been processed yet. As a result, the agent only had access to information that was two months old, and the resulting outcome wasn’t correct due to data access.

In another example, we have a coding agent. In one flow, the coding agent had access to a repository but chose to use grep to search for the changes required instead of using an AST or tree based tool to find functions. By having access to the internal thoughts and steps, we can determine if, in this example, we need to further tune our MCP tool definitions or even our skill so the agent is better equipped for what to use and when.

And, we can use LLMs to improve LLM quality by providing all of this information to agents with specific tasks.

Implementing tracing

In the observability stack, access to real time traces, metrics, and logs are table-stakes for agentic development and runtimes.

Look in the frameworks you’re using to start seeing how you can implement the default tracing abilities. Keep in mind that a substantial portion of agentic system cost is actually on the observability and control around the agent, not the agent itself. Budget accordingly.

And last, make sure you’re thinking about data security. When you are exporting traces, in most cases you will need the full logs to figure out what happened. But that doesn’t mean you should necessarily give everyone or an improvement agent access to personally identifiable data, and you should be aware what you can use for training and improvement in your customer agreements and regulations (ex GDPR).

Hope you enjoyed this weeks post!

Thanks for reading The Davenporter! Subscribe for free to receive new posts and support my work.

Code for this essay

agent-telemetry

Bridges the gap between ephemeral LLM reasoning traces and permanent repository commit history by binding OpenTelemetry span IDs, tool-call trajectories, and token budgets directly to AST/Git mutations.

Open in Code

Sample output from a local run
$ uv run python -m agent_telemetry.lineage --commit 9f41c8a2 --format summary
LINEAGE RECORD: commit=9f41c8a2 -> trace_id=4bf92f3577b34da6a3ce929d0e0e4736
MODEL: gemini-3.8-flash · STEPS: 6 · TOOL CALLS: 4 (read_file, edit_file, pytest)
VERIFICATION GATE: PASSED (100% pass rate in 1.42s)
← Newer essay WIBTD/W/M: A fool's folly with local AI models Older essay → WIBTD/W/M: Routing AI responses between local runners

Get new posts by email

I send new essays by email through Substack. Subscribe there and they'll land in your inbox.

Subscribe on Substack ↗
Subscribe on Substack · RSS · Privacy ·
Page metadata

Social card and structured data

The share image, feeds and Schema.org JSON-LD that search engines and AI tools read for this page.

Social card

Title card for With AI, what's old is new in telemetry again
Card URL: /og/with-ai-whats-old-is-new-in-telemetry.svg

Machine feeds

/llms.txt /llms-full.txt /sitemap.xml /api/agent/spec

Structured data

{
  "@context": "https://schema.org",
  "@graph": [
    {
      "@type": "Person",
      "@id": "https://davenporter.com/#jason-davenport",
      "name": "Jason Davenport",
      "alternateName": "@davenportjw",
      "jobTitle": "AI & Distributed Systems Architect",
      "description": "Exploring agent-first source control (cosm), trajectory-to-lineage observability, Spanner-backed agent memory consolidation (Electric Sheep), hybrid local/cloud LLM routing, and real-time multiplayer browser simulations on Google Cloud Run.",
      "url": "https://davenporter.com",
      "sameAs": [
        "https://davenporter.substack.com",
        "https://www.linkedin.com/in/davenportjw",
        "https://github.com/davenportjw",
        "https://x.com/davenportjw"
      ]
    },
    {
      "@type": "WebSite",
      "@id": "https://davenporter.com/#website",
      "url": "https://davenporter.com",
      "name": "The Davenporter",
      "description": "Learnings about software, technology, agentic systems, and occasionally home renovation.",
      "publisher": {
        "@id": "https://davenporter.com/#jason-davenport"
      },
      "inLanguage": "en-US"
    },
    {
      "@type": "ImageObject",
      "@id": "https://davenporter.com/writings/with-ai-whats-old-is-new-in-telemetry#primaryimage",
      "url": "https://davenporter.com/og/with-ai-whats-old-is-new-in-telemetry.png",
      "contentUrl": "https://davenporter.com/og/with-ai-whats-old-is-new-in-telemetry.png",
      "width": 1200,
      "height": 630,
      "caption": "Title card for With AI, what's old is new in telemetry again",
      "representativeOfPage": true,
      "creator": {
        "@id": "https://davenporter.com/#jason-davenport"
      },
      "license": "https://creativecommons.org/licenses/by/4.0/",
      "acquireLicensePage": "https://davenporter.com/writings"
    },
    {
      "@type": "WebPage",
      "@id": "https://davenporter.com/writings/with-ai-whats-old-is-new-in-telemetry#webpage",
      "url": "https://davenporter.substack.com/p/with-ai-whats-old-is-new-in-telemetry",
      "name": "With AI, what's old is new in telemetry again | The Davenporter",
      "description": "Why tracing is critical to improving your AI experiences. I remember a demo with an observability vendor back in 2019. We were setting up a big data app, and they showed us a cool topology map of a request, how it flowed through multiple API\u2019s, and ultimately queried a database we were configuring.",
      "isPartOf": {
        "@id": "https://davenporter.com/#website"
      },
      "about": {
        "@id": "https://davenporter.com/#jason-davenport"
      },
      "primaryImageOfPage": {
        "@id": "https://davenporter.com/writings/with-ai-whats-old-is-new-in-telemetry#primaryimage"
      },
      "inLanguage": "en-US"
    },
    {
      "@type": "FAQPage",
      "@id": "https://davenporter.com/writings/with-ai-whats-old-is-new-in-telemetry#faq",
      "mainEntity": [
        {
          "@type": "Question",
          "name": "What is \u201cWith AI, what's old is new in telemetry again\u201d about?",
          "acceptedAnswer": {
            "@type": "Answer",
            "text": "Why tracing is critical to improving your AI experiences. I remember a demo with an observability vendor back in 2019. We were setting up a big data app, and they showed us a cool topology map of a request, how it flowed through multiple API\u2019s, and ultimately queried a database we were configuring."
          }
        }
      ]
    },
    {
      "@type": "BlogPosting",
      "@id": "https://davenporter.com/writings/with-ai-whats-old-is-new-in-telemetry#article",
      "mainEntityOfPage": {
        "@id": "https://davenporter.com/writings/with-ai-whats-old-is-new-in-telemetry#webpage",
        "url": "https://davenporter.substack.com/p/with-ai-whats-old-is-new-in-telemetry"
      },
      "headline": "With AI, what's old is new in telemetry again",
      "alternativeHeadline": "Why tracing is critical to improving your AI experiences",
      "description": "Why tracing is critical to improving your AI experiences. I remember a demo with an observability vendor back in 2019. We were setting up a big data app, and they showed us a cool topology map of a request, how it flowed through multiple API\u2019s, and ultimately queried a database we were configuring.",
      "datePublished": "2026-06-09T16:45:40Z",
      "dateModified": "2026-06-09T16:45:40Z",
      "wordCount": 802,
      "keywords": "Agent Telemetry",
      "author": {
        "@id": "https://davenporter.com/#jason-davenport"
      },
      "publisher": {
        "@id": "https://davenporter.com/#jason-davenport"
      },
      "image": {
        "@id": "https://davenporter.com/writings/with-ai-whats-old-is-new-in-telemetry#primaryimage"
      },
      "url": "https://davenporter.substack.com/p/with-ai-whats-old-is-new-in-telemetry"
    },
    {
      "@type": "BreadcrumbList",
      "@id": "https://davenporter.com/writings/with-ai-whats-old-is-new-in-telemetry#breadcrumb",
      "itemListElement": [
        {
          "@type": "ListItem",
          "position": 1,
          "name": "Home",
          "item": "https://davenporter.com/"
        },
        {
          "@type": "ListItem",
          "position": 2,
          "name": "Essays",
          "item": "https://davenporter.com/writings"
        },
        {
          "@type": "ListItem",
          "position": 3,
          "name": "With AI, what's old is new in telemetry again",
          "item": "https://davenporter.com/writings/with-ai-whats-old-is-new-in-telemetry"
        }
      ]
    }
  ]
}

Ask The Davenporter

● Checking local AI… How it works →

Chrome can download Gemini Nano so answers run on your device.

0%
Ask anything about the essays, projects, or games on this site.