We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e9d0fb commit 62d20e4Copy full SHA for 62d20e4
src/sentry/rules/actions/notify_event_service.py
@@ -180,6 +180,8 @@ def after(
180
return
181
182
if plugin:
183
+ extra["plugin"] = service
184
+
185
if not plugin.is_enabled(self.project):
186
extra["project_id"] = self.project.id
187
self.logger.info("rules.fail.is_enabled", extra=extra)
@@ -192,6 +194,10 @@ def after(
192
194
self.logger.info("rule.fail.should_notify", extra=extra)
193
195
196
197
+ extra["organization_id"] = self.project.organization_id
198
+ extra["project_id"] = self.project.id
199
+ self.logger.info("rules.plugin_notification_sent", extra=extra)
200
201
metrics.incr("notifications.sent", instance=plugin.slug, skip_internal=False)
202
yield self.future(plugin.rule_notify)
203
0 commit comments