Documentation ¶
Index ¶
- func AppendKeyValue(ctx context.Context, key, value string) bool
- func AppendLogTraceMetadataContext(ctx context.Context, metadata map[string]string) context.Context
- func AppendNewRpcId(ctx context.Context) bool
- func ExtractTraceNodeToXexContext(ctx context.Context) context.Context
- func GetMetadataKey() string
- func IncrementRpcId(ctx context.Context) bool
- func InjectMetadata(ctx context.Context, mapPtr *map[string]string) bool
- func InjectTraceNodeToRpcx(ctx context.Context) context.Context
- func NewTraceId() string
- type TraceNode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendLogTraceMetadataContext ¶
metadata转ctx
func InjectMetadata ¶
TraceNode add other kv
func NewTraceId ¶
func NewTraceId() string
Types ¶
type TraceNode ¶
type TraceNode struct {
// contains filtered or unexported fields
}
func ExtractTraceNodeFromXesContext ¶
Get TraceNode
func NewTraceNode ¶
func NewTraceNode() *TraceNode
Click to show internal directories.
Click to hide internal directories.