Documentation ¶
Overview ¶
Package texttrace is a span exporter for otel that outputs to the ex text console format
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Exporter ¶
type Exporter struct {
// contains filtered or unexported fields
}
Exporter is an implementation of trace.SpanSyncer that writes spans to stdout.
func (*Exporter) ExportSpans ¶
ExportSpans writes spans in json format to stdout.
func (*Exporter) MarshalLog ¶
MarshalLog is the marshaling function used by the logging system to represent this exporter.
Click to show internal directories.
Click to hide internal directories.