metrics

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 30, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL