Closed yuri-tceretian closed 2 weeks ago
This fixes log message https://github.com/grafana/grafana/blame/4b24019bae4f4a8bca9eb620e1afda49c5923ce4/pkg/services/ngalert/schedule/schedule.go#L293 that put rule UID into the message context with label "uid". However, everywhere else we use "rule_uid" label.
This PR makes all messages within the loop that schedules rule evaluations use the same logger with pre-loaded context.
This PR must be merged before a backport PR will be created.
This fixes log message https://github.com/grafana/grafana/blame/4b24019bae4f4a8bca9eb620e1afda49c5923ce4/pkg/services/ngalert/schedule/schedule.go#L293 that put rule UID into the message context with label "uid". However, everywhere else we use "rule_uid" label.
This PR makes all messages within the loop that schedules rule evaluations use the same logger with pre-loaded context.