metrics

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CapabilitiesSelector added in v0.4.0

type CapabilitiesSelector struct {
	Tag          string                    `json:"tag"`
	Capabilities capabilities.Capabilities `json:"capabilities"`
}

type Sender

type Sender struct {
	// contains filtered or unexported fields
}

Sender - metrics sender.

func NewSender

func NewSender(
	statd *statsd.Client,
	pool *pool.Pool,
	duration time.Duration,
	capsMetricList []CapabilitiesSelector,
	capsComparator capabilities.ComparatorInterface,
) *Sender

NewSender - constructor of sender.

func (*Sender) SendAll

func (s *Sender) SendAll()

NewSender - sends metrics of nodes availability.

Jump to

Keyboard shortcuts

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