Skip to content

Task/228 otel wc3traceparent - #305

Draft
MikeNeilson wants to merge 14 commits into
mainfrom
task/228-otel-wc3traceparent
Draft

Task/228 otel wc3traceparent#305
MikeNeilson wants to merge 14 commits into
mainfrom
task/228-otel-wc3traceparent

Conversation

@MikeNeilson

Copy link
Copy Markdown

Implement support for W3C Traceparent and general traceability using opentelemetry.

Minor changes to logging to support additional detail in logs, set log format and output in tests.

TODO: adjust the .gitignore file for the generated logs.

@MikeNeilson

Copy link
Copy Markdown
Author

Unfortunately, the opentelemetry libraries are only available for python 3.10 or above. Not sure if reasonable to increase the minimum python yet.

@sonarqubecloud

Copy link
Copy Markdown

MikeNeilson added a commit to USACE/cwms-data-api that referenced this pull request Aug 24, 2026
## Summary

While working on
HydrologicEngineeringCenter/cwms-python#305,
discovered that while we process the traceparent header, we never
actually output the trace_id and span_id for viewing and analysis in the
logs.

## Related Issue

Closes #

## Validation

Describe how this was tested.

## Checklist

- [ ] AI tools used
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants