Skip to content

[codex] Document Python OTEL masking and media export hooks#2912

Draft
hassiebp wants to merge 1 commit into
mainfrom
codex/python-otel-mask-media-docs
Draft

[codex] Document Python OTEL masking and media export hooks#2912
hassiebp wants to merge 1 commit into
mainfrom
codex/python-otel-mask-media-docs

Conversation

@hassiebp
Copy link
Copy Markdown
Contributor

@hassiebp hassiebp commented May 8, 2026

Summary

  • Document the difference between SDK-level mask, Python export-stage mask_otel_spans, and span filtering.
  • Add a Python mask_otel_spans example plus guidance for third-party OTEL spans, third-party observability exporters, and IO-bound PII services.
  • Clarify that Python export-stage media handling runs before mask_otel_spans and applies to supported third-party OTEL span attributes exported through the Langfuse client.
  • Cross-link the advanced SDK and OpenTelemetry pages so raw OTLP ingestion is not confused with SDK export hooks.

Context

This updates the docs for langfuse/langfuse-python#1646, which adds Python export-stage media handling and mask_otel_spans for OpenTelemetry span attributes.

Validation

  • git diff --check
  • Custom touched-file sanity check: balanced code fences and #mask-otel-spans anchor target present
  • node scripts/check-links.js was attempted with Node 24.14.0, but failed because no local dev server was running on localhost:3333; the output was dominated by existing localhost link failures across the site.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 8, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
langfuse-docs Ready Ready Preview, Comment May 8, 2026 3:02pm

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant