Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetUpObservability ¶
Types ¶
type ExporterOption ¶
type ExporterOption func(config *exporterConfig)
func WithExporterGrpcPort ¶
func WithExporterGrpcPort(port int32) ExporterOption
func WithExporterHost ¶
func WithExporterHost(host string) ExporterOption
func WithExporterHttpPort ¶
func WithExporterHttpPort(port int32) ExporterOption
func WithExporterTimeout ¶
func WithExporterTimeout(timeout time.Duration) ExporterOption
type NewTraceExporter ¶
type NewTraceExporter func(context.Context, ...ExporterOption) (sdktrace.SpanExporter, error)
type TracingOption ¶
type TracingOption func(config *tracingConfig)
func WithOtelGrpcTraceExporter ¶
func WithOtelGrpcTraceExporter(opts ...ExporterOption) TracingOption
func WithOtelHttpTraceExporter ¶
func WithOtelHttpTraceExporter(opts ...ExporterOption) TracingOption
Click to show internal directories.
Click to hide internal directories.