---
title: "Discussion on \"Don't Put the Prompt on the Span: Tracing Django AI Agents with OpenTelemetry (Part 6)\" | Hashnode"
description: "Discussion on \"Don't Put the Prompt on the Span: Tracing Django AI Agents with OpenTelemetry (Part 6)\". Trace Django AI agents with OpenTelemetry GenAI conventions: PII-safe spans, prompt refs, tail sampling on cost, and debugging a bad answer."
url: "https://hashnode.com/posts/opentelemetry-tracing-ai-agents-django/6af396b662b23cd0618a9d4e"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Don't Put the Prompt on the Span: Tracing Django AI Agents with OpenTelemetry (Part 6)](https://aidevpro.hashnode.dev/opentelemetry-tracing-ai-agents-django?utm_source=hashnode&utm_medium=feed)

Trace Django AI agents with OpenTelemetry GenAI conventions: PII-safe spans, prompt refs, tail sampling on cost, and debugging a bad answer.

22h ago · 15 min read · aidevpro.hashnode.dev  
Read the article

-   [#django](https://hashnode.com/tag/django)
-   [#opentelemetry](https://hashnode.com/tag/opentelemetry)
-   [#ai-agents](https://hashnode.com/tag/ai-agents)
-   [#observability](https://hashnode.com/tag/observability)
-   [#python](https://hashnode.com/tag/python)

## Written by

[AI Developer](https://hashnode.com/@lycore)

@lycore

  
[View profile](https://hashnode.com/@lycore)

build production-ready AI integrations, mobile apps, and web platforms for businesses that want real results.

Custom software & AI development company. We build production-ready AI integrations, mobile apps, and web platforms for businesses that want real results. lycore.com

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
