Method: QaServer::PerformanceGraphingService.performance_graph_image_path

Defined in:
app/services/qa_server/performance_graphing_service.rb

.performance_graph_image_path(authority_name: ALL_AUTH, action:, time_period:) ⇒ String Also known as: performance_graph_file

Returns Path to use with <image> tags.

Parameters:

  • (defaults to: ALL_AUTH)

    name of the authority

  • action performed by the request (e.g. :search, :fetch, :all_actions)

  • time period for the graph (i.e. :day, :month, :year)

Returns:

  • Path to use with <image> tags



16
17
18
# File 'app/services/qa_server/performance_graphing_service.rb', line 16

def performance_graph_image_path(authority_name: ALL_AUTH, action:, time_period:)
  File.join(graph_image_path, graph_filename(authority_name, action, time_period))
end