Browse Source

chore(logs): Forgot to fix logs before merging

Refer to #33842

Made the PR late last week and merged on a Monday. Forgot there was one step to do prior to merging.
This changes the logging to be more useful since we don't actually need to know what type of issues customers are linking, since the amount is more critical to our understanding of the usage of the feature.
Leander Rodrigues 2 years ago
parent
commit
496c1aea52
1 changed files with 1 additions and 2 deletions
  1. 1 2
      src/sentry/integrations/jira/views/issue_hook.py

+ 1 - 2
src/sentry/integrations/jira/views/issue_hook.py

@@ -94,8 +94,7 @@ class JiraIssueHookView(JiraBaseHook):
 
         logger.info(
             "issue_hook.response",
-            # TODO(PR Review): Backwards compatability with logs?
-            # extra={"type": context["type"], "title_url": context["title_url"]},
+            extra={"issue_count": len(groups)},
         )
 
         return self.get_response(response_context)