filterlatency

package
v0.21.3-rc.0 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2021 License: Apache-2.0 Imports: 6 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