Class: QaServer::PerformanceGraphingService
Constant Summary
QaServer::PerformanceHistoryDataKeys::ALL_AUTH, QaServer::PerformanceHistoryDataKeys::AVG_FULL, QaServer::PerformanceHistoryDataKeys::AVG_LOAD, QaServer::PerformanceHistoryDataKeys::AVG_NORM, QaServer::PerformanceHistoryDataKeys::BY_DAY, QaServer::PerformanceHistoryDataKeys::BY_HOUR, QaServer::PerformanceHistoryDataKeys::BY_MONTH, QaServer::PerformanceHistoryDataKeys::FOR_DATATABLE, QaServer::PerformanceHistoryDataKeys::FOR_DAY, QaServer::PerformanceHistoryDataKeys::FOR_MONTH, QaServer::PerformanceHistoryDataKeys::FOR_YEAR, QaServer::PerformanceHistoryDataKeys::HIGH_FULL, QaServer::PerformanceHistoryDataKeys::HIGH_LOAD, QaServer::PerformanceHistoryDataKeys::HIGH_NORM, QaServer::PerformanceHistoryDataKeys::LOW_FULL, QaServer::PerformanceHistoryDataKeys::LOW_LOAD, QaServer::PerformanceHistoryDataKeys::LOW_NORM, QaServer::PerformanceHistoryDataKeys::STATS
Class Method Summary
collapse
Class Method Details
14
15
16
|
# File 'app/services/qa_server/performance_graphing_service.rb', line 14
def create_performance_graphs(performance_data:)
performance_data.each_key { |auth_name| create_graphs_for_authority(performance_data, auth_name.to_sym) }
end
|
20
21
22
|
# File 'app/services/qa_server/performance_graphing_service.rb', line 20
def performance_graph_file(authority_name: ALL_AUTH, time_period:)
File.join(graph_relative_path, graph_filename(authority_name, time_period))
end
|