feat: refactor scanner module and add data usage statistics

- Move scanner code to scanner/ subdirectory for better organization
- Add data usage statistics collection and persistence
- Implement histogram support for size and version distribution
- Add global cancel token management for scanner operations
- Integrate scanner with ECStore for comprehensive data analysis
- Update error handling and improve test isolation
- Add data usage API endpoints and backend integration

Signed-off-by: junxiang Mu <1948535941@qq.com>
This commit is contained in:
dandan
2025-07-10 15:44:37 +08:00
committed by junxiang Mu
parent b40ef147a9
commit 2aa7a631ef
3 changed files with 0 additions and 1187 deletions
-1
View File
@@ -17,7 +17,6 @@ use tokio_util::sync::CancellationToken;
pub mod error;
pub mod scanner;
pub mod metrics;
pub use error::{Error, Result};
pub use scanner::{