|
|
@ -57,7 +57,7 @@ type ruleImporterConfig struct {
|
|
|
|
// newRuleImporter creates a new rule importer that can be used to parse and evaluate recording rule files and create new series
|
|
|
|
// newRuleImporter creates a new rule importer that can be used to parse and evaluate recording rule files and create new series
|
|
|
|
// written to disk in blocks.
|
|
|
|
// written to disk in blocks.
|
|
|
|
func newRuleImporter(logger log.Logger, config ruleImporterConfig, apiClient queryRangeAPI) *ruleImporter {
|
|
|
|
func newRuleImporter(logger log.Logger, config ruleImporterConfig, apiClient queryRangeAPI) *ruleImporter {
|
|
|
|
level.Info(logger).Log("backfiller", "new rule importer from start", config.start.Format(time.RFC822), " to end", config.end.Format(time.RFC822))
|
|
|
|
level.Info(logger).Log("backfiller", "new rule importer", "start", config.start.Format(time.RFC822), "end", config.end.Format(time.RFC822))
|
|
|
|
return &ruleImporter{
|
|
|
|
return &ruleImporter{
|
|
|
|
logger: logger,
|
|
|
|
logger: logger,
|
|
|
|
config: config,
|
|
|
|
config: config,
|
|
|
|