apiserverk8s.io/apiserver/pkg/endpoints/filterlatency Index | Files

package filterlatency

import "k8s.io/apiserver/pkg/endpoints/filterlatency"

Index

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, tp trace.TracerProvider, name string) http.Handler

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

Source Files

filterlatency.go

Version
v0.28.14
Published
Sep 11, 2024
Platform
js/wasm
Imports
10 packages
Last checked
3 minutes ago

Tools for package owners.