Versions in this module Expand all Collapse all v1 v1.7.2 Feb 15, 2018 Changes in this version + type AlertStatus struct + AlertStateToRowClass map[rules.AlertState]string + AlertingRules []*rules.AlertingRule + type Handler struct + func New(logger log.Logger, o *Options) *Handler + func (h *Handler) ApplyConfig(conf *config.Config) error + func (h *Handler) Quit() <-chan struct{} + func (h *Handler) Ready() + func (h *Handler) Reload() <-chan chan error + func (h *Handler) Run(ctx context.Context) error + type Options struct + ConsoleLibrariesPath string + ConsoleTemplatesPath string + Context context.Context + EnableAdminAPI bool + EnableLifecycle bool + ExternalURL *url.URL + Flags map[string]string + ListenAddress string + MaxConnections int + MetricsPath string + Notifier *notifier.Manager + QueryEngine *promql.Engine + ReadTimeout time.Duration + RoutePrefix string + RuleManager *rules.Manager + ScrapeManager *scrape.Manager + Storage storage.Storage + TSDB func() *tsdb.DB + UseLocalAssets bool + UserAssetsPath string + Version *PrometheusVersion + type PrometheusVersion struct + Branch string + BuildDate string + BuildUser string + GoVersion string + Revision string + Version string