Versions in this module Expand all Collapse all v0 v0.54.2 Jan 28, 2025 Changes in this version + type Handler struct + func New(logger log.Logger, o *Options) *Handler + func (h *Handler) ApplyConfig(conf *config.Config) error + func (h *Handler) Listener() (net.Listener, error) + func (h *Handler) Quit() <-chan struct{} + func (h *Handler) Reload() <-chan chan error + func (h *Handler) Run(ctx context.Context, listener net.Listener, webConfig string) error + func (h *Handler) SetReady(v bool) + type LocalStorage interface + type Options struct + AcceptRemoteWriteProtoMsgs []config.RemoteWriteProtoMsg + AppName string + CORSOrigin *regexp.Regexp + ConsoleLibrariesPath string + ConsoleTemplatesPath string + Context context.Context + EnableAdminAPI bool + EnableLifecycle bool + EnableOTLPWriteReceiver bool + EnableRemoteWriteReceiver bool + ExemplarStorage storage.ExemplarQueryable + ExternalURL *url.URL + Flags map[string]string + Gatherer prometheus.Gatherer + IsAgent bool + ListenAddress string + LocalStorage LocalStorage + LookbackDelta time.Duration + MaxConnections int + Notifier *notifier.Manager + PageTitle string + QueryEngine *promql.Engine + ReadTimeout time.Duration + Registerer prometheus.Registerer + RemoteReadBytesInFrame int + RemoteReadConcurrencyLimit int + RemoteReadSampleLimit int + RoutePrefix string + RuleManager *rules.Manager + ScrapeManager *scrape.Manager + Storage storage.Storage + TSDBDir string + TSDBMaxBytes units.Base2Bytes + TSDBRetentionDuration model.Duration + UseLocalAssets bool + UserAssetsPath string + Version *PrometheusVersion + type PrometheusVersion = api_v1.PrometheusVersion v0.54.1-promotel-v1.0.0 Jan 28, 2025