Documentation ¶
Index ¶
- func New(logger *zap.Logger, config types.BackendV2, tldCacheDisabled bool) (types.BackendServer, merry.Error)
- func NewWithLimiter(logger *zap.Logger, config types.BackendV2, tldCacheDisabled bool, ...) (types.BackendServer, merry.Error)
- type GraphiteGroup
- func (c GraphiteGroup) Backends() []string
- func (g *GraphiteGroup) Children() []types.BackendServer
- func (c *GraphiteGroup) Fetch(ctx context.Context, request *protov3.MultiFetchRequest) (*protov3.MultiFetchResponse, *types.Stats, merry.Error)
- func (c *GraphiteGroup) Find(ctx context.Context, request *protov3.MultiGlobRequest) (*protov3.MultiGlobResponse, *types.Stats, merry.Error)
- func (c *GraphiteGroup) Info(ctx context.Context, request *protov3.MultiMetricsInfoRequest) (*protov3.ZipperInfoResponse, *types.Stats, merry.Error)
- func (c *GraphiteGroup) List(ctx context.Context) (*protov3.ListMetricsResponse, *types.Stats, merry.Error)
- func (c GraphiteGroup) MaxMetricsPerRequest() int
- func (c GraphiteGroup) Name() string
- func (c *GraphiteGroup) ProbeTLDs(ctx context.Context) ([]string, merry.Error)
- func (c *GraphiteGroup) Stats(ctx context.Context) (*protov3.MetricDetailsResponse, *types.Stats, merry.Error)
- func (c *GraphiteGroup) TagNames(ctx context.Context, query string, limit int64) ([]string, merry.Error)
- func (c *GraphiteGroup) TagValues(ctx context.Context, query string, limit int64) ([]string, merry.Error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewWithLimiter ¶
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 (c *GraphiteGroup) Fetch(ctx context.Context, request *protov3.MultiFetchRequest) (*protov3.MultiFetchResponse, *types.Stats, merry.Error)
func (*GraphiteGroup) Find ¶
func (c *GraphiteGroup) Find(ctx context.Context, request *protov3.MultiGlobRequest) (*protov3.MultiGlobResponse, *types.Stats, merry.Error)
func (*GraphiteGroup) Info ¶
func (c *GraphiteGroup) Info(ctx context.Context, request *protov3.MultiMetricsInfoRequest) (*protov3.ZipperInfoResponse, *types.Stats, merry.Error)
func (*GraphiteGroup) List ¶
func (c *GraphiteGroup) List(ctx context.Context) (*protov3.ListMetricsResponse, *types.Stats, merry.Error)
func (GraphiteGroup) MaxMetricsPerRequest ¶
func (c GraphiteGroup) MaxMetricsPerRequest() int
func (GraphiteGroup) Name ¶
func (c GraphiteGroup) Name() string
func (*GraphiteGroup) Stats ¶
func (c *GraphiteGroup) Stats(ctx context.Context) (*protov3.MetricDetailsResponse, *types.Stats, merry.Error)
Click to show internal directories.
Click to hide internal directories.