LinkSmart HDS Datasource

Data Source

Grafana datasource plugin for LinkSmart Historical Datastore

LinkSmart HDS - Grafana Datasource Plugin

Grafana datasource plugin for LinkSmart Historical Datastore (HDS).

Sample Dashboard

Installation

Install via grafana-cli

sudo grafana-cli plugins install linksmart-hds-datasource

Install from source

git clone https://github.com/linksmart/grafana-hds-datasource.git linksmart-hds
  • Restart Grafana.

Configuration

Plugin Configuration

  1. Go to Grafana Configuration.
  2. Select Add data source.
  3. Select LinkSmart HDS Datasource
  4. Provide the necessary details (see below figure) to connect with OGC SensorThings server.
NameDescription
NameThe data source name.
DefaultSet this as the default plugin for new panels.
UrlThe URL of the HDS instance. (Default port is 8085)
AccessServer (Default): Let Grafana server proxy the requests to HDS. \ Browser: Send requests directly from client browser.
Whitelisted CookiesNot applicable for this datasource
Basic AuthAuthenticate to HDS (if required, provide User and Password)
  1. Save & Test, you should see this confirmation:

Query Configuration

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

Development

Build the source

npm install 
grunt

Sample HDS for Demonstration Purposes

To run Historical Datastore in demo mode (with continuously growing dummy senml data)

docker run -p 8085:8085  linksmart/hds -demo -conf /conf/docker.json
Sign in to install

Version

Dependencies:
  • Grafana 3.x.x