Documentation
¶
Index ¶
Constants ¶
View Source
const SpanIdLogFieldName = "span.id"
View Source
const TraceIdLogFieldName = "trace.id"
View Source
const TransactionIdLogFieldName = "transaction.id"
Variables ¶
This section is empty.
Functions ¶
func ExtractSpanId ¶
ExtractSpanId returns the span.id from the context.
Does nothing if there is no span in the context.
func ExtractTraceId ¶
ExtractTraceId returns the trace.id from the TraceContext.
Does nothing if there is no transaction in the context.
func ExtractTransactionId ¶
ExtractTransactionId returns the transaction.id from the TraceContext.
Does nothing if there is no transaction in the context.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.