Coder Social home page Coder Social logo

xianlezheng / falcon-plus Goto Github PK

View Code? Open in Web Editor NEW

This project forked from open-falcon/falcon-plus

0.0 2.0 0.0 13 MB

open-falcon primary repository,all-in-one

Makefile 0.19% Go 80.47% Shell 5.11% CSS 10.25% HTML 2.03% JavaScript 1.36% Python 0.41% Ruby 0.17%

falcon-plus's Introduction

Falcon+

Open-Falcon

Build Status codecov GoDoc Code Issues Go Report Card License

Documentations

Get Started

before start , please make sure you prepared this ready.

And then

# set $GOPATH and $GOROOT

mkdir -p $GOPATH/src/github.com/open-falcon
cd $GOPATH/src/github.com/open-falcon
git clone https://github.com/open-falcon/falcon-plus.git
cd falcon-plus/

Compilation

# all modules
make all

# specified module
make agent

# pack all modules
make pack
  • after make pack you will got open-falcon-vx.x.x.tar.gz
  • if you want to edit configure file for each module, you can edit config/xxx.json before you do make pack
  • if you got dependencies fetch error on golang.org/x/*, please run sh fix_gosrouce_fetch_error.sh before you compile it.

Unpack and Decompose

export WorkDir="$HOME/open-falcon"
mkdir -p $WorkDir
tar -xzvf open-falcon-vx.x.x.tar.gz -C $WorkDir
cd $WorkDir

Run Open-Falcon Commands

for example:

# ./open-falcon [start|stop|restart|check|monitor|reload] module
./open-falcon start hbs

./open-falcon check
        falcon-graph         UP           79292
          falcon-hbs         UP           79295
        falcon-judge         UP           79301
     falcon-transfer         UP           79304
       falcon-nodata         UP           79307
         falcon-task         UP           79310
   falcon-aggregator         UP           79313
        falcon-agent         UP           79316
      falcon-gateway         UP           79319
          falcon-api         UP           98421
        falcon-alarm         UP           86388

  • 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.

trash file example:

package: github.com/open-falcon/falcon-plus

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:)

falcon-plus's People

Contributors

laiwei avatar niean avatar ulricqin avatar chyeh avatar hitripod avatar yubo avatar michalderkacz avatar masato25 avatar oiooj avatar cmgs avatar hnakamur avatar vbatoufflet avatar dongfanliang avatar caglar10ur avatar xingfusye avatar andyxning avatar 710leo avatar southwolf avatar humorless avatar missuzhang avatar iambocai avatar fangpsh avatar garyburd avatar jingzhaoyang avatar tobegit3hub avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.