feat(stats): add user ids to inference metrics

This commit is contained in:
Adam
2026-06-23 07:04:56 -05:00
parent d568fed095
commit 428ae6d21a
6 changed files with 62 additions and 10 deletions
@@ -132,6 +132,7 @@ function toLakeEvent(time: string, data: Record<string, unknown>) {
error_cause2: string(data, "error.cause2"),
api_key: string(data, "api_key"),
workspace: string(data, "workspace"),
user_id: string(data, "user_id"),
is_subscription: boolean(data, "isSubscription"), // removed
subscription: string(data, "subscription"),
response_length: integer(data, "response_length"),