Page tree
Skip to end of metadata
Go to start of metadata

The Grafana plugin enables integration of the Historical Datastore as a datasource in Grafana.

For more information visit: https://grafana.com/plugins/linksmart-hds-datasource

Content

Plugin Installation

Install on Grafana Service

Assuming that Grafana is installed as a service:

grafana-cli plugins install linksmart-hds-datasource

Install on Dockerized Grafana

The following commands runs the latest Grafana with the latest published HDS plugin: 

docker run -p 3000:3000 -e "GF_INSTALL_PLUGINS=linksmart-hds-datasource" --name=grafana grafana/grafana

Install from source

 Click here to expand...

Install on Grafana Service

Assuming that Grafana is installed as a service, clone the repository into Grafana's plugin directory and restart Grafana.

git clone https://code.linksmart.eu/scm/hds/grafana-hds-datasource.git linksmart-hds

Install on Dockerized Grafana

  • Make a directory for Grafana, e.g.:
mkdir /home/user/grafana
cd /home/user/grafana
git clone https://code.linksmart.eu/scm/hds/grafana-hds-datasource.git plugins/linksmart-hds
  • Get the Grafana image and run it (change the path for directory on host):
docker run -p 3000:3000 --name=grafana -v /home/user/grafana:/var/lib/grafana grafana/grafana

Configuration

Plugin Configuration

NameDescription
NameThe data source name.
DefaultSet this as the default plugin for new panels.
TypeChoose LinkSmart HDS.
UrlThe URL of the HDS instance. (Default port is 8085)
AccessProxy: Let Grafana server proxy the requests to HDS. / Direct: Send requests directly from client browser.
Basic AuthAuthenticate to HDS (if required, provide User and Password)

Query Configuration

NameDescription
MetricThe ID and name of the metric (HDS Datasource)
SourceThe measurement, aggregates, and retention policy (Preconfigured at HDS)
  • No labels