Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

These analytics are powered by Metabase, which we ship alongside our application. To take full advantage of it, a default-collection of dashboards and questions must be loaded into Metabase on startup.

For the initialisation, Metabase requires and admin user. For this you have to set a password under adminPass. The password requirements are

  • At least 6 characters

  • At least 1 digit

  • At least 1 capital letter

The relevant block in values.yaml is

Code Block
languageyaml
metabase:
  enabled: true
  #The adminPass is needed to complete Metabase initialization and setup
  adminPass: ""
  #You can ignore
loadDump and initAdmin
  loadDump:
    enabled: true 
 initAdmin permissions:
    enabled: true

After the initial installation, set a password under adminPass. The password requirements are

...

At least 6 characters

...

false

This password will be used for admin@metabase.local

Then you can proceed to install the package normally by running

helm install upgrade -i order-management -f configure/values-on-premise.yaml -f=values.yaml chart/order-management-*.tgz --values values.yaml or use the upgrade.sh script to update the stack.

Info

Note: If you decide to set the Metabase password after the initial installation, it is important to wait until all pods up and running before updating them to prevent interrupting init-jobs and data migrations.

Default-collection

After Metabase was installed, run the bundled script,

cd configure; ./load_collection.sh
This will copy the bundled mb_dc*.tgz file onto the Metabase pod and execute the loading command.

Note: Any changes you make to the default-collection will be overwritten with the next release. If you want to create your own dashboards, you can do so outside the default-collection.

Adding more users

To access the Metabase UI, navigate to https://[[your 3yd domain]]/analytics and log in with admin@metabase.local and the password from adminPass. Once you are logged in, you can head to Settings → Admin Settings → People and invite other team members to Metabase.

...