Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetContextTraceID ¶
func InitTracer ¶
func InitTracer(config SpanConfig) error
Types ¶
type SpanAttributeKey ¶
type SpanAttributeKey string
const ( ComponentKey SpanAttributeKey = "component" LevelKey SpanAttributeKey = "level" ErrorKey SpanAttributeKey = "error" TraceIDKey SpanAttributeKey = "trace_id" SpanIDKey SpanAttributeKey = "span_id" )
type SpanConfig ¶
type TraceSpan ¶
type TraceSpan struct {
// contains filtered or unexported fields
}
func (*TraceSpan) GetTraceID ¶
func (*TraceSpan) SetAttributes ¶
Click to show internal directories.
Click to hide internal directories.