Skip to content

Refactor duoUsedCount to use ai_usage_events table

What does this MR do and why?

This MR refactors the `duoUsedCount` metric calculation in `DuoUsageService` to use the unified `ai_usage_events` table instead of querying separate `*_daily` tables.

cc @pshutsin

closes #572855

Edited by 🤖 GitLab Bot 🤖

Merge request reports

Loading