Documentation ¶
Index ¶
- func New(logger *zap.Logger, config types.BackendV2, tldCacheDisabled bool) (types.BackendServer, merry.Error)
- func NewWithEverythingInitialized(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 PrometheusGroup
- func (c PrometheusGroup) Backends() []string
- func (c *PrometheusGroup) Children() []types.BackendServer
- func (c *PrometheusGroup) Fetch(ctx context.Context, request *protov3.MultiFetchRequest) (*protov3.MultiFetchResponse, *types.Stats, merry.Error)
- func (c *PrometheusGroup) Find(ctx context.Context, request *protov3.MultiGlobRequest) (*protov3.MultiGlobResponse, *types.Stats, merry.Error)
- func (c *PrometheusGroup) Info(ctx context.Context, request *protov3.MultiMetricsInfoRequest) (*protov3.ZipperInfoResponse, *types.Stats, merry.Error)
- func (c *PrometheusGroup) List(ctx context.Context) (*protov3.ListMetricsResponse, *types.Stats, merry.Error)
- func (c PrometheusGroup) MaxMetricsPerRequest() int
- func (c PrometheusGroup) Name() string
- func (c *PrometheusGroup) ProbeTLDs(ctx context.Context) ([]string, merry.Error)
- func (c *PrometheusGroup) Stats(ctx context.Context) (*protov3.MetricDetailsResponse, *types.Stats, merry.Error)
- func (c *PrometheusGroup) TagNames(ctx context.Context, query string, limit int64) ([]string, merry.Error)
- func (c *PrometheusGroup) TagValues(ctx context.Context, query string, limit int64) ([]string, merry.Error)
- type StartDelay
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewWithEverythingInitialized ¶ added in v0.14.2
func NewWithLimiter ¶
Types ¶
type PrometheusGroup ¶
type PrometheusGroup struct {
// contains filtered or unexported fields
}
RoundRobin is used to connect to backends inside clientGroups, implements BackendServer interface
func (PrometheusGroup) Backends ¶
func (c PrometheusGroup) Backends() []string
func (*PrometheusGroup) Children ¶
func (c *PrometheusGroup) Children() []types.BackendServer
func (*PrometheusGroup) Fetch ¶
func (c *PrometheusGroup) Fetch(ctx context.Context, request *protov3.MultiFetchRequest) (*protov3.MultiFetchResponse, *types.Stats, merry.Error)
func (*PrometheusGroup) Find ¶
func (c *PrometheusGroup) Find(ctx context.Context, request *protov3.MultiGlobRequest) (*protov3.MultiGlobResponse, *types.Stats, merry.Error)
func (*PrometheusGroup) Info ¶
func (c *PrometheusGroup) Info(ctx context.Context, request *protov3.MultiMetricsInfoRequest) (*protov3.ZipperInfoResponse, *types.Stats, merry.Error)
func (*PrometheusGroup) List ¶
func (c *PrometheusGroup) List(ctx context.Context) (*protov3.ListMetricsResponse, *types.Stats, merry.Error)
func (PrometheusGroup) MaxMetricsPerRequest ¶
func (c PrometheusGroup) MaxMetricsPerRequest() int
func (PrometheusGroup) Name ¶
func (c PrometheusGroup) Name() string
func (*PrometheusGroup) Stats ¶
func (c *PrometheusGroup) Stats(ctx context.Context) (*protov3.MetricDetailsResponse, *types.Stats, merry.Error)
Click to show internal directories.
Click to hide internal directories.