/
Analytics

Analytics

This section describes how to enable and configure our advanced analytics.

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

metabase: #The adminPass is needed to complete Metabase initialization and setup adminPass: "" initAdmin: enabled: true permissions: enabled: false

This password will be used for admin@metabase.local

Then you can proceed to install the package normally by running

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

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 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.