Skip to content

Support use of W3C TraceContext #288

Description

@MikeNeilson

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions