chore: Add store type to reported stats (#37062)

pull/37075/head
Aaron Ogle 3 months ago committed by GitHub
parent d0467df806
commit 630b4f601b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      apps/meteor/app/statistics/server/lib/statistics.ts
  2. 1
      packages/core-typings/src/IStats.ts

@ -406,6 +406,8 @@ export const statistics = {
}),
);
statistics.fileStoreType = settings.get('FileUpload_Storage_Type');
statistics.migration = await getControl();
statsPms.push(
InstanceStatus.countDocuments({ _updatedAt: { $gt: new Date(Date.now() - process.uptime() * 1000 - 2000) } }).then((count) => {

@ -99,6 +99,7 @@ export interface IStats {
enterpriseReady: boolean;
uploadsTotal: number;
uploadsTotalSize: number;
fileStoreType: string;
migration: {
_id?: string;
locked: boolean;

Loading…
Cancel
Save