More documentation about datasource plugins can be found in the Docs.
- Go to Configurations and select 'Data Sources'.
- Go to 'Add data source' and select 'KapacitorSimpleJson'.
- In the KapacitorSimpleJson Datasource configuration, enter the URL of the kapacitor server. Please do not add '/kapacitor/v1/tasks' or any other apiendpoint in it, just enter the URL including the port number of the kapacitor server if required.
- Save and Test the settings.
- While creating a new dashboard use the KapacitorSimpleJson datasource.
- Once you select the KapacitorSimpleJson datasource in the Queries panel,a drop down menu to select the particular database will appear.
- Select the database whose alerts list you want to view.
- Under the Visualisation panel select Table.
- The list of all alerts on the selected database allong with its details will appear in the table.
This plugin requires node 6.10.0
npm install -g yarn
yarn install
npm run build