mirror of
https://github.com/grafana/grafana.git
synced 2024-11-25 10:20:29 -06:00
Alerting: Log number of dimensions instead of all evaluation results (#92733)
This commit is contained in:
parent
a0e237dacf
commit
152d3540db
@ -426,7 +426,7 @@ func (a *alertRule) evaluate(ctx context.Context, e *Evaluation, span trace.Span
|
||||
span.SetStatus(codes.Error, "rule evaluation failed")
|
||||
span.RecordError(err)
|
||||
} else {
|
||||
logger.Debug("Alert rule evaluated", "results", results, "duration", dur)
|
||||
logger.Debug("Alert rule evaluated", "results", len(results), "duration", dur)
|
||||
span.AddEvent("rule evaluated", trace.WithAttributes(
|
||||
attribute.Int64("results", int64(len(results))),
|
||||
))
|
||||
|
Loading…
Reference in New Issue
Block a user