Plugins 〉KapacitorSimpleJson


Developer

Paytm

Sign up to receive occasional product news and updates:


Grafana Cloud
ObservabilityCON on the Road: Chicago (Mar 11)

See demos of new Grafana Cloud observability workflows, hear community success stories, and leave with what you need to advance your observability roadmap.


The KapacitorSimpleJson plugin has been deprecated and is no longer maintained.

Data Source
community

KapacitorSimpleJson

  • Overview
  • Installation
  • Related content

kapacitor-grafana-datasource-plugin - a kapacitor backend datasource plugin for grafana

More documentation about datasource plugins can be found in the Docs.

Kapacitor Datasource Setup

  1. Go to Configurations and select 'Data Sources'.
  2. Go to 'Add data source' and select 'KapacitorSimpleJson'.
  3. 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.
  4. Save and Test the settings.

Kapacitor Datasource Usage

  1. While creating a new dashboard use the KapacitorSimpleJson datasource.
  2. Once you select the KapacitorSimpleJson datasource in the Queries panel,a drop down menu to select the particular database will appear.
  3. Select the database whose alerts list you want to view.
  4. Under the Visualisation panel select Table.
  5. The list of all alerts on the selected database allong with its details will appear in the table.

Dev setup

This plugin requires node 6.10.0

npm install -g yarn
yarn install
npm run build

Installing KapacitorSimpleJson on Grafana Cloud:

For more information, visit the docs on plugin installation.

Installing on a local Grafana:

For local instances, plugins are installed and updated via a simple CLI command. Plugins are not updated automatically, however you will be notified when updates are available right within your Grafana.

1. Install the Data Source

Use the grafana-cli tool to install KapacitorSimpleJson from the commandline:

grafana-cli plugins install 

The plugin will be installed into your grafana plugins directory; the default is /var/lib/grafana/plugins. More information on the cli tool.

2. Configure the Data Source

Accessed from the Grafana main menu, newly installed data sources can be added immediately within the Data Sources section.

Next, click the Add data source button in the upper right. The data source will be available for selection in the Type select box.

To see a list of installed data sources, click the Plugins item in the main menu. Both core data sources and installed data sources will appear.