Documentation ¶
Overview ¶
Package stdout contains an OpenTelemetry tracing exporter for writing to stdout.
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 NewExporter ¶
type Options ¶
type Options struct { // Writer is the destination. If not set, os.Stdout is used. Writer io.Writer // PrettyPrint will pretty the json representation of the span, // making it print "pretty". Default is false. PrettyPrint bool }
Options are the options to be used when initializing a stdout export.
Click to show internal directories.
Click to hide internal directories.