filterlatency

package
Version: v0.0.0-...-d88c8b5 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

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