Skip to content
This repository was archived by the owner on Sep 13, 2026. It is now read-only.

feat(observability): emit host trace spans - #2

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

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant