class
Azu::Components::DashboardDataProvider
- Azu::Components::DashboardDataProvider
- Reference
- Object
Overview
Data provider for the development dashboard. This class is responsible for collecting all the data needed by the dashboard.
Defined in:
azu/components/dev_dashboard_component.crConstructors
Instance Method Summary
- #collect_app_status_data
- #collect_cache_breakdown_count : Int32
- #collect_cache_breakdown_data
- #collect_cache_data
- #collect_component_count : Int32
- #collect_component_data
- #collect_database_data
- #collect_database_summary_count : Int32
- #collect_error_logs
-
#collect_golden_metrics
Four Golden Signals data collection
-
#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
- #collect_n_plus_one_data
- #collect_performance_data
- #collect_query_patterns_data
- #collect_query_profiler_data
- #collect_recent_cache_operations(limit : Int32 = 20)
- #collect_recent_component_events(limit : Int32 = 20)
- #collect_routes_data
- #collect_slow_queries_data
- #collect_system_data
- #collect_test_data
-
#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
Constructor Detail
Instance Method Detail
def 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
def 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