n9e / grafana-n9e-datasource

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

License:Apache License 2.0


Languages

Language:TypeScript 86.5%Language:Less 12.7%Language:JavaScript 0.8%