mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Alerting: Add traceID to rule evalutor logger (#98549)
This commit is contained in:
parent
54b357125b
commit
f851379f7d
@ -315,6 +315,7 @@ func (a *alertRule) Run() error {
|
||||
attribute.String("rule_fingerprint", fpStr),
|
||||
attribute.String("tick", utcTick),
|
||||
))
|
||||
logger := logger.FromContext(tracingCtx)
|
||||
|
||||
// Check before any execution if the context was cancelled so that we don't do any evaluations.
|
||||
if tracingCtx.Err() != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user