graphite

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2022 License: BSD-2-Clause Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(logger *zap.Logger, config types.BackendV2, tldCacheDisabled bool) (types.BackendServer, merry.Error)

func NewWithLimiter

func NewWithLimiter(logger *zap.Logger, config types.BackendV2, tldCacheDisabled bool, limiter limiter.ServerLimiter) (types.BackendServer, merry.Error)

Types

type GraphiteGroup

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

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

func (GraphiteGroup) Backends

func (c GraphiteGroup) Backends() []string

func (*GraphiteGroup) Children

func (g *GraphiteGroup) Children() []types.BackendServer

func (*GraphiteGroup) Fetch

func (*GraphiteGroup) Find

func (*GraphiteGroup) Info

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, merry.Error)

func (*GraphiteGroup) Stats

func (*GraphiteGroup) TagNames

func (c *GraphiteGroup) TagNames(ctx context.Context, query string, limit int64) ([]string, merry.Error)

func (*GraphiteGroup) TagValues

func (c *GraphiteGroup) TagValues(ctx context.Context, query string, limit int64) ([]string, merry.Error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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