Skip to content

Commit fa11fbb

Browse files
authored
fix: usage stats missing cluster id (#913)
1 parent 43edac8 commit fa11fbb

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/violet-impalas-bathe.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@hyperdx/api": patch
3+
---
4+
5+
fix: usage stats missing cluster id

packages/api/src/tasks/usageStats.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ async function getUsageStats() {
127127
).limit(1),
128128
getClickhouseTableSize(),
129129
]);
130-
const clusterId = team[0]?._id;
130+
const clusterId = team[0]?._id.toString();
131131
logger.info({
132132
message: 'track-hyperdx-oss-usage-stats',
133133
clusterId,

0 commit comments

Comments
 (0)