Skip to content

factrylabs/factry-historian-datasource

Repository files navigation

Factry Historian Logo Factry Historian Datasource

Grafana datasource for Factry Historian.

Development

A data source backend plugin consists of both frontend and backend components, frontend components reside in /src and backend components reside in /pkg.

Prerequisites

After starting the application in either debug or normal mode, navigate to http://localhost:3001 to view the plugin in Grafana. The datasource, along with some dashboards, will be automatically provisioned.

Debug mode

To run the plugin in debug mode, with filewatchers and hot-reloading enabled:

make clean  # optional
make run_debug

Normal mode

To run the plugin in normal mode, without filewatchers and hot-reloading:

make clean  # optional
make build_all
make run_server