Documentation ¶
Index ¶
- func TraceIDFromContext(c context.Context, requireSampled bool) string
- type EventValue
- type Opentelemetry
- type OpentelemetrySpan
- func (s OpentelemetrySpan) AddEvents(keys []string, values []EventValue)
- func (s OpentelemetrySpan) End()
- func (s OpentelemetrySpan) RecordError(err error, options ...trace.EventOption)
- func (s OpentelemetrySpan) SetAttributes(key string, value interface{}, kv attribute.KeyValue)
- func (s OpentelemetrySpan) SetName(name string)
- func (s OpentelemetrySpan) SetStatus(code codes.Code, description string)
- type Opentracing
- type OpentracingSpan
- func (s OpentracingSpan) AddEvents(keys []string, values []EventValue)
- func (s OpentracingSpan) End()
- func (s OpentracingSpan) RecordError(err error, options ...trace.EventOption)
- func (s OpentracingSpan) SetAttributes(key string, value interface{}, kv attribute.KeyValue)
- func (s OpentracingSpan) SetName(name string)
- func (s OpentracingSpan) SetStatus(code codes.Code, description string)
- type Span
- type Tracer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EventValue ¶
type Opentelemetry ¶
type OpentelemetrySpan ¶
type OpentelemetrySpan struct {
// contains filtered or unexported fields
}
func (OpentelemetrySpan) AddEvents ¶
func (s OpentelemetrySpan) AddEvents(keys []string, values []EventValue)
func (OpentelemetrySpan) End ¶
func (s OpentelemetrySpan) End()
func (OpentelemetrySpan) RecordError ¶
func (s OpentelemetrySpan) RecordError(err error, options ...trace.EventOption)
func (OpentelemetrySpan) SetAttributes ¶
func (s OpentelemetrySpan) SetAttributes(key string, value interface{}, kv attribute.KeyValue)
func (OpentelemetrySpan) SetName ¶
func (s OpentelemetrySpan) SetName(name string)
type Opentracing ¶
type OpentracingSpan ¶
type OpentracingSpan struct {
// contains filtered or unexported fields
}
func (OpentracingSpan) AddEvents ¶
func (s OpentracingSpan) AddEvents(keys []string, values []EventValue)
func (OpentracingSpan) End ¶
func (s OpentracingSpan) End()
func (OpentracingSpan) RecordError ¶
func (s OpentracingSpan) RecordError(err error, options ...trace.EventOption)
func (OpentracingSpan) SetAttributes ¶
func (s OpentracingSpan) SetAttributes(key string, value interface{}, kv attribute.KeyValue)
func (OpentracingSpan) SetName ¶
func (s OpentracingSpan) SetName(name string)
Click to show internal directories.
Click to hide internal directories.