Repository navigation
OxTelemetry - integration of ox, ox flows with OpenTelemetry - #527
pawelsadlo wants to merge 31 commits into
Conversation
|
Thanks, some remarks:
|
|
Ah and finally - did you try reviewing your code with Claude/Codex/Cursor? |
will do
yes, for integration with third party libs relying on automatic otel instrumentation that may start spans within our span |
Bue doesn't |
|
nope, span must be set explicitly as |
…tions += "-Dio.opentelemetry.context.enableStrictContext=true", is on
|
This is an automated review (Claude Code). Tests pass (18/18). The main idea (wrap Correctness
Not needed
Structure
DocsStill missing: a page in Tests
|
Provides some basic integration for open telemetry tracing via one
OxTracinginterface.Implementation lives in:
AutoCloseableSpan, which contains created span and logic to finalize span (by closing it and bringing back previous otel context). its unsafe because user is expected to finalize span properly, even in case of errors and also should handle correct order of closing spans in case more spans are started by this method, makes opened span a child of current ongoing spanProvided
nativeimplementation relies onox.otel.context.PropagatingVirtualThreadFactoryas a open telemetry context propagation mechanism between threads.note:
this wont work out of the box with
ComputeIntensivenote2:
need to tidy up some tests yet