package filterlatency
import "k8s.io/apiserver/pkg/endpoints/filterlatency"
Index ¶
- func TrackCompleted(handler http.Handler) http.Handler
- func TrackStarted(handler http.Handler, tp trace.TracerProvider, name string) http.Handler
Functions ¶
func TrackCompleted ¶
TrackCompleted measures the timestamp the given handler has completed execution and then it updates the corresponding metric with the filter latency duration.
func TrackStarted ¶
TrackStarted measures the timestamp the given handler has started execution by attaching a handler to the chain.
Source Files ¶
filterlatency.go
- Version
- v0.33.0 (latest)
- Published
- Apr 23, 2025
- Platform
- linux/amd64
- Imports
- 10 packages
- Last checked
- 1 hour ago –
Tools for package owners.