Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| web_interface:dashboard_setup [2024/04/09 01:58] – [Configure the dashboards] Mark Glover | web_interface:dashboard_setup [2026/09/30 12:12] (current) – [19.06. Mobile Dashboard set up (after v4.0)] Gary Willetts | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| ====== 19.06. Mobile Dashboard set up (after v4.0) ====== | ====== 19.06. Mobile Dashboard set up (after v4.0) ====== | ||
| <WRAP center round alert 80%> | <WRAP center round alert 80%> | ||
| - | August 2020: | + | The instructions on this page are for configuring both: |
| + | * [[web_interface: | ||
| + | * [[https:// | ||
| - | * The instructions on this page are for configuring both: | + | These instruction |
| - | * [[web_interface:dashboard_using# | + | |
| - | * [[https:// | + | **These dashboards have now been superseded** by the [[https:// |
| </ | </ | ||
| - | |||
| - | <WRAP center round alert 80%> | ||
| - | The following instruction are for setting up dashboards for mSupply versions 4.0 and later. | ||
| <WRAP center round important 80%> | <WRAP center round important 80%> | ||
| Line 18: | Line 17: | ||
| * make sure your [[preferences: | * make sure your [[preferences: | ||
| - | Sustainable Solutions | + | The mSupply Foundation |
| - | ===== Configure | + | ===== Access |
| - On the **Admin** tab of the Navigator click on the **Dashboard** button: {{ : | - On the **Admin** tab of the Navigator click on the **Dashboard** button: {{ : | ||
| - This will show you a list of the available dashboard reports: {{ : | - This will show you a list of the available dashboard reports: {{ : | ||
| + | |||
| + | ==== Configure the dashboards ==== | ||
| - Tick the box in the **Is active** column for each report that you want generated. Note that if one or more reports are selected, the scheduled process for generating and refreshing the dashboard reports is automatically started, there is no separate setting for turning it on and off. Similarly, if no reports are selected the dashboard report generating process will be turned off automatically. | - Tick the box in the **Is active** column for each report that you want generated. Note that if one or more reports are selected, the scheduled process for generating and refreshing the dashboard reports is automatically started, there is no separate setting for turning it on and off. Similarly, if no reports are selected the dashboard report generating process will be turned off automatically. | ||
| - Set the number of minutes in the **Update Period (mins)** column to set how often each of these reports is generated. | - Set the number of minutes in the **Update Period (mins)** column to set how often each of these reports is generated. | ||
| Line 28: | Line 29: | ||
| * The **Export settings** tab is for telling mSupply when and how to update the data behind the dashboard (see the [[web_interface: | * The **Export settings** tab is for telling mSupply when and how to update the data behind the dashboard (see the [[web_interface: | ||
| * The //Dashboard Tab// tab is for setting up Dashboard tabs (see the [[web_interface: | * The //Dashboard Tab// tab is for setting up Dashboard tabs (see the [[web_interface: | ||
| - | ===== Available dashboard reports | + | ==== Available dashboard reports ==== |
| There are several built-in dashboard reports that everyone can use. The table below documents what they show and what properties can be edited: | There are several built-in dashboard reports that everyone can use. The table below documents what they show and what properties can be edited: | ||
| Line 150: | Line 151: | ||
| - | ===== Editing dashboard reports | + | ==== Editing dashboard reports ==== |
| Double-click a report in the list shown above and the following window will open: | Double-click a report in the list shown above and the following window will open: | ||
| Line 177: | Line 178: | ||
| * '' | * '' | ||
| * '' | * '' | ||
| - | |||
| - | ===== Exporting mSupply data to the dashboard ===== | ||
| - | The mSupply Grafana dashboard has its own separate Postgres database to improve performance and prevent use of the dashboard slowing mSupply down. This means that the data for the dashboard must be exported from the mSupply database to the dashboard' | ||
| - | |||
| - | {{ : | ||
| - | |||
| - | === Postgres server section === | ||
| - | Enter the details of the dashboard' | ||
| - | * **Server**: the URL of the server the database resides on | ||
| - | * **Port**: the port the database is being served on | ||
| - | * **User**: the username mSupply will use to login to the dashboard' | ||
| - | * **Password**: | ||
| - | * **Database name**: the name the dashboard' | ||
| - | |||
| - | Test connection button: when you have enetered all the details in this section, click on this button to test the connection to the dashboard' | ||
| - | |||
| - | === Export settings section === | ||
| - | In the table select the tables in the mSupply database that you want to export to the dashboard. Care needs to be taken here; you need to choose all the tables that will provide the information you need in the dashboard but not those you do not need as this may impact on the speed of the export, and therefore how quickly your dashboard can be updated. | ||
| - | |||
| - | Use the **All/ | ||
| - | |||
| - | The **URL** field shows you the URL that mSupply is exporting the data to. | ||
| - | |||
| - | **Full export of Checked Tables button:** Clicking this will force mSupply to empty the dashboard database and export all the data from the selected tables to the dashboard database. | ||
| - | |||
| - | **Run Next Scheduled Export Now button:** Clicking this will make mSupply immediately export to the dashboard database all the data that has changed in its database since the last export to the dashboard. | ||
| - | |||
| - | When these settings have been saved, mSupply will use them to automatically export the selected data to the dashboard according to the schedule that has been set. | ||
| - | |||
| - | |||
| - | <WRAP center round alert 60%> | ||
| - | August 2020: The remaining instructions on this page are for configuring mSupply' | ||
| - | </ | ||