filterlatency

package
v0.23.2 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2022 License: Apache-2.0 Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TrackCompleted

func TrackCompleted(handler http.Handler) http.Handler

TrackCompleted measures the timestamp the given handler has completed execution and then it updates the corresponding metric with the filter latency duration.

func TrackStarted

func TrackStarted(handler http.Handler, name string) http.Handler

TrackStarted measures the timestamp the given handler has started execution by attaching a handler to the chain.

Types

This section is empty.

Jump to

Keyboard shortcuts

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