From 630b4f601b6293b9d85bf90614e7607ab76e9a4e Mon Sep 17 00:00:00 2001 From: Aaron Ogle Date: Thu, 25 Sep 2025 18:07:30 -0500 Subject: [PATCH] chore: Add store type to reported stats (#37062) --- apps/meteor/app/statistics/server/lib/statistics.ts | 2 ++ packages/core-typings/src/IStats.ts | 1 + 2 files changed, 3 insertions(+) diff --git a/apps/meteor/app/statistics/server/lib/statistics.ts b/apps/meteor/app/statistics/server/lib/statistics.ts index a68e154dc36..0fadf701d46 100644 --- a/apps/meteor/app/statistics/server/lib/statistics.ts +++ b/apps/meteor/app/statistics/server/lib/statistics.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) => { diff --git a/packages/core-typings/src/IStats.ts b/packages/core-typings/src/IStats.ts index 4ff216f1c9a..a940be16fd3 100644 --- a/packages/core-typings/src/IStats.ts +++ b/packages/core-typings/src/IStats.ts @@ -99,6 +99,7 @@ export interface IStats { enterpriseReady: boolean; uploadsTotal: number; uploadsTotalSize: number; + fileStoreType: string; migration: { _id?: string; locked: boolean;