---
title: "Untitled"
url: https://daily.dev/posts/untitled-32fq7pu5y
source_url: https://www.sitepoint.com/opentelemetry-genai-instrument-ai-agents-without-sending-data-to-the-cloud
type: article
source: "SitePoint"
published: 2026-07-03T01:25:12.403Z
updated: 2026-07-03T01:25:34.745Z
tags: ["nodejs", "ai-agents", "observability", "opentelemetry"]
reading_time: 15
upvotes: 1
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Untitled

**[SitePoint](https://daily.dev/sources/sitepoint)** · 15 min read · 1 upvotes · 0 comments

## Summary

A step-by-step guide to instrumenting AI agents with OpenTelemetry GenAI semantic conventions entirely locally, without sending data to the cloud. Covers deploying an OpenTelemetry Collector and Jaeger via Docker Compose, instrumenting a Node.js AI agent with GenAI span attributes (gen_ai.system, gen_ai.request.model, token usage), structuring parent-child span hierarchies for multi-step agent flows, and building a React dashboard to visualize model usage, token costs, and latency from Jaeger's API. Includes troubleshooting for common pitfalls like protocol mismatches, BatchSpanProcessor flush issues, and API key security.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.sitepoint.com/opentelemetry-genai-instrument-ai-agents-without-sending-data-to-the-cloud>

## Similar posts on daily.dev

- [Datadog LLM Observability natively supports OpenTelemetry GenAI Semantic Conventions](https://daily.dev/posts/datadog-llm-observability-natively-supports-opentelemetry-genai-semantic-conventions-uku86hqf1) · Datadog · 1 upvotes · 0 comments
- [Jaeger adopts OpenTelemetry at its core to solve the AI agent observability gap](https://daily.dev/posts/jaeger-adopts-opentelemetry-at-its-core-to-solve-the-ai-agent-observability-gap-7ufkqbnb5) · The New Stack · 1 upvotes · 0 comments

---

Tags: [#nodejs](https://daily.dev/tags/nodejs), [#ai-agents](https://daily.dev/tags/ai-agents), [#observability](https://daily.dev/tags/observability), [#opentelemetry](https://daily.dev/tags/opentelemetry)

[View this post on daily.dev](https://daily.dev/posts/untitled-32fq7pu5y)
