Versions in this module Expand all Collapse all v0 v0.3.0 Jul 11, 2022 v0.2.0 Jun 11, 2021 Changes in this version type Backend + GetServerAddress func() string v0.1.0 Jan 30, 2019 Changes in this version + func Finds(ctx context.Context, backends []Backend, request types.FindRequest) (types.Matches, error) + func Infos(ctx context.Context, backends []Backend, request types.InfoRequest) ([]types.Info, error) + func Renders(ctx context.Context, backends []Backend, request types.RenderRequest) ([]types.Metric, error) + type Backend interface + Contains func([]string) bool + Find func(context.Context, types.FindRequest) (types.Matches, error) + Info func(context.Context, types.InfoRequest) ([]types.Info, error) + Logger func() *zap.Logger + Probe func() + Render func(context.Context, types.RenderRequest) ([]types.Metric, error) + func Filter(backends []Backend, targets []string) []Backend