CDA has implemented support for the W3C TraceContext that OpenTelemetry uses: USACE/cwms-data-api#1800
cwms-python should except or create on API start, add allow update at any time, an appropriate traceparent header to send with all HTTP requests.
This will allow better correlation of issues in the logs.
NOTE: Recommend using the opentelemetry python library to implement the spans, traces, and propagators for this to work. There should be decorators in the library to avoid excessive boilerplate.
CDA has implemented support for the W3C TraceContext that OpenTelemetry uses: USACE/cwms-data-api#1800
cwms-python should except or create on API start, add allow update at any time, an appropriate traceparent header to send with all HTTP requests.
This will allow better correlation of issues in the logs.
NOTE: Recommend using the opentelemetry python library to implement the spans, traces, and propagators for this to work. There should be decorators in the library to avoid excessive boilerplate.