mirror of
https://github.com/okieselbach/AutopilotMonitor.git
synced 2026-10-24 12:42:38 +00:00
17fc23f8cb
Usage Metrics (tenant page and the platform section) shows the window's sessions in three groups that each sum to the session count: Autopilot v1 or Device Preparation, Entra or hybrid joined, and the Autopilot deployment mode (user-driven, self-deploying, pre-provisioned). Type and mode follow the fleet enrollment class; user-driven no longer counts the IsUserDriven flag, which every registration sets. The counts come from the session rows on each request, so every retained session is covered without a counter. - DeploymentTypeMetrics gains the new counts and shares; the usage projection reads EnrollmentType, IsSelfDeployingProfile, IsHybridJoin - platform and tenant compute share one builder per block - Platform Usage takes ?days= like the other analytics pages - the usage pages share their blocks (components/UsageMetricsBlocks.tsx); enrollment class labels and the time-attribution segments each live in one place, the duplication baseline shrinks by seven clones Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>