grafana-meta-queries

by GoshPosh

Grafana plugin for calculating time period metrics like week over week, month over month and year ov...

213 Stars 44 Forks Last release: about 1 year ago (0.0.3) Apache License 2.0 78 Commits 3 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

Meta Queries Plugin for Grafana:

Meta Queries plugin is built as a data source plugin and can be used in conjunction with other data source to show computed metrics like Moving Average, Time Shift.

Installation

Need to clone this repo into your grafana plugins directory (default /var/lib/grafana/plugins if your installing grafana with package). Restart grafana-server and the plugin should be automatically detected and used.

git clone [email protected]:GoshPosh/grafana-meta-queries.git
sudo service grafana-server restart

Create a new datasource with a name and select

type
as
MetaQueries
Screenshot

Usage

  • Set the Graph's data source to
    MetaQueries
  • Add query of your data source (add a few more)
  • Add query with
    MetaQueries
    as data source
  • Reference other columns as
    A
    or
    B
    depending on what is shown

Examples

Arithmetic

Lets you perform arithmetic operations on one or more existing queries. Screenshot Screenshot

Moving Average

Screenshot

Time Shift

Screenshot

Compatibility

Grafana Meta Queries plugin 0.0.1 and above are supported for Grafana: 4.x.x

Supports Nesting

  • Moving average of moving average
  • Moving average of time shift
  • Time shift of Moving average
  • Time shift of Time Shift

Known issue

  • Moving average on arithmetic is not supported
  • TimeShift on arithmetic is not supported

Status

Lot of features might still not be implemented. Your contributions are welcome.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.