package
0.0.0-20180911130330-d3ccc4fb1d66
Repository: https://github.com/rglyons/kube-arangodb.git
Documentation: pkg.go.dev

# Functions

CleanScope returns the scope of the request.
InstrumentHandlerFunc works like Prometheus' InstrumentHandlerFunc but adds some Kubernetes endpoint specific information.
InstrumentRouteFunc works like Prometheus' InstrumentHandlerFunc but wraps the go-restful RouteFunction instead of a HandlerFunc plus some Kubernetes endpoint specific information.
MonitorRequest handles standard transformations for client and the reported verb and then invokes Monitor to record a request.
Record records a single request to the standard metrics endpoints.
RecordLongRunning tracks the execution of a long running request against the API server.
Register all metrics.
Reset all metrics.
No description provided by the author

# Constants

MutatingKind is a string identifying mutating request kind.
ReadOnlyKind is a string identifying read only request kind.

# Variables

DroppedRequests is a number of requests dropped with 'Try again later' response".
RegisteredWatchers is a number of currently registered watchers splitted by resource.

# Structs

ResponseWriterDelegator interface wraps http.ResponseWriter to additionally record content-length, status-code, etc.