Skip to content

feat(observability): emit host trace spans#2

Open
huanghuoguoguo wants to merge 1 commit into
mainfrom
feat/host-rag-observability
Open

feat(observability): emit host trace spans#2
huanghuoguoguo wants to merge 1 commit into
mainfrom
feat/host-rag-observability

Conversation

@huanghuoguoguo

Copy link
Copy Markdown
Collaborator

Summary

  • reuse host trace_id when RetrievalContext.trace_context is provided
  • return privacy-conscious RAG stage spans in retrieval metadata
  • record query hash/length and hashed collection/knowledge-base identifiers instead of raw query text

Tests

  • python3 -m compileall -q main.py components tests benchmarks
  • python3 -m unittest discover -s tests
  • git diff --check

Notes

  • Full host-level trace display requires the companion LangBot and SDK PRs.

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