liwooood / falcon-plus

open-falcon primary repository,all-in-one

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Falcon+

Open-Falcon

Build Status codecov GoDoc Join the chat at https://gitter.im/goappmonitor/Lobby Code Health Code Issues Go Report Card License

Documentations

Get Started

Compilation

# all modules
make all

# specified module
make agent

# pack all module
make pack
  • after make pack you will got open-falcon-vx.x.x.tar.gz
  • if you want edit configure file for each module, you can edit config/xxx.json before you do make pack

Decompose

mkdir $WorkingDir
tar -xzvf open-falcon-vx.x.x.tar.gz -C $WorkingDir
cd $WorkingDir

Run Open-Falcon Commands

Agent for example:

# ./open-falcon [build|pack|start|stop|restart|status|tail] module
./open-falcon start hbs

./open-falcon check
#       falcon-graph         UP           15525
#         falcon-hbs         UP           15428
#      falcon-sender       DOWN               -
#       falcon-query       DOWN               -
#       falcon-judge       DOWN               -
#    falcon-transfer         UP           15476
#      falcon-nodata       DOWN               -
#        falcon-task       DOWN               -
#  falcon-aggregator       DOWN               -
#       falcon-agent         UP           16601
#     falcon-gateway       DOWN               -
#         falcon-api         UP           16762
  • For debugging , You can check $WorkDir/$moduleName/log/logs/xxx.log

Package Management

How-to

Make sure you're using Go 1.5+ and GO15VENDOREXPERIMENT=1 env var is exported. (You can ignore GO15VENDOREXPERIMENT using Go 1.6+.)

  1. Install trash by go get github.com/rancher/trash.
  2. Edit trash.yml file to your needs. See the example as follow.
  3. Run trash --keep to download the dependencies.
package: github.com/open-falcon/open-falcon

import:
- package: github.com/open-falcon/common              # package name
  version: origin/develop                        # tag, commit, or branch
  repo:    https://github.com/open-falcon/common.git  # (optional) git URL

Package Release

make clean all pack

Q&A

Any issue or question is welcome, Please feel free to open github issues.

About

open-falcon primary repository,all-in-one


Languages

Language:HTML 43.2%Language:Go 27.4%Language:JavaScript 21.6%Language:CSS 5.3%Language:Shell 2.2%Language:Python 0.2%Language:Makefile 0.1%Language:Ruby 0.1%