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 ClientProtoV2Group
- func (c ClientProtoV2Group) Backends() []string
- func (c *ClientProtoV2Group) Children() []types.BackendServer
- func (c *ClientProtoV2Group) Fetch(ctx context.Context, request *protov3.MultiFetchRequest) (*protov3.MultiFetchResponse, *types.Stats, merry.Error)
- func (c *ClientProtoV2Group) Find(ctx context.Context, request *protov3.MultiGlobRequest) (*protov3.MultiGlobResponse, *types.Stats, merry.Error)
- func (c *ClientProtoV2Group) Info(ctx context.Context, request *protov3.MultiMetricsInfoRequest) (*protov3.ZipperInfoResponse, *types.Stats, merry.Error)
- func (c *ClientProtoV2Group) List(ctx context.Context) (*protov3.ListMetricsResponse, *types.Stats, merry.Error)
- func (c ClientProtoV2Group) MaxMetricsPerRequest() int
- func (c ClientProtoV2Group) Name() string
- func (c *ClientProtoV2Group) ProbeTLDs(ctx context.Context) ([]string, merry.Error)
- func (c *ClientProtoV2Group) Stats(ctx context.Context) (*protov3.MetricDetailsResponse, *types.Stats, merry.Error)
- func (c *ClientProtoV2Group) TagNames(ctx context.Context, query string, limit int64) ([]string, merry.Error)
- func (c *ClientProtoV2Group) 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 ClientProtoV2Group ¶
type ClientProtoV2Group struct {
// contains filtered or unexported fields
}
RoundRobin is used to connect to backends inside clientGroups, implements BackendServer interface
func (ClientProtoV2Group) Backends ¶
func (c ClientProtoV2Group) Backends() []string
func (*ClientProtoV2Group) Children ¶
func (c *ClientProtoV2Group) Children() []types.BackendServer
func (*ClientProtoV2Group) Fetch ¶
func (c *ClientProtoV2Group) Fetch(ctx context.Context, request *protov3.MultiFetchRequest) (*protov3.MultiFetchResponse, *types.Stats, merry.Error)
func (*ClientProtoV2Group) Find ¶
func (c *ClientProtoV2Group) Find(ctx context.Context, request *protov3.MultiGlobRequest) (*protov3.MultiGlobResponse, *types.Stats, merry.Error)
func (*ClientProtoV2Group) Info ¶
func (c *ClientProtoV2Group) Info(ctx context.Context, request *protov3.MultiMetricsInfoRequest) (*protov3.ZipperInfoResponse, *types.Stats, merry.Error)
func (*ClientProtoV2Group) List ¶
func (c *ClientProtoV2Group) List(ctx context.Context) (*protov3.ListMetricsResponse, *types.Stats, merry.Error)
func (ClientProtoV2Group) MaxMetricsPerRequest ¶
func (c ClientProtoV2Group) MaxMetricsPerRequest() int
func (ClientProtoV2Group) Name ¶
func (c ClientProtoV2Group) Name() string
func (*ClientProtoV2Group) Stats ¶
func (c *ClientProtoV2Group) Stats(ctx context.Context) (*protov3.MetricDetailsResponse, *types.Stats, merry.Error)
Click to show internal directories.
Click to hide internal directories.