Documentation ¶
Index ¶
- func New(logger *zap.Logger, config types.BackendV2) (types.BackendServer, *errors.Errors)
- func NewWithLimiter(logger *zap.Logger, config types.BackendV2, limiter *limiter.ServerLimiter) (types.BackendServer, *errors.Errors)
- 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, *errors.Errors)
- func (c *ClientProtoV3Group) Find(ctx context.Context, request *protov3.MultiGlobRequest) (*protov3.MultiGlobResponse, *types.Stats, *errors.Errors)
- func (c *ClientProtoV3Group) Info(ctx context.Context, request *protov3.MultiMetricsInfoRequest) (*protov3.ZipperInfoResponse, *types.Stats, *errors.Errors)
- func (c *ClientProtoV3Group) List(ctx context.Context) (*protov3.ListMetricsResponse, *types.Stats, *errors.Errors)
- func (c ClientProtoV3Group) MaxMetricsPerRequest() int
- func (c ClientProtoV3Group) Name() string
- func (c *ClientProtoV3Group) ProbeTLDs(ctx context.Context) ([]string, *errors.Errors)
- func (c *ClientProtoV3Group) Stats(ctx context.Context) (*protov3.MetricDetailsResponse, *types.Stats, *errors.Errors)
- func (c *ClientProtoV3Group) TagNames(ctx context.Context, query string, limit int64) ([]string, *errors.Errors)
- func (c *ClientProtoV3Group) TagValues(ctx context.Context, query string, limit int64) ([]string, *errors.Errors)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewWithLimiter ¶
func NewWithLimiter(logger *zap.Logger, config types.BackendV2, limiter *limiter.ServerLimiter) (types.BackendServer, *errors.Errors)
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, *errors.Errors)
func (*ClientProtoV3Group) Find ¶
func (c *ClientProtoV3Group) Find(ctx context.Context, request *protov3.MultiGlobRequest) (*protov3.MultiGlobResponse, *types.Stats, *errors.Errors)
func (*ClientProtoV3Group) Info ¶
func (c *ClientProtoV3Group) Info(ctx context.Context, request *protov3.MultiMetricsInfoRequest) (*protov3.ZipperInfoResponse, *types.Stats, *errors.Errors)
func (*ClientProtoV3Group) List ¶
func (c *ClientProtoV3Group) List(ctx context.Context) (*protov3.ListMetricsResponse, *types.Stats, *errors.Errors)
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, *errors.Errors)
Click to show internal directories.
Click to hide internal directories.