Manually instrument traces in pixl_cli, orthanc_raw, and orthanc_anon#644
Merged
Conversation
Add a function to get set the relevent otel env vars before calling configure_logging and configure_tracing
This way the span belongs to the CLI rather than to the queue
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #644 +/- ##
==========================================
+ Coverage 85.85% 88.53% +2.68%
==========================================
Files 75 80 +5
Lines 3500 3813 +313
==========================================
+ Hits 3005 3376 +371
+ Misses 495 437 -58 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
stefpiatek
approved these changes
Jun 24, 2026
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.
Description
Fixes #639 Instrument the cli, Orthanc Raw, and Orthanc Anon so we can follow a DICOM study end-to-end
pixl_core.tracing.configure_tracingto set up a tracing provider_configure_telemetry_env_vars. Then configure tracing and instrument pikarecord_dicom_headers, not for the actual C-MOVEType of change
Please delete options accordingly to the description.
Suggested Checklist
mainbranch.squash and mergeAll logs selected for a given
trace_id(the trace corresponds to processing one of the DICOM studies in the integration tests):logs.mov
All spans for the same
trace_idtrace.mov