Skip to content

Latest commit

 

History

History
70 lines (51 loc) · 1.87 KB

README.md

File metadata and controls

70 lines (51 loc) · 1.87 KB

Grafana-n9e-datasource

Emm, nothing to say, it is better to install and use it.

Dependencies

Grafana >= 7.x.x
Nightingale >= V2.4.1

Installation

grafana-cli --pluginUrl https://github.com/n9e/grafana-n9e-datasource/archive/v1.5.4.zip plugins install grafana-n9e-datasource

Configuration

rdb

Generate a token on /rdb/personnel-info/profile.

grafana

Create datasource.

URL: nginx address
Token: the token u just generated on /rdb/personnel-info/profile

grafana variables

Name Type Query(Query Options) Multi-value(Selection Options) Include All option(Selection Options)
Node Query Node off off
Endpoints Query Endpoints BY $Node on on

Variable names and query value are fixed.

QueryEditor

Development

  1. Install dependencies
yarn install
  1. Build plugin in development mode or run in watch mode
yarn dev

or

yarn watch
  1. Build plugin in production mode
yarn build

FAQ

Learn more