Repository navigation
feat(otel): tracing helpers and header propagation (restack) - #915
Merged
Merged
Conversation
- Add @otel_traced decorator to chain(), hop(), gfql() functions - Add otel_span() calls around DFSamePathExecutor stages - Capture key attributes: chain_len, where_len, engine, node/edge counts - All instrumentation is no-op when GRAPHISTRY_OTEL is not enabled 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
The graphistry.ArrowFileUploader module is shadowed by the class re-export in graphistry/__init__.py, causing mock.patch() with a string path to fail. Use sys.modules lookup and patch.object to correctly patch the module-level inject_trace_headers function.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Status
masterTesting
uv run pytest graphistry/tests/test_arrow_uploader.pyuv run pytest graphistry/tests/test_chain_remote_auth.pyuv run pytest graphistry/tests/test_trace_headers_behavior.py