observability

package module
v0.0.0-...-e9b7b76 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 24, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetUpObservability

func SetUpObservability(serviceName string, serviceVersion string, opts ...TracingOption) (func(context.Context) error, error)

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL