obs

package
v0.4.2-beta Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2024 License: BSD-2-Clause Imports: 28 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