Documentation
¶
Index ¶
Constants ¶
View Source
const ( TemplateStorage string = "template-storage" CtrlManager string = "ctrl-manager" InfoProviders string = "info-providers" Apps string = "apps" Agents string = "agents" Exporters string = "exporters" Capsules string = "capsules" All string = "all" )
The various modules that make up Mimir.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Target flagext.StringSliceCSV `yaml:"target"`
EnableGoRuntimeMetrics bool `yaml:"enable_go_runtime_metrics" category:"advanced"`
ShutdownDelay time.Duration `yaml:"shutdown_delay" category:"experimental"`
PrintConfig bool `yaml:"-"`
ApplicationName string `yaml:"-"`
Logging logging.Config `yaml:"logging"`
Manager manager.Config `yaml:"manager"`
Apps apps.Config `yaml:"apps"`
Exporters exporters.Config `yaml:"exporters"`
TemplateStore category.Config `yaml:"template_store"`
}
func (*Config) RegisterFlags ¶
type Operator ¶
type Operator struct {
Cfg Config
Registerer prometheus.Registerer
// set during initialization
ServiceMap map[string]services.Service
ModuleManager *modules.Manager
TemplateStore provider.CategryTemplateProvider
ControllerManager manager.CtrlManagerWraper
InfoProviders info.Providers
AppsController *apps.AppsReconciler
AgentsController *agents.AgentsReconciler
ExportersController *exporters.ExportersReconciler
}
func New ¶
func New(cfg Config, reg prometheus.Registerer) (*Operator, error)
New makes a new Mimir.
func (*Operator) SetupModuleManager ¶
Click to show internal directories.
Click to hide internal directories.