Versions in this module Expand all Collapse all v0 v0.13.1 Nov 28, 2019 v0.13.0 Sep 17, 2019 v0.12.0 May 14, 2019 v0.11.0 Dec 19, 2018 Changes in this version + var Addr string + var InvalidFormatErr = errors.New("invalid format specified") + var InvalidTimeRangeErr = errors.New("invalid time range requested") + var MissingOrgHeaderErr = errors.New("orgId not set in headers") + var MissingQueryErr = errors.New("missing query param") + var NotFoundErr = errors.New("not found") + var UseSSL bool + func BuildMetadataSeriesSet(seriesNames []Series) (*models.PrometheusSeriesSet, error) + func ConfigProcess() + func ConfigSetup() + func Fix(in []schema.Point, from, to, interval uint32) []schema.Point + func NewGraphiteProxy(u *url.URL) *httputil.ReverseProxy + func NewQuerier(ctx context.Context, s *Server, from, to uint32, orgId uint32, ...) storage.Querier + func SeriesToSeriesSet(out []models.Series) (*models.PrometheusSeriesSet, error) + type PeerResponse struct + type PrioritySetter interface + ExplainPriority func() interface{} + type Series struct + Node cluster.Node + Pattern string + Series []idx.Node + type Server struct + Addr string + BackendStore mdata.Store + Cache cache.Cache + Macaron *macaron.Macaron + MemoryStore mdata.Metrics + MetricIndex idx.MetricIndex + PromQueryEngine *promql.Engine + SSL bool + Tracer opentracing.Tracer + func NewServer() (*Server, error) + func (s *Server) BindBackendStore(store mdata.Store) + func (s *Server) BindCache(cache cache.Cache) + func (s *Server) BindMemoryStore(store mdata.Metrics) + func (s *Server) BindMetricIndex(i idx.MetricIndex) + func (s *Server) BindPrioritySetter(p PrioritySetter) + func (s *Server) BindPromQueryEngine() + func (s *Server) BindTracer(tracer opentracing.Tracer) + func (s *Server) Querier(ctx context.Context, min, max int64) (storage.Querier, error) + func (s *Server) RegisterRoutes() + func (s *Server) Run() + func (s *Server) Stop()