Documentation
¶
Overview ¶
Package export holds the definition of the telemetry Exporter interface, along with some simple implementations. Larger more complex exporters are in sub packages of their own.
Index ¶
- func ContextSpan(ctx context.Context, event telemetry.Event) context.Context
- func Detach(ctx context.Context) context.Context
- func Metric(ctx context.Context, data telemetry.MetricData)
- func ProcessEvent(ctx context.Context, event telemetry.Event) context.Context
- func SetExporter(e Exporter)
- func Tag(ctx context.Context, at time.Time, tags telemetry.TagList)
- type Exporter
- type Span
- type SpanContext
- type SpanID
- type TraceID
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Detach ¶
Detach returns a context without an associated span. This allows the creation of spans that are not children of the current span.
func SetExporter ¶
func SetExporter(e Exporter)
Types ¶
type Exporter ¶
type Span ¶
type SpanContext ¶
Directories
¶
Path | Synopsis |
---|---|
Package ocagent adds the ability to export all telemetry to an ocagent.
|
Package ocagent adds the ability to export all telemetry to an ocagent. |
Click to show internal directories.
Click to hide internal directories.