obs

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLoggingMiddleware

func GetLoggingMiddleware(next http.Handler) http.Handler

Types

type OtelProvider

type OtelProvider struct {
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context, info meta.Data) (*OtelProvider, error)

func (*OtelProvider) InstrRouter

func (o *OtelProvider) InstrRouter(name string, r *mux.Router)

func (*OtelProvider) InstrumentGrpcServer

func (o *OtelProvider) InstrumentGrpcServer() grpc.ServerOption

func (*OtelProvider) Shutdown

func (o *OtelProvider) Shutdown(ctx context.Context) error

Jump to

Keyboard shortcuts

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