mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
adds tracing for all bus calls that passes ctx (#29434)
Signed-off-by: bergquist <carl.bergquist@gmail.com>
This commit is contained in:
@@ -30,10 +30,10 @@ var (
|
||||
)
|
||||
|
||||
func init() {
|
||||
bus.AddHandler("alerting", handleNotificationTestCommand)
|
||||
bus.AddHandlerCtx("alerting", handleNotificationTestCommand)
|
||||
}
|
||||
|
||||
func handleNotificationTestCommand(cmd *NotificationTestCommand) error {
|
||||
func handleNotificationTestCommand(ctx context.Context, cmd *NotificationTestCommand) error {
|
||||
notifier := newNotificationService(nil)
|
||||
|
||||
model := &models.AlertNotification{
|
||||
|
||||
Reference in New Issue
Block a user