Skip to content

Commit 1743533

Browse files
committed
chore(copilot): regenerate mothership contract mirror (chat blob metrics)
1 parent 2e06767 commit 1743533

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

apps/sim/lib/copilot/generated/metrics-v1.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ export const Metric = {
1717
CopilotCacheAttempted: 'copilot.cache.attempted',
1818
CopilotCacheHit: 'copilot.cache.hit',
1919
CopilotCacheWrite: 'copilot.cache.write',
20+
CopilotChatBlobBytes: 'copilot.chat.blob.bytes',
21+
CopilotChatBlobCount: 'copilot.chat.blob.count',
2022
CopilotFileReadDuration: 'copilot.file.read.duration',
2123
CopilotFileReadSize: 'copilot.file.read.size',
2224
CopilotMessagesSerializeDuration: 'copilot.messages.serialize.duration',
@@ -44,6 +46,8 @@ export const MetricValues: readonly MetricValue[] = [
4446
'copilot.cache.attempted',
4547
'copilot.cache.hit',
4648
'copilot.cache.write',
49+
'copilot.chat.blob.bytes',
50+
'copilot.chat.blob.count',
4751
'copilot.file.read.duration',
4852
'copilot.file.read.size',
4953
'copilot.messages.serialize.duration',

apps/sim/lib/copilot/generated/trace-attributes-v1.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ export const TraceAttr = {
8989
ChatArtifactKeys: 'chat.artifact_keys',
9090
ChatArtifactsBytes: 'chat.artifacts_bytes',
9191
ChatAuthType: 'chat.auth_type',
92+
ChatBlobOp: 'chat.blob.op',
93+
ChatBlobSite: 'chat.blob.site',
9294
ChatBlobBytesOffloaded: 'chat.blob_bytes_offloaded',
9395
ChatBlobBytesResolved: 'chat.blob_bytes_resolved',
9496
ChatBlobsOffloaded: 'chat.blobs_offloaded',
@@ -723,6 +725,8 @@ export const TraceAttrValues: readonly TraceAttrValue[] = [
723725
'chat.artifact_keys',
724726
'chat.artifacts_bytes',
725727
'chat.auth_type',
728+
'chat.blob.op',
729+
'chat.blob.site',
726730
'chat.blob_bytes_offloaded',
727731
'chat.blob_bytes_resolved',
728732
'chat.blobs_offloaded',

0 commit comments

Comments
 (0)