umh-datasource
less than a minute
What is United Manufacturing Hub Datasource?
UMH Datasource provides an Grafana 8.X compatible plugin, allowing easy data extraction from the UMH factoryinsight microservice.
Installation
Build from source
Clone the datasource repo
[email protected]:united-manufacturing-hub/united-manufacturing-hub-datasource.git
Install dependencies
yarn install
- Build plugin in development mode or run in watch mode
yarn dev
- Build plugin in production mode (not recommended due to Issue 32336)
yarn build
- Move the resulting dist folder into your grafana plugins directory
- Windows:
C:\Program Files\GrafanaLabs\grafana\data\plugins
- Linux:
/var/lib/grafana/plugins
Rename the folder to umh-datasource
You need to enable development mode to load unsigned plugins
Restart your grafana service
From Grafana’s plugin store
TODO
Usage
Open Grafana and login
Open umh-datasource’s settings
Configure your customer name & API Key (automatically configured in Helm deployment)
Configure your server url:
URL: URL/IP:Port of grafanaproxy
http://{URL}/api/v1/factoryinsight/
e.g:
http://172.21.9.195:2096/api/v1/factoryinsight/
Click “Save & Test”
Last modified February 7, 2022: fix: added case insensitive redirection (301447a)