Documentation ¶
Overview ¶
Package telemetry provides a simple way to set up OpenTelemetry SDK.
nolint: ireturn
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option func(*options)
Option is a function that configures the OTEL SDK.
func WithMetricExporter ¶
WithMetricExporter sets the metric exporter.
func WithMetricReader ¶
WithMetricReader sets the metric reader.
func WithTraceExporter ¶
func WithTraceExporter(exporter trace.SpanExporter) Option
WithTraceExporter sets the trace exporter.
Click to show internal directories.
Click to hide internal directories.