Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collector ¶
type Collector struct {
// contains filtered or unexported fields
}
Collector defines a metrics collector
func (*Collector) CurrentStats ¶
CurrentStats returns current stats
type Proxy ¶
type Proxy struct {
// WaitingForPods indicates if the proxy is holding requests waiting for pods to be avialable
WaitingForPods bool `json:"waitingForPods"`
// LastRequest seconds since the last request
LastRequest int `json:"lastRequest"`
// PendingRequests number of requests pending to be processed by the proxy
PendingRequests int `json:"pendingRequest"`
// EndpointCount number of running pods
EndpointCount int `json:"endpointCount"`
}
Proxy holds metrics
Click to show internal directories.
Click to hide internal directories.