Documentation ¶
Index ¶
- type Zipper
- func (z Zipper) FetchProtoV2(ctx context.Context, query []string, startTime, stopTime int32) (*protov2.MultiFetchResponse, *types.Stats, merry.Error)
- func (z Zipper) FetchProtoV3(ctx context.Context, request *protov3.MultiFetchRequest) (*protov3.MultiFetchResponse, *types.Stats, merry.Error)
- func (z Zipper) FindProtoV2(ctx context.Context, query []string) ([]*protov2.GlobResponse, *types.Stats, merry.Error)
- func (z Zipper) FindProtoV3(ctx context.Context, request *protov3.MultiGlobRequest) (*protov3.MultiGlobResponse, *types.Stats, merry.Error)
- func (z Zipper) InfoProtoV2(ctx context.Context, targets []string) (*protov2.ZipperInfoResponse, *types.Stats, merry.Error)
- func (z Zipper) InfoProtoV3(ctx context.Context, request *protov3.MultiGlobRequest) (*protov3.ZipperInfoResponse, *types.Stats, merry.Error)
- func (z Zipper) ListProtoV2(ctx context.Context) (*protov2.ListMetricsResponse, *types.Stats, merry.Error)
- func (z Zipper) ListProtoV3(ctx context.Context) (*protov3.ListMetricsResponse, *types.Stats, merry.Error)
- func (z Zipper) StatsProtoV2(ctx context.Context) (*protov2.MetricDetailsResponse, *types.Stats, merry.Error)
- func (z Zipper) StatsProtoV3(ctx context.Context) (*protov3.MetricDetailsResponse, *types.Stats, merry.Error)
- func (z Zipper) TagNames(ctx context.Context, query string, limit int64) ([]string, merry.Error)
- func (z Zipper) TagValues(ctx context.Context, query string, limit int64) ([]string, merry.Error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Zipper ¶
type Zipper struct { ProbeQuit chan struct{} ProbeForce chan int ScaleToCommonStep bool // contains filtered or unexported fields }
Zipper provides interface to Zipper-related functions
func NewZipper ¶
func NewZipper(sender func(*types.Stats), cfg *config.Config, logger *zap.Logger) (*Zipper, merry.Error)
NewZipper allows to create new Zipper
func (Zipper) FetchProtoV2 ¶
func (z Zipper) FetchProtoV2(ctx context.Context, query []string, startTime, stopTime int32) (*protov2.MultiFetchResponse, *types.Stats, merry.Error)
PB3-compatible methods
func (Zipper) FetchProtoV3 ¶
func (z Zipper) FetchProtoV3(ctx context.Context, request *protov3.MultiFetchRequest) (*protov3.MultiFetchResponse, *types.Stats, merry.Error)
GRPC-compatible methods
func (Zipper) FindProtoV2 ¶
func (Zipper) FindProtoV3 ¶
func (Zipper) InfoProtoV2 ¶
func (Zipper) InfoProtoV3 ¶
func (Zipper) ListProtoV2 ¶
func (Zipper) ListProtoV3 ¶
func (Zipper) StatsProtoV2 ¶
func (Zipper) StatsProtoV3 ¶
Click to show internal directories.
Click to hide internal directories.