Browse Source

feat(issue-platform): Add metrics to help debug issue occurrence consumer (#44708)

Dan Fuller 2 years ago
parent
commit
5b0df7383d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/sentry/issues/occurrence_consumer.py

+ 1 - 0
src/sentry/issues/occurrence_consumer.py

@@ -245,6 +245,7 @@ def _process_message(
         organization = Organization.objects.get_from_cache(id=project.organization_id)
 
         if not features.has("organizations:profile-blocked-main-thread-ingest", organization):
+            metrics.incr("occurrence_ingest.dropped_feature_disabled", sample_rate=1.0)
             return None
 
         if "event_data" in kwargs: