Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

Commit ce47af8

Browse files
authored
Use shorter key names for log correlation (issue #195). (#199)
This commit removes the "openCensus" prefix from all key names in the log correlation spec. The shorter key names are simpler and could improve performance when the keys are included in the logs.
1 parent a6ad82f commit ce47af8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

trace/LogCorrelation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,5 +54,5 @@ and format the sampling decision as "true" or "false".
5454

5555
Some logging frameworks allow the insertion of arbitrary key-value pairs into log entries. When
5656
a log correlation implementation inserts tracing data by that method, the key names should be
57-
"opencensusTraceId", "opencensusSpanId", and "opencensusTraceSampled" by default. The log
58-
correlation implementation may allow the user to override the tracing data key names.
57+
"traceId", "spanId", and "traceSampled" by default. The log correlation implementation may allow
58+
the user to override the key names.

0 commit comments

Comments
 (0)