Module dashboard

Module dashboard 

Source
Expand description

Performance dashboard data endpoints.

This module provides structured data for performance dashboards and monitoring UIs.

§Features

  • System health status aggregation
  • Performance metrics summaries
  • Resource utilization snapshots
  • Historical trend data
  • Alert summaries

§Example

use chie_core::dashboard::{DashboardData, SystemStatus, PerformanceSnapshot};

let mut dashboard = DashboardData::new();

// Update metrics
dashboard.update_storage(1024 * 1024, 10 * 1024 * 1024);
dashboard.update_bandwidth(500 * 1024, 200 * 1024);

// Get snapshot
let snapshot = dashboard.snapshot();
println!("System Status: {:?}", snapshot.system_status);
println!("Storage Usage: {}%", snapshot.storage_usage_percent);

Structs§

DashboardData
Dashboard data aggregator.
DataPoint
Historical data point for trend analysis.
PerformanceSnapshot
Performance snapshot at a point in time.
TimeSeries
Time series data for trend analysis.

Enums§

SystemStatus
System health status.