Versions in this module Expand all Collapse all v2 v2.0.0 Jun 14, 2023 Changes in this version + const All + const Analytics + const Backend + const CacheGenerationLoader + const Compactor + const Distributor + const IndexGateway + const IndexGatewayRing + const Ingester + const IngesterQuerier + const InternalServer + const MemberlistKV + const Overrides + const OverridesExporter + const Querier + const QueryFrontend + const QueryFrontendTripperware + const QueryLimiter + const QueryLimitsInterceptors + const QueryLimitsTripperware + const QueryScheduler + const QuerySchedulerRing + const Read + const Ring + const RuleEvaluator + const Ruler + const RulerStorage + const RuntimeConfig + const Server + const Store + const TableManager + const TenantConfigs + const Write + var ErrTooManyStorageConfigs = errors.New(...) + func AdjustForTimeoutsMigration(c *Config) error + func DisableSignalHandling(config *server.Config) + func NewServerService(serv *server.Server, servicesToWaitFor func() []services.Service) services.Service + func PrintVersion(args []string) bool + func ValidateConfigCompatibility(c Config) error + type Config struct + Analytics analytics.Config + AuthEnabled bool + BallastBytes int + ChunkStoreConfig config.ChunkStoreConfig + Common common.Config + CompactorConfig compactor.Config + CompactorGRPCClient compactor_client.GRPCConfig + CompactorHTTPClient compactor_client.HTTPConfig + Distributor distributor.Config + Frontend lokifrontend.Config + HTTPPrefix string + IndexGateway indexgateway.Config + Ingester ingester.Config + IngesterClient ingester_client.Config + InternalServer internalserver.Config + LegacyReadTarget bool + LimitsConfig validation.Limits + MemberlistKV memberlist.KVConfig + Querier querier.Config + QueryRange queryrange.Config + QueryScheduler scheduler.Config + Ruler ruler.Config + RuntimeConfig runtimeconfig.Config + SchemaConfig config.SchemaConfig + Server server.Config + ShutdownDelay time.Duration + StorageConfig storage.Config + TableManager index.TableManagerConfig + Target flagext.StringSliceCSV + Tracing tracing.Config + UseBufferedLogger bool + UseSyncLogger bool + Worker worker.Config + func (c *Config) Clone() flagext.Registerer + func (c *Config) RegisterFlags(f *flag.FlagSet) + func (c *Config) Validate() error + type ConfigWrapper struct + ConfigExpandEnv bool + ConfigFile string + ListTargets bool + LogConfig bool + PrintConfig bool + VerifyConfig bool + func (c *ConfigWrapper) ApplyDynamicConfig() cfg.Source + func (c *ConfigWrapper) Clone() flagext.Registerer + func (c *ConfigWrapper) RegisterFlags(f *flag.FlagSet) + type FormatQueryResponse struct + Data string + Err string + Status string + type Frontend interface + CheckReady func(_ context.Context) error + type Loki struct + Cfg Config + HTTPAuthMiddleware middleware.Interface + Ingester ingester.Interface + InternalServer *server.Server + MemberlistKV *memberlist.KVInitService + ModuleManager *modules.Manager + Overrides limiter.CombinedLimits + Querier querier.Querier + QueryFrontEndTripperware basetripper.Tripperware + RulerStorage rulestore.RuleStore + Server *server.Server + SignalHandler *signals.Handler + Store storage.Store + TenantLimits validation.TenantLimits + func New(cfg Config) (*Loki, error) + func (t *Loki) ListTargets() + func (t *Loki) Run(opts RunOpts) error + type RunOpts struct + CustomConfigEndpointHandlerFn func(http.ResponseWriter, *http.Request)