graphite

package
v0.17.0-patch2 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2024 License: BSD-2-Clause Imports: 16 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, requireSuccessAll bool) (types.BackendServer, merry.Error)

func NewWithLimiter

func NewWithLimiter(logger *zap.Logger, config types.BackendV2, tldCacheDisabled, requireSuccessAll 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