class

Azu::Components::DashboardDataProvider

Inherits Reference < Object

Data provider for the development dashboard. This class is responsible for collecting all the data needed by the dashboard.

Constructors

new(metrics : PerformanceMetrics, start_time : Time, log : Log)
Source

Instance methods

collect_app_status_data
Source
collect_cache_breakdown_count
Source
collect_cache_breakdown_data
Source
collect_cache_data
Source
collect_component_count
Source
collect_component_data
Source
collect_database_data
Source
collect_database_summary_count
Source
collect_error_logs
Source
collect_golden_metrics

Four Golden Signals data collection

Source
collect_latency_sparkline_data(points : Int32 = 20) : Array(Float64)

Collect latency sparkline data from recent requests Returns an array of response times (ms) for the last N requests

Source
collect_n_plus_one_data
Source
collect_performance_data
Source
collect_query_patterns_data
Source
collect_query_profiler_data
Source
collect_recent_cache_operations(limit : Int32 = 20)
Source
collect_recent_component_events(limit : Int32 = 20)
Source
collect_routes_data
Source
collect_slow_queries_data
Source
collect_system_data
Source
collect_test_data
Source
collect_traffic_sparkline_data(points : Int32 = 20) : Array(Float64)

Collect traffic sparkline data by bucketing requests into time windows Returns an array of request counts per time bucket

Source