-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
For context, see #544 (comment)
Goal:
Test that the traceparent metadata on execution and translation requests is set; assert that the value contains the hex representation of the OTel context trace id from the calling Python OTel span.
How:
- We need to fuller configurability
TracingConfigurationthatTracingConfiguration::from_envoffers. Seeqcs-api-client-commonissue 109 for some potential options. - In the
test_tracing_subscribertest module, add a testtest_translation_submit_and_retrieve_grpc_trace_propagation. TheTracingConfigurationshould include thetraceparentmetadata key in the request metadata keys to ascribe as an attribute on the span. - After reading the traces from file, look up the
rpc.grpc.request.metadata.traceparentattribute on the gRPC spans; ensure that the value of this attribute contains the hex representation of the Python span's trace identifier.
Metadata
Metadata
Assignees
Labels
No labels