Documentation ¶
Index ¶
Constants ¶
View Source
const ( Ring string = "ring" RuntimeConfig string = "runtime-config" Overrides string = "overrides" Server string = "server" Distributor string = "distributor" Ingester string = "ingester" Querier string = "querier" QueryFrontend string = "query-frontend" Store string = "store" TableManager string = "table-manager" MemberlistKV string = "memberlist-kv" All string = "all" )
The various modules that make up Loki.
Variables ¶
View Source
var GRPCStreamAuthInterceptor = func(srv interface{}, ss grpc.ServerStream, info *grpc.StreamServerInfo, handler grpc.StreamHandler) error { switch info.FullMethod { case "/logproto.Ingester/TransferChunks", "/frontend.Frontend/Process": return handler(srv, ss) default: return middleware.StreamServerUserHeaderInterceptor(srv, ss, info, handler) } }
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Target string `yaml:"target,omitempty"` AuthEnabled bool `yaml:"auth_enabled,omitempty"` HTTPPrefix string `yaml:"http_prefix"` Server server.Config `yaml:"server,omitempty"` Distributor distributor.Config `yaml:"distributor,omitempty"` Querier querier.Config `yaml:"querier,omitempty"` IngesterClient client.Config `yaml:"ingester_client,omitempty"` Ingester ingester.Config `yaml:"ingester,omitempty"` StorageConfig storage.Config `yaml:"storage_config,omitempty"` ChunkStoreConfig chunk.StoreConfig `yaml:"chunk_store_config,omitempty"` SchemaConfig storage.SchemaConfig `yaml:"schema_config,omitempty"` LimitsConfig validation.Limits `yaml:"limits_config,omitempty"` TableManager chunk.TableManagerConfig `yaml:"table_manager,omitempty"` Worker frontend.WorkerConfig `yaml:"frontend_worker,omitempty"` Frontend lokifrontend.Config `yaml:"frontend,omitempty"` QueryRange queryrange.Config `yaml:"query_range,omitempty"` RuntimeConfig runtimeconfig.ManagerConfig `yaml:"runtime_config,omitempty"` MemberlistKV memberlist.KVConfig `yaml:"memberlist"` Tracing tracing.Config `yaml:"tracing"` }
Config is the root config for Loki.
func (*Config) Clone ¶ added in v1.6.0
func (c *Config) Clone() flagext.Registerer
Clone takes advantage of pass-by-value semantics to return a distinct *Config. This is primarily used to parse a different flag set without mutating the original *Config.
func (*Config) RegisterFlags ¶
RegisterFlags registers flag.
Click to show internal directories.
Click to hide internal directories.