Documentation ¶
Index ¶
- Variables
- type Tracer
- func (Tracer) CopyTraceContext(src, dst context.Context) context.Context
- func (Tracer) Emit(ctx context.Context, e trace.Event) (context.Context, error)
- func (Tracer) Flush()
- func (Tracer) Help() string
- func (Tracer) ReadHTTPContext(ctx context.Context, h http.Header) context.Context
- func (Tracer) URL(ctx context.Context) string
- func (Tracer) WriteHTTPContext(ctx context.Context, h *http.Header)
Constants ¶
This section is empty.
Variables ¶
View Source
var Xray trace.Tracer = Tracer{}
Xray is the xray tracer.
Functions ¶
This section is empty.
Types ¶
type Tracer ¶
type Tracer struct{}
Tracer is the reflow tracer implementation for xray.
func (Tracer) CopyTraceContext ¶
CopyTraceContext copies the trace context from src to dst.
func (Tracer) ReadHTTPContext ¶
ReadHTTPContext reads the trace context from HTTP headers and returns a new context with the trace context.
Click to show internal directories.
Click to hide internal directories.