diff options
author | Eric Bailey <git@esb.lol> | 2025-03-01 13:34:12 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-01 13:34:12 -0600 |
commit | 07dd57d1ea77c3f20f8f2a45a8a24ef8abe4e12e (patch) | |
tree | 0584d5685cb290d5db0eb6286d0cbd255aeee9bf /src/logger | |
parent | 1c582c59f0475ed6b745db31c41cefb9cbcfd66c (diff) | |
download | voidsky-07dd57d1ea77c3f20f8f2a45a8a24ef8abe4e12e.tar.zst |
Add metrics to reporting flow (#7871)
* Add metrics to reporting flow * Remove vestigial state
Diffstat (limited to 'src/logger')
-rw-r--r-- | src/logger/metrics.ts | 11 | ||||
-rw-r--r-- | src/logger/types.ts | 1 |
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 |