Skip to content

v2.2.2

Choose a tag to compare

@elrayle elrayle released this 11 Sep 00:31
f65b1fe

Actions Required to Upgrade

Update to qa_server v2.2.2

bundle update qa_server

Changes

All the changes relate to the performance data and graphs shown on the Monitor Status page.

Performance data table changes

  • show statistics for each authority
  • configure how much data is used to generate the table (e.g. :day, :month, :year, :all) with a default of :year
  • show 10th and 90th percentile instead of min and max

Performance graph changes

  • show graphs for each authority
  • all graphs initially display for the configured time period (e.g. :day, :month, :year) with a default of :month
  • display graphs as a stacked bar chart instead of a line chart
  • allow for configuration of bar colors (defaults are accessible)

New Configuration Options

All new configurations are optional.

The performance reporting has new configurations to control the output in the Monitor Status page:

  • config.performance_load_color = '#ABC3C9'
  • config.performance_normalization_color = '#CCBE9F'
  • config.performance_graph_default_time_period = :month # values: :day | :month | :year
  • config.performance_datatable_default_time_period = :year # values: :day | :month | :year | :all
  • config.performance_datatable_max_threshold = 1500
  • config.performance_datatable_warning_threshold = 1000

It is recommended that you copy the new configurations to keep your local config file in sync with the configurations.

Copy only the new configs...

FROM: lib/generators/qa_server/templates/config/initializers/qa_server.rb
TO: config/initializers/qa_server.rb

Changed Log

  • handle stat calculation and formatting when 0 records or missing stats
  • switch performance graph to stacked_bar
  • Use 10th and 90th percentiles for datatable
  • display day graph for every authority for default time period
  • cache performance graphs
  • don’t calculate low and high for graphs since they aren’t used
  • don’t calcualte full request data for graphs since it isn’t used
  • include authority data for performance graphs
  • move some of the performance data construction code to services