/grafana-openfalcon-datasource

openfalcon plugin for grafana

Primary LanguageJavaScriptMIT LicenseMIT

Open-Falcon plugin for Grafana

Open-Falcon is an open-source, enterprise-level, and large-scale service monitoring system and time series database. It's initially released by Xiaomi SRE team in 2015 and heavily used in Xiaomi. Open-Falcon is now one of the most popular monitoring system in China internet companies:

More Info:

Installation

Method 1: Building from Source

git clone https://github.com/grafana/grafana
git checkout v3.0-beta7

Building Backend

cd $GOPATH/src/github.com/grafana/grafana
go run build.go setup            (only needed once to install godep)
godep restore                    (will pull down all golang lib dependencies in your current GOPATH)
go run build.go build

Building Frontend

npm install
npm install -g grunt-cli
grunt

Checkout the plugin

cd $GRAFANA_PATH/public_gen/app/plugins/datasource
git clone https://github.com/gaobrian/grafana-openfalcon-datasource fastweb-openfalcon-datasource

Start grafana-server

./bin/grafana-server

Checkout the plugin

cd /var/lib/grafana/plugins

git clone https://github.com/gaobrian/grafana-openfalcon-datasource fastweb-openfalcon-datasource

Update the plugin information

Add the following into $GRAFANA_PATH/conf/defaults.ini:

[plugin.openfalcon]
path = /var/lib/grafana/plugins/fastweb-openfalcon-datasource

After Installation

If the installation is successful, Open-Falcon datasource would be shown as follow: