about summary refs log tree commit diff
path: root/src/logger
diff options
context:
space:
mode:
Diffstat (limited to 'src/logger')
-rw-r--r--src/logger/metrics.ts11
-rw-r--r--src/logger/types.ts1
2 files changed, 12 insertions, 0 deletions
diff --git a/src/logger/metrics.ts b/src/logger/metrics.ts
index e3bd93314..66f79e4f6 100644
--- a/src/logger/metrics.ts
+++ b/src/logger/metrics.ts
@@ -305,4 +305,15 @@ export type MetricEvents = {
 
   'progressGuide:hide': {}
   'progressGuide:followDialog:open': {}
+
+  'reportDialog:open': {
+    subjectType: string
+  }
+  'reportDialog:close': {}
+  'reportDialog:success': {
+    reason: string
+    labeler: string
+    details: boolean
+  }
+  'reportDialog:failure': {}
 }
diff --git a/src/logger/types.ts b/src/logger/types.ts
index 9110a8c6f..d14e21a9d 100644
--- a/src/logger/types.ts
+++ b/src/logger/types.ts
@@ -9,6 +9,7 @@ export enum LogContext {
   Notifications = 'notifications',
   ConversationAgent = 'conversation-agent',
   DMsAgent = 'dms-agent',
+  ReportDialog = 'report-dialog',
 
   /**
    * METRIC IS FOR INTERNAL USE ONLY, don't create any other loggers using this