Plugins 〉Parity Report

Zuburqan Khan

Sign up to receive occasional product news and updates:

The Parity Report plugin has been deprecated and is no longer maintained.


Parity Report

  • Overview
  • Installation
  • Related content

Grafana Parity Report

A parity report panel for Grafana.

Parity Report Panel


This panel shows a parity report for multiple series. A report is represented as a table with rows. Each row shows a custom check expressed as an equation having the series data reduced to a representative value by means of mathjs functions along with two extra functions supported by this plugin, namely:

# gives the first datapoint in the series

gives the last datapoint in the series


Each of these functions takes an alias name genereated by the 'alias()' graphite function for queries under the metrics tab. An example of queries having aliases as A, B and C is shown below:

Parity Report Metrics Tab

alias(, 'A')

alias(, ‘B’)

alias(, ‘C’)

By default the plugin looks for "target" as the key in the JSON response but it can be changed through the Alias Key field under the options tab. The JSON response from the datasource should be of the following format (with "target" or some other key specified through Alias Key field)


These queries can then be used in the custom checks expressed as equations and referred by their aliases A, B and C.

Parity Report Options Tab

max(A) + min(B) = mean(C) * 2

sum(B) / first(A) * 5 = last(C)

first(A) + var(B) = first(B) + std(C)

derivative(“x^2”, “x”).eval({x: mean(A)}) = hypot(C)

On defining equations like above one can set multiple thresholds on accepted percentage difference between LHS and RHS of the equation, the breach of which can be shown in the parity report table as different colors set against the thresholds. The report also shows the percentage difference with configurable precision.



This panel should work will work with Graphite.


Docker is an easy way to spin-up an instance of Grafana. With docker installed, run the following command in the directory containing the plugin; this will expose the local plugin on your machine to the Grafana container so you can test it out.

docker run -it -v $PWD:/var/lib/grafana/plugins/parity_report -p 3000:3000 --name grafana.docker grafana/grafana

Now do this...

# Install development packages
npm install

Install the grunt-cli

sudo npm install -g grunt-cli

Compile into dist/


Restart Grafana to see it

docker restart grafana.docker

Watch for changes (requires refresh)

grunt watch

Use grunt test to run the Jasmine tests for the plugin; and grunt eslint to check for style issues. Note that the plugin controller isn't tested because it depends on Grafana native libraries, which aren't available outside of Grafana.


For bugs and new features, open an issue and we'll take a look. If you want to contribute to the plugin, you're welcome to submit a pull request - just make sure grunt runs without errors first.

Installing Parity Report on Grafana Cloud:

For more information, visit the docs on plugin installation.