Skip to content

Consider adopting ECS convention for logging spec's Trace Context in Legacy Formats #3303

@trask

Description

@trask

Currently, the logging spec's Trace Context in Legacy Formats says:

the following field names should be used in legacy formats:

"trace_id" for TraceId, hex-encoded.
"span_id" for SpanId, hex-encoded.
"trace_flags" for trace flags, formatted according to W3C traceflags format.

I think it's worth considering using instead the ECS field names trace.id, span.id and trace.flags.

Related: open-telemetry/opentelemetry-java-instrumentation#7985

cc @AlexanderWert

Metadata

Metadata

Assignees

Labels

spec:logsRelated to the specification/logs directorytriage:accepted:ready-with-sponsorReady to be implemented and has a specification sponsor assigned

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions