Grafana data source plugin for Rightech IoT platform
> docker run -it -p 3000:3000 \
-e "GF_INSTALL_PLUGINS=https://rightech.io/ric-datasource;rightech-ric-datasource" \
grafana/grafana:8.4.4
https://rightech.io/ric-datasource is a short link for latest release archive from releases page
# download latest release
> wget https://github.com/Rightech/ric-datasource/releases/download/v3.1.32/rightech-ric-datasource-3.1.32.zip
# system installation
> unzip rightech-ric-datasource-3.1.32.zip -d /var/lib/grafana/plugins
# binary installation
> unzip rightech-ric-datasource-3.1.32.zip -d ./data/plugins
Or docker installation:
> unzip rightech-ric-datasource-3.1.32.zip -d ./plugins
> docker run -it -p 3000:3000 \
-v "$(pwd)"/plugins:/var/lib/grafana/plugins \
grafana/grafana:8.4.4
> grafana-cli --pluginUrl https://rightech.io/ric-datasource plugins install rightech-ric-datasource
- Go to access tokens page and issue token with scopes:
GET /models/*
GET /objects/*
- Paste access token to
Token
config field
> npm start
> docker run -it -p 3000:3000 \
-e GF_APP_MODE=development \
-e GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS=rightech-ric-datasource \
-v "$(pwd)"/dist:/var/lib/grafana/plugins/rightech-ric-datasource \
--name=grafana grafana/grafana:8.4.4