Create a dashboard
This document describes how to create a dashboard using data from your RapidMiner processes, assuming you have deployed RapidMiner AI Hub viaDocker, Kubernetes,or in thecloud.
Log in and manage users
The Dashboards tool is accessible via the RapidMiner AI Hublanding page, or by navigating tohttp(s)://your-platform-deployment/grafana/
.
Your authorized set of functions in Dashboards will depend on the role you have configured for your user. By default, all users are allowed to create and edit dashboards. For more information on the exact role mappings, and configuring roles, go to therelevant page of Manage deployments.
Dashboards and panels
Dashboards are built up from panels. Each panel defines:
- One or multiple queries to be executed on the selected Data Source.
- The visualization type (e.g. pie chart, table, heatmap, ...) and its configuration (e.g. coloring, axes configuration and any visualization-specific setting)
- Some general settings, like the panel title.
The different visualization types can be used on different data sets. For example, timeseries data can be plotted using some of the line-chart plugins or heatmaps. Pie charts or bar charts are better for displaying table data.
Data sources
SelectConfiguration>Data Sources, and configure the data source as follows:
- Select type: RapidMiner
- Set the URL to theproxy endpoint, by default port 5000.
- SelectBasic Authand provide your RapidMIner AI Hub login credentials.
To expose your data, take the following steps:
Create and save in your repository a process whose output is a data set compatible with the panel you want to build: a time series, a table for a scatter plot, etc.
Deploy the data to aRTSwith a deployment based on that process. The output formatMUSTbe JSON.
Create your dashboard
You start by creating an empty dashboard and adding new panels to it.
然后你必须添加一个查询,selecting
- the data source (RapidMiner),
- the type (timeseries or table), and
- themetric, which is the web service that you created.
A dropdown list is displayed, with the web services you have created on RapidMiner AI Hub.
You can see a preview of the panel as you configure it. Once you're done, add it to your dashboard. You can add as many panels to the dashboard as you need. Resizing panels and moving them around can be done graphically by simple point and click.
In general, the key to getting the right visualization is to observe the following points:
- Make sure the output of the RapidMiner process has the right format
- Make sure the panel is configured with the right query
- Configure the visualization in the way you desire
Plugins
Thedocker imagewe ship includes some useful visualization plugins, but you can install additional plugins.
To install a new plugin, execute the plugin install command inside the container, and then restart it:
user@host:~$ docker-compose exec rm-grafana-svc bash grafana@grafana-container:/usr/share/grafana$ grafana-cli plugins install --plugin-name-- user@host:~$ docker-compose restart rm-grafana-svc
Details
RapidMiner Data Source supports two types of data sets as response:
- Timeseries data: when your data set contains a
timestamp
attribute (important: the attribute name should betimestamp
) and multiple attributes as values. - Table data: when your data set does not contain a
timestamp
, but rather, a table with numerical values compatible with the visualization you intend to create.