class Azu::PerformanceReportService

Overview

Service class to orchestrate the reporting system

Defined in:

azu/performance_reporter.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def generate_json_daily_report : String #

[View source]
def generate_json_health_check : String #

[View source]
def generate_json_hourly_report : String #

[View source]
def generate_json_report(since : Time | Nil = nil) : String #

JSON report methods


[View source]
def log_beautiful_report(since : Time | Nil = nil) : Nil #

Delegation methods for backward compatibility and convenience


[View source]
def log_daily_report : Nil #

[View source]
def log_health_check : Nil #

[View source]
def log_hourly_report : Nil #

[View source]
def log_summary(since : Time | Nil = nil) : Nil #

[View source]
def show_help : Nil #

Help system


[View source]
def start_periodic_reporting(format : Symbol = :log, interval : Time::Span = 60.seconds) : Nil #

Start periodic reporting with specified reporter type


[View source]