package
0.0.0-20240601152217-0b7f70567b52
Repository: https://github.com/cntechpower/utils.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Init returns an instance of Jaeger Tracer that samples probability% of traces and logs all spans to stdout.
New trace instance with given operationName.
OperationNameFromContext returns the `operationName` previously associated with `ctx`, or `""` if not found.
OperationNameFromSpan returns the `operationName` previously associated with `span`, or `""` if not found.
No description provided by the author
SpanFromContext returns the `Span` previously associated with `ctx`, or `nil` if no such `Span` could be found.
TraceIdFromContext returns the `traceId` previously associated with `ctx`, or `""` if not found.
TraceIdFromSpan returns the `traceId` previously associated with `span`, or `""` if not found.
TraceSpanIdFromContext returns the `traceId` and `spanId` previously associated with `ctx`, or `""` if not found.
TraceSpanIdFromSpan returns the `traceId` and `spanId` previously associated with `span`, or `""` if not found.

# Constants

No description provided by the author

# Variables

No description provided by the author