v2

package
v0.0.0-...-b9a9d18 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2019 License: BSD-2-Clause Imports: 16 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(logger *zap.Logger, config types.BackendV2) (types.ServerClient, *errors.Errors)

func NewWithLimiter

func NewWithLimiter(logger *zap.Logger, config types.BackendV2, limiter *limiter.ServerLimiter) (types.ServerClient, *errors.Errors)

Types

type GraphiteGroup

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

RoundRobin is used to connect to backends inside clientGroups, implements ServerClient interface

func (GraphiteGroup) Backends

func (c GraphiteGroup) Backends() []string

func (*GraphiteGroup) Fetch

func (*GraphiteGroup) Find

func (*GraphiteGroup) List

func (GraphiteGroup) MaxMetricsPerRequest

func (c GraphiteGroup) MaxMetricsPerRequest() int

func (GraphiteGroup) Name

func (c GraphiteGroup) Name() string

func (*GraphiteGroup) ProbeTLDs

func (c *GraphiteGroup) ProbeTLDs(ctx context.Context) ([]string, *errors.Errors)

func (*GraphiteGroup) Stats

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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