Documentation ¶
Index ¶
- Variables
- type HubMetrics
- func (hm *HubMetrics) AddProxyTrafficCollector(client, verb, resource, subresource string, size int)
- func (hm *HubMetrics) DecClosableConns(server string)
- func (hm *HubMetrics) DecInFlightRequests(verb, resource, subresource, client string)
- func (hm *HubMetrics) IncClosableConns(server string)
- func (hm *HubMetrics) IncInFlightRequests(verb, resource, subresource, client string)
- func (hm *HubMetrics) IncRejectedRequestCounter()
- func (hm *HubMetrics) ObserveServerHealthy(server string, status int)
- func (hm *HubMetrics) Reset()
- func (hm *HubMetrics) SetClosableConns(server string, cnt int)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// Metrics provides access to all hub agent metrics.
Metrics = newHubMetrics()
)
Functions ¶
This section is empty.
Types ¶
type HubMetrics ¶
type HubMetrics struct {
// contains filtered or unexported fields
}
func (*HubMetrics) AddProxyTrafficCollector ¶ added in v0.4.1
func (hm *HubMetrics) AddProxyTrafficCollector(client, verb, resource, subresource string, size int)
func (*HubMetrics) DecClosableConns ¶
func (hm *HubMetrics) DecClosableConns(server string)
func (*HubMetrics) DecInFlightRequests ¶
func (hm *HubMetrics) DecInFlightRequests(verb, resource, subresource, client string)
func (*HubMetrics) IncClosableConns ¶
func (hm *HubMetrics) IncClosableConns(server string)
func (*HubMetrics) IncInFlightRequests ¶
func (hm *HubMetrics) IncInFlightRequests(verb, resource, subresource, client string)
func (*HubMetrics) IncRejectedRequestCounter ¶
func (hm *HubMetrics) IncRejectedRequestCounter()
func (*HubMetrics) ObserveServerHealthy ¶
func (hm *HubMetrics) ObserveServerHealthy(server string, status int)
func (*HubMetrics) Reset ¶
func (hm *HubMetrics) Reset()
func (*HubMetrics) SetClosableConns ¶
func (hm *HubMetrics) SetClosableConns(server string, cnt int)
Click to show internal directories.
Click to hide internal directories.