This article describes the integration between r_keeper 7 and the Grafana analytical application.

Grafana Installation

Grafana works with different systems — Linux, Windows, etc. The installation is trivial and is described in detail on the download page. Here, we consider an example of installation for Windows. A detailed description (in English) is available in the Grafana official documentation.

  1. Download the installer from the download page
  2. Launch the installer and wait for the process to complete
  3. In your browser, go to http://localhost:3000/login, or to the address of the server where the system is installed
  4. The login window should open
  5. If the window appeared, the installation is successful. Default login and password are admin admin.

Grafana Configuration

  1. Download the file attached to the article
  2. In Grafana, in the left menu, click and choose Import
  3. Click Upload .json file
  4. Select the previously downloaded .json file
  5. In the Name field, specify the name for the newly created dashboard
  6. Click Import
  7. The newly created dashboard will appear on the screen.

Installing Pie Chart Plugin

For the dishes pie chart to operate, an additional plugin is required.

If this plugin is not installed, the following error will appear instead of the chart:

The plugin can be installed via the command line.

  1. Launch the command line as an administrator.
  2. Navigate to Grafana installation path. Default path: cd "C:\Program Files\GrafanaLabs\grafana\"
  3. Go to the bin: cd bin folder.
  4. Execute the following command:

    .\grafana-cli.exe plugins install grafana-piechart-panel
  5. After the plugin is installed, you will see the following message:
  6. Restart the Grafana server, and the pie charts will become functional.

Configuring Database Communication

For the dashboard to acquire data, a data source should be registered in the system.

  • Go to Configuration > Datasources

  • Click Add data source

  • In the SQL section, choose Microsoft SQL Server and click Select.
  • Configure the MS SQL server connection. Fill in the following fields:
  1. Host — server IP address and port. You can specify the port after a colon.
  2. Database — r_keeper 7 database name
  3. User — database user. For Grafana, it is recommended to create a user with minimum database privileges — the SELECT execution permission will be sufficient
  4. Password — database user password
  5. Encrypt — encryption mode. It can take the following values: false – disabled, true – enabled.
  6. Do not forget to enable the Default setting, so that MS SQL would be the default data source
  • Click Save & Test.
  • The following message should appear: Database Connection OK. If not, check the MS SQL server connection settings.


The configuration is complete. Now, you can see the charts. Go to the home page and find the previously created dashboard:

If the database contains relevant data, it will be displayed in the charts: 

Now, Grafana is functioning. You can customize each chart in detail and change everything you need. A detailed configuration description is available in the official documentation.

Good luck!