2 minute read
The grafana microservice is a web application that provides visualization and analytics capabilities. Grafana allows you to query, visualize, alert on and understand your metrics no matter where they are stored.
It has a rich ecosystem of plugins that allow you to extend its functionality beyond the core features.
How it works
Grafana is a web application that can be accessed through a web browser. It let’s you create dashboards that can be used to visualize data from the database.
Thanks to some custom datasource plugins, Grafana can use the various APIs of the United Manufacturing Hub to query the database and display useful information.
- External LoadBalancer:
united-manufacturing-hub-grafanaat port 8080
- External LoadBalancer:
Grafana is configured through its user interface. The default credentials are found in the grafana-secret Secret.
The Grafana installation that is provided by the United Manufacturing Hub is shipped with a set of preinstalled plugins:
- ACE.SVG by Andrew Rodgers
- Button Panel by CloudSpout LLC
- Button Panel by UMH Systems Gmbh
- Discrete by Natel Energy
- Dynamic Text by Marcus Olsson
- FlowCharting by agent
- Pareto Chart by isaozler
- Pie Chart (old) by Grafana Labs
- Timepicker Buttons Panel by williamvenner
- UMH Datasource by UMH Systems Gmbh
- UMH Datasource v2 by UMH Systems Gmbh
- Untimely by factry
- Worldmap Panel by Grafana Labs
|Variable name||Description||Type||Allowed values||Default|
|The API key to use to authenticate to the Factoryinsight API||string||Any||Base64 encoded string|
|The base URL of the Factoryinsight API||string||Any||united-manufacturing-hub-factoryinsight-service|
|The customer ID to use to authenticate to the Factoryinsight API||string||Any||factoryinsight|
|The password to use to authenticate to the Factoryinsight API||string||Any||Random UUID|
|The path where Grafana will store its data||string||Any||/var/lib/grafana/data|
|The path where Grafana will store its logs||string||Any||/var/log/grafana|
|The path where Grafana will store its plugins||string||Any||/var/lib/grafana/plugins|
|The path where Grafana will store its provisioning configuration||string||Any||/etc/grafana/provisioning|
|List of plugin identifiers to allow loading even if they lack a valid signature||string||Comma separated list||umh-datasource,umh-factoryinput-panel,umh-v2-datasource|
|The password of the admin user||string||Any||Random UUID|
|The username of the admin user||string||Any||admin|