Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
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.
Click to show internal directories.
Click to hide internal directories.