Skip to content

FraunhoferIOSB/frost-sensorthings-datasource

Repository files navigation

FROST SensorThings API data source for Grafana

Build Release Marketplace Downloads License

A data source plugin for loading OGC SensorThings API data into Grafana.

NO2 Values in Karlsruhe

Using the Plugin

  1. Click the Gear icon in Grafana to enter the configuration menu, select Plugins, and add FROST SensorThings Plugin
  2. Go back and select Data Sources. Click Add data source, choose FROST SensorThings API Plugin
  3. Enter a name for the datasource, and enter the base URL to a SensorThings API server, e.g. https://airquality-frost.k8s.ilt-dmz.iosb.fraunhofer.de/v1.1/
  4. Add authentication settings if needed and click "Save & Test".
  5. Create a new dashboard, under Dashboards, Browse, New Dashboard.
  6. Add a panel (bar icon with plus on the top right)
  7. Make sure the correct datasource is chosen.
  8. Choose Advanced mode and select the desired cache time. Add your path to the Observations you want to visualize (without the baseURL, but keeping the leading /) e.g. /Datastreams(1)/Observations. It is recommended to order the Observations by phenomenonTime (?$orderby=phenomenonTime).

Further Documentation

Full documentation for the plugin is available on website. The developer documentation can be found on GitHub.

Contributions

This plugin is based on the JSON API data source for Grafana by Marcus Olsson. It is the successor of the initial Grafana SensorThings Datasource Plugin by LinkSmart.