Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSpanExporters ¶
func NewSpanExporters(ctx context.Context) ([]trace.SpanExporter, error)
NewSpanExporters returns a list of trace.SpanExporter based on the OTEL_* environment variables which are standardized. Unfortunately, they are not yet supported by opentelemetry-go by default. Once they are, we can likely remove most of this code.
Specs: - https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/sdk-environment-variables.md#exporter-selection - https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/protocol/exporter.md
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.