diff --git a/src/Web/autopilot-monitor-web/app/admin/metrics/sections/SectionPlatformUsage.tsx b/src/Web/autopilot-monitor-web/app/admin/metrics/sections/SectionPlatformUsage.tsx index 6156fedd..45997b74 100644 --- a/src/Web/autopilot-monitor-web/app/admin/metrics/sections/SectionPlatformUsage.tsx +++ b/src/Web/autopilot-monitor-web/app/admin/metrics/sections/SectionPlatformUsage.tsx @@ -86,6 +86,7 @@ interface PlatformUsageMetrics { deploymentTypes: DeploymentTypeMetrics; appScripts?: AppScriptMetrics; platformStats?: PlatformStats; + windowDays: number; computedAt: string; computeDurationMs: number; fromCache: boolean; @@ -205,7 +206,7 @@ export function SectionPlatformUsage() {
- Cross-tenant metrics • Computed at {formatTimestamp(metrics.computedAt)} in {metrics.computeDurationMs}ms
+ Cross-tenant metrics • Rolling {metrics.windowDays ?? 90}-day window • Computed at {formatTimestamp(metrics.computedAt)} in {metrics.computeDurationMs}ms
{metrics.fromCache && (
From Cache
@@ -231,10 +232,13 @@ export function SectionPlatformUsage() {
{/* Session Statistics */}
+ Rolling {metrics.windowDays ?? 90}-day window. For all-time totals see Platform Statistics below.
+ Sessions
+ Sessions (Last {metrics.windowDays ?? 90} Days)
+