load

package
v1.16.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2017 License: MIT Imports: 1 Imported by: 6

Documentation

Index

Constants

View Source
const (
	// HostMetricNumOpenConns represents number of open conns per host
	HostMetricNumOpenConns = iota
	// HostMetricNumOpenExtents represents number of open extents per host
	HostMetricNumOpenExtents
	// HostMetricMsgsIn represents count of incoming messages per host
	HostMetricMsgsIn
	// HostMetricBytesIn represents count of incoming bytes per host
	HostMetricBytesIn
)
View Source
const (
	// DstMetricNumOpenConns represents number of open conns per dst
	DstMetricNumOpenConns = iota
	// DstMetricNumOpenExtents represents number of open extents per dst
	DstMetricNumOpenExtents
	// DstMetricMsgsIn represents count of incoming messages per dst
	DstMetricMsgsIn
	// DstMetricBytesIn represents count of incoming bytes per dst
	DstMetricBytesIn
)
View Source
const (
	// ExtentMetricMsgsIn represents count of incoming messages per extent
	ExtentMetricMsgsIn = iota
	// ExtentMetricBytesIn represents count of incoming bytes per extent
	ExtentMetricBytesIn
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DstMetrics

type DstMetrics struct {
	*common.CounterBank
}

DstMetrics represents load metrics aggregated at a destination level

func NewDstMetrics

func NewDstMetrics() *DstMetrics

NewDstMetrics returns a new instance of DstMetrics. Should be one instance per destination UUID

type ExtentMetrics

type ExtentMetrics struct {
	*common.CounterBank
}

ExtentMetrics represents load metrics that are aggregated at extent level

func NewExtentMetrics

func NewExtentMetrics() *ExtentMetrics

NewExtentMetrics returns a new instance of ExtentMetrics. Should be one instance per extent uuid.

type HostMetrics

type HostMetrics struct {
	*common.CounterBank
}

HostMetrics represents the load metrics that are aggregated at the input host level

func NewHostMetrics

func NewHostMetrics() *HostMetrics

NewHostMetrics returns a new instance of input host level load metrics. Should be one instance per input host

Jump to

Keyboard shortcuts

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