mirror of
https://github.com/graphql-hive/console
synced 2026-05-23 17:18:23 +00:00
Update analytics.ts
This commit is contained in:
parent
ed5f0790f1
commit
52a8f616ff
1 changed files with 3 additions and 3 deletions
|
|
@ -38,12 +38,12 @@ export function createAnalytics(
|
|||
switch (event.type) {
|
||||
case 'artifact':
|
||||
return engines.usage.writeDataPoint({
|
||||
blobs: [event.type, event.version, event.value, targetId],
|
||||
indexes: [targetId],
|
||||
blobs: [event.version, event.value, targetId],
|
||||
indexes: [targetId.substr(0, 32)],
|
||||
});
|
||||
case 'error':
|
||||
return engines.error.writeDataPoint({
|
||||
blobs: [event.type, ...event.value],
|
||||
blobs: event.value,
|
||||
});
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue