Skip to content

Structured logging with open telemetry#195

Merged
elizabetheonoja-art merged 3 commits into
Utility-Protocol:mainfrom
gloskull:Structured-Logging-with-OpenTelemetry
Jul 25, 2026
Merged

Structured logging with open telemetry#195
elizabetheonoja-art merged 3 commits into
Utility-Protocol:mainfrom
gloskull:Structured-Logging-with-OpenTelemetry

Conversation

@gloskull

Copy link
Copy Markdown
Contributor

Structured Logging implementation that formats logs as JSON adhering to OpenTelemetry Semantic Conventions, maps trace/span IDs, extracts spatial baggage, and runs system-wide.

Closes #128

google-labs-jules Bot and others added 2 commits July 17, 2026 14:08
Implement a system-wide custom tracing JSON formatter `OtelJsonFormatter`
that conforms to OpenTelemetry Semantic Conventions. Extract and map
standard logging severity numbers, service resource attributes, and active
OpenTelemetry trace/span IDs (by querying FmtContext's active OtelData extensions).
Also parse spatial baggage fields (region, substation_id, grid_segment)
and record source code file and line numbers under log attributes.

Co-authored-by: gloskull <189399494+gloskull@users.noreply.github.com>
…44222750932

Structured Logging with OpenTelemetry Semantic Conventions
@JerryIdoko

Copy link
Copy Markdown

resolve conflicts @gloskull

@elizabetheonoja-art
elizabetheonoja-art merged commit ca1f3fc into Utility-Protocol:main Jul 25, 2026
1 of 3 checks passed
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.

Structured Logging with OpenTelemetry Semantic Conventions

3 participants