Documentation ¶
Index ¶
Constants ¶
View Source
const ( // XCorrelationIDName wellknown name XCorrelationIDName = "x-correlation-id" // LogCorrelationIDName wellknown name LogCorrelationIDName = "correlation_id" // XSpanName wellknown name XSpanName = "x-span" // LogSpanName wellknown name LogSpanName = "span" // XParentName wellknown name XParentName = "x-parent" // LogParentName wellknown name LogParentName = "parent" // XRequestID wellknown name XRequestID = "x-request-id" )
Variables ¶
View Source
var MetaDataFilter = []string{ ":authority", "authorization", "content-type", "user-agent", "grpc-accept-encoding", "accept-encoding", XCorrelationIDName, LogCorrelationIDName, XSpanName, LogSpanName, XParentName, LogParentName, XRequestID, }
MetaDataFilter list wellknown grpc metadata
View Source
var MetaDataFilterSet = hashset.NewStringSet(MetaDataFilter...)
MetaDataFilterSet ...
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.