greeting

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

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

Go to latest
Published: Dec 15, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitTracing

func InitTracing() *sdk.TracerProvider

InitTracing initializes tracing.

Types

type Flush

type Flush interface {
	ForceFlush(context.Context) error
}

type HttpHandler

type HttpHandler = func(w http.ResponseWriter, r *http.Request)

func InstrumentedHandler

func InstrumentedHandler(functionName string, function HttpHandler, flusher Flush) HttpHandler

InstrumentedHandler wraps the function with OpenTelemetry instrumentation.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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