Documentation ¶
Index ¶
- func New(logger *zap.Logger, config types.BackendV2) (types.ServerClient, *errors.Errors)
- func NewWithLimiter(logger *zap.Logger, config types.BackendV2, limiter *limiter.ServerLimiter) (types.ServerClient, *errors.Errors)
- type AutoGroup
- func (c AutoGroup) Backends() []string
- func (c *AutoGroup) Fetch(ctx context.Context, request *protov3.MultiFetchRequest) (*protov3.MultiFetchResponse, *types.Stats, *errors.Errors)
- func (c *AutoGroup) Find(ctx context.Context, request *protov3.MultiGlobRequest) (*protov3.MultiGlobResponse, *types.Stats, *errors.Errors)
- func (c *AutoGroup) Info(ctx context.Context, request *protov3.MultiMetricsInfoRequest) (*protov3.ZipperInfoResponse, *types.Stats, *errors.Errors)
- func (c *AutoGroup) List(ctx context.Context) (*protov3.ListMetricsResponse, *types.Stats, *errors.Errors)
- func (c AutoGroup) MaxMetricsPerRequest() int
- func (c AutoGroup) Name() string
- func (c *AutoGroup) ProbeTLDs(ctx context.Context) ([]string, *errors.Errors)
- func (c *AutoGroup) Stats(ctx context.Context) (*protov3.MetricDetailsResponse, *types.Stats, *errors.Errors)
- type CapabilityResponse
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.ServerClient, *errors.Errors)
Types ¶
type AutoGroup ¶
type AutoGroup struct {
// contains filtered or unexported fields
}
RoundRobin is used to connect to backends inside clientGroups, implements ServerClient interface
func (AutoGroup) MaxMetricsPerRequest ¶
type CapabilityResponse ¶
Click to show internal directories.
Click to hide internal directories.