Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Exporter ¶
type Exporter struct { Buffer *string // contains filtered or unexported fields }
Exporter is an OpenTelemetry string exporter.
func NewStringExporter ¶
NewStringExporter returns a new string exporter instance.
It is very useful in testing scenario where we want to validate trace propagation.
func (*Exporter) ExportSpans ¶ added in v1.9.0
ExportSpan exports span content to the buffer.
Click to show internal directories.
Click to hide internal directories.