Upgrading from Dashboard Loaders to Layers

Dashboard Loaders were the intermediate approach to work with dashboard layers. This guide shows how to migrate from loaders to layers.

Table of Contents

Overview

After upgrading to Squirro 2.5.3, all dashboards using loaders will be broken and need to be fixed first.

The basic approach to upgrading is as follows:

  1. Upgrade to Squirro 2.5.3
  2. Right after the upgrade, convert any dashboards using a loader to using layers

The entire process is relatively quick, but it does require a maintenance window to ensure that users are not presented with non-functioning dashboards.

Step by Step

This shows the steps for upgrading dashboards in detail. Execute this process after upgrading to Squirro 2.5.3 and once for each dashboard that uses a dashboard loader.

  1. Open the dashboard loader source code in an editor. This will be needed for reference, to understand which conditions were implemented.
  2. Edit the dashboard.
  3. Set the dashboard loader to None.
     for
  4. Edit each layer and edit or add conditions to reflect the same conditions of the dashboard loader. You may also want to give each layer a name to make it easier to identify which layer is which.