fix: usage stats missing cluster id (#913)

This commit is contained in:
Aaron Knudtson 2025-06-05 11:52:53 -04:00 committed by GitHub
parent 43edac8b01
commit fa11fbb0f1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 1 deletions

View file

@ -0,0 +1,5 @@
---
"@hyperdx/api": patch
---
fix: usage stats missing cluster id

View file

@ -127,7 +127,7 @@ async function getUsageStats() {
).limit(1),
getClickhouseTableSize(),
]);
const clusterId = team[0]?._id;
const clusterId = team[0]?._id.toString();
logger.info({
message: 'track-hyperdx-oss-usage-stats',
clusterId,