Skip to content

What capitalization of field names to use for trace context in non-OTLP Log Formats #3518

@tigrannajaryan

Description

@tigrannajaryan

Trace Context in non-OTLP Log Formats uses snake case for field names currently: https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/compatibility/logging_trace_context.md

The OTLP/JSON which is another format where field names are recorded as text uses camelCase (traceId, spanId).

Should we change recommendation for non-OTLP formats to use use camelCase?

@open-telemetry/specs-logs-approvers @open-telemetry/specs-approvers what do you think?

Relation PR that previously suggested yet another approach (using dots to match ECS): #3469

Metadata

Metadata

Labels

spec:logsRelated to the specification/logs directory

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions