Plugins 〉Comparison Panel


Developer

Integration Matters

Sign up to receive occasional product news and updates:



Panel
community

Comparison Panel

  • Overview
  • Installation
  • Change log
  • Related content

Comparison Panel

img.png

The Comparison panel is meant to display the difference of a current set of values and the set of values right before, with the same time range.
When the current time range is for example from now-5m to now, the previous time range (the one to compare with) should be now-10m to now-5m. To achieve this easily, use the ${__range} variable for current and offset ${__range} for previous values as seen in the table below.

Required query names and queries (queries are exemplary)

Query namequery
total-filteredincrease(application_total{status="success"}[${__range}])
total-right-filteredincrease(application_total{status="timeout"}[${__range}])
previous-filteredincrease(application_total{status="success"}[${__range}] offset ${__range})
previous-right-filteredincrease(application_total{status="timeout"}[${__range}] offset ${__range})

The query names are mandatory.

Install on Grafana Cloud

Plugins can be installed directly from within your Grafana instance or automated using the Cloud API or Terraform.

Learn more about plugin installation

For more information, visit the docs on plugin installation.

Changelog

1.0.0 (Unreleased)

Initial release.