Alerting: Log expression command types during evaluation (#84614)

This commit is contained in:
Yuri Tseretyan
2024-03-19 10:00:03 -04:00
committed by GitHub
parent 09817e2c7f
commit 9dc4221508
11 changed files with 101 additions and 0 deletions

View File

@@ -73,6 +73,7 @@ func (r *conditionEvaluator) EvaluateRaw(ctx context.Context, now time.Time) (re
defer cancel()
execCtx = timeoutCtx
}
logger.FromContext(ctx).Debug("Executing pipeline", "commands", strings.Join(r.pipeline.GetCommandTypes(), ","), "datasources", strings.Join(r.pipeline.GetDatasourceTypes(), ","))
return r.expressionService.ExecutePipeline(execCtx, now, r.pipeline)
}