outlier

package
v0.0.0-...-3611cfd Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BalanceTracker

type BalanceTracker interface {
	Track(key int32, value string)
	IsBalanced(key int32) bool
	Close()
}

func NewBalanceTracker

func NewBalanceTracker(
	sampleEvery int,
	minTrackedPerInterval int64,
	numBuckets int,
	balanceRatio float64,
	receiver metrics.Receiver,
) BalanceTracker

type KeyVal

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

type NullBalanceTracker

type NullBalanceTracker struct{}

func (*NullBalanceTracker) Close

func (t *NullBalanceTracker) Close()

func (*NullBalanceTracker) IsBalanced

func (t *NullBalanceTracker) IsBalanced(key int32) bool

func (*NullBalanceTracker) Track

func (t *NullBalanceTracker) Track(key int32, value string)

Jump to

Keyboard shortcuts

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