Versions in this module Expand all Collapse all v0 v0.11.1 Aug 1, 2023 v0.11.0 Jul 31, 2023 Changes in this version + func LoadConfig(filename string, expandENV bool, cfg *cortex.Config) error + func RegisterChunkCommands(app *kingpin.Application) + type AccessControlCommand struct + ACLs []string + InstanceID string + func (a *AccessControlCommand) Register(app *kingpin.Application) + type AlertCommand struct + CheckFrequency int + ClientConfig client.Config + CortexURL string + GracePeriod int + IgnoreAlerts map[string]interface{} + IgnoreString string + NumSources int + SourceLabel string + func (a *AlertCommand) Register(app *kingpin.Application) + type AlertmanagerCommand struct + AlertmanagerConfigFile string + AlertmanagerURL url.URL + ClientConfig client.Config + DisableColor bool + TemplateFiles []string + func (a *AlertmanagerCommand) Register(app *kingpin.Application) + type AnalyseCommand struct + func (cmd *AnalyseCommand) Register(app *kingpin.Application) + type BlockGenCommand struct + Cfg BlockGenConfig + Replicas int + Series []bench.SeriesDesc + func (f *BlockGenCommand) Register(app *kingpin.Application) + type BlockGenConfig struct + BlockDir string + BlockSize time.Duration + Interval time.Duration + MaxT int64 + MinT int64 + type BucketValidationCommand struct + func (b *BucketValidationCommand) Register(app *kingpin.Application) + type DashboardAnalyseCommand struct + DashFilesList []string + type GrafanaAnalyseCommand struct + type LoadgenCommand struct + func (c *LoadgenCommand) Register(app *kingpin.Application) + type LoggerConfig struct + Level string + func (l *LoggerConfig) Register(app *kingpin.Application) + type OverridesExporterCommand struct + func NewOverridesExporterCommand() *OverridesExporterCommand + func (o *OverridesExporterCommand) AllByUserID() map[string]*validation.Limits + func (o *OverridesExporterCommand) ByUserID(userID string) *validation.Limits + func (o *OverridesExporterCommand) Register(app *kingpin.Application) + type PrometheusAnalyseCommand struct + type PushGatewayConfig struct + Endpoint *url.URL + Interval time.Duration + JobName string + func (l *PushGatewayConfig) Register(app *kingpin.Application) + func (l *PushGatewayConfig) Stop() + type RemoteReadCommand struct + func (c *RemoteReadCommand) Register(app *kingpin.Application) + type RuleCommand struct + AggregationLabel string + AggregationLabelExcludedRuleGroups string + ClientConfig client.Config + DisableColor bool + Format string + IgnoredNamespaces string + InPlaceEdit bool + LintDryRun bool + Namespace string + Namespaces string + RuleFiles string + RuleFilesList []string + RuleFilesPath string + RuleGroup string + Strict bool + Verbose bool + func (r *RuleCommand) Register(app *kingpin.Application) + type RuleFileAnalyseCommand struct + RuleFilesList []string + type RulerAnalyseCommand struct + ClientConfig client.Config + type SchemaConfig struct + Configs []*chunk.PeriodConfig + FileName string + func (cfg *SchemaConfig) Load() error