Write panics and crashes to snowflake (#28284)
This will let us create a better crashes dashboard, using Hex. Release Notes: - N/A
This commit is contained in:
parent
448db20eaa
commit
6220b86f94
3 changed files with 57 additions and 6 deletions
|
@ -591,7 +591,7 @@ async fn check_usage_limit(
|
|||
|
||||
SnowflakeRow::new(
|
||||
"Language Model Rate Limited",
|
||||
claims.metrics_id,
|
||||
Some(claims.metrics_id),
|
||||
claims.is_staff,
|
||||
claims.system_id.clone(),
|
||||
json!({
|
||||
|
@ -719,7 +719,7 @@ impl<S> Drop for TokenCountingStream<S> {
|
|||
});
|
||||
SnowflakeRow::new(
|
||||
"Language Model Used",
|
||||
claims.metrics_id,
|
||||
Some(claims.metrics_id),
|
||||
claims.is_staff,
|
||||
claims.system_id.clone(),
|
||||
properties,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue