AutohomeCorp / autohome-compareQueries-datasource

This plugin is built as a datasource plugin that comapre and contrasts different time shifts data
MIT License
126 stars 25 forks source link

Grafana Compare Query Datasource


中文文档

Webpack copy of grafana-meta-queries implementing https://github.com/grafana/grafana/issues/2093

This plugin is built as a datasource plugin that combines and contrasts different time shifts data.

Time shift supports the following units: s (seconds), m (minutes), h (hours), d (days), w (weeks), M (months), y (years)

Screenshots

Screenshot1

Screenshot2

Installation

Clone this project into the grafana plugins directory (if you install grafana with the package, the default is /var / lib / grafana / plugins). Restart grafana and the datasource plugin should be detected and automatically used.

Usage

Build

Important work on a machine that has Grafana installed.

$ sudo apt-get install npm
$ sudo apt-get remove cmdtest
$ sudo apt-get remove yarn
$ sudo npm install -g yarn
$ cd /var/lib/grafana/plugins
$ sudo git clone https://github.com/alimli/autohome-compareQueries-datasource.git
$ sudo chown -R ubuntu:ubuntu autohome-compareQueries-datasource
$ cd autohome-compareQueries-datasource/
$ yarn install
$ yarn build

Credits

Based on

Made by AutoHome Team