umh-datasource

1 minute read

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

  1. Clone the datasource repo [email protected]:united-manufacturing-hub/united-manufacturing-hub-datasource.git

  2. Install dependencies

yarn install
  1. Build plugin in development mode or run in watch mode
yarn dev
  1. Build plugin in production mode (not recommended due to Issue 32336)
yarn build
  1. Move the resulting dist folder into your grafana plugins directory
  • Windows: C:\Program Files\GrafanaLabs\grafana\data\plugins
  • Linux: /var/lib/grafana/plugins
  1. Rename the folder to umh-datasource

  2. You need to enable development mode to load unsigned plugins

  3. Restart your grafana service

From Grafana’s plugin store

TODO

Usage

  1. Open Grafana and login

  2. Open umh-datasource’s settings

  3. Configure your customer name & API Key (automatically configured in Helm deployment)

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

  5. Click “Save & Test”