Reapply "feat(stats): add user ids to inference metrics"
This reverts commit e0ff4fd1ac.
This commit is contained in:
parent
e0ff4fd1ac
commit
f416f52ae3
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"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue