class Azu::Components::DashboardDataProvider

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.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(metrics : PerformanceMetrics, start_time : Time, log : Log) #

[View source]

Instance Method Detail

def collect_app_status_data #

[View source]
def collect_cache_breakdown_count : Int32 #

[View source]
def collect_cache_breakdown_data #

[View source]
def collect_cache_data #

[View source]
def collect_component_count : Int32 #

[View source]
def collect_component_data #

[View source]
def collect_database_data #

[View source]
def collect_database_summary_count : Int32 #

[View source]
def collect_error_logs #

[View source]
def collect_n_plus_one_data #

[View source]
def collect_performance_data #

[View source]
def collect_query_patterns_data #

[View source]
def collect_query_profiler_data #

[View source]
def collect_recent_cache_operations(limit : Int32 = 20) #

[View source]
def collect_recent_component_events(limit : Int32 = 20) #

[View source]
def collect_routes_data #

[View source]
def collect_slow_queries_data #

[View source]
def collect_system_data #

[View source]
def collect_test_data #

[View source]