Documentation
¶
Index ¶
- func WithBuildTime(ctx context.Context, buildTime string) context.Context
- func WithCommitHash(ctx context.Context, commitHash string) context.Context
- func WithParentSpanID(ctx context.Context, parentSpanID string) context.Context
- func WithSpanID(ctx context.Context, spanID string) context.Context
- func WithTraceID(ctx context.Context, traceID string) context.Context
- func WithVersion(ctx context.Context, version string) context.Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithBuildTime ¶
WithBuildTime stores the build time in the context.
func WithCommitHash ¶
WithCommitHash stores the commit hash in the context.
func WithParentSpanID ¶
WithParentSpanID stores the parent span ID in the context.
func WithSpanID ¶
WithSpanID stores the given span ID in the context.
func WithTraceID ¶
WithTraceID stores the given trace ID in the context.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.