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