Skip to content

banyue/falcon-plus

 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 46.8%
  • Go 30.4%
  • JavaScript 14.8%
  • CSS 5.4%
  • Shell 2.2%
  • Python 0.2%
  • Other 0.2%