Skip to content

Optional Dashboard, activated as a feature flag

This is an embarrassingly gigantic MR (thx me (Leandro) for that :-)) that introduces many changes:

  • Feature flags that can be enabled in the settings
  • A new and ugly dashboard, which is disabled by default
  • You can now hide the current dashboard as well as the insights view via feature flags
  • You can now disable the support for raw logs (as well as downloading them) via feature flags.
  • Update required Go compiler to 1.18, as some generic code has been introduced.

The rationale is to provide an alternative view, focused in the new dashboard. To do it, define the environment variable LIGHTMETER_DEFAULT_SETTINGS with the value (or add it to it):

{
   "feature_flags" : {
      "disableInsightsView" : true,                                                                                   
      "disableRawLogs" : true,
      "disableV1Dashboard" : true,
      "enableV2Dashboard" : true
   }
}

Now also includes links from the graphs to message detective:

image

Edited by Leandro Santiago

Merge request reports