Giter Site home page Giter Site logo

awacs's Introduction

AWACS

Build Status License Version

Overview

AWACS is a non-intrusive Java APM.

Features

  • Realtime monitoring
  • No SDK dependence for users
  • Plugin based architecture
  • Little performance effect
  • Support custom plugin
  • Easy to deploy

Quickstart

  1. Compile & Extract

    cd awacs
    git checkout 0.1.11
    mvn clean package -Dmaven.test.skip=true
    cd awacs-server/target && unzip awacs-server.zip
    
  2. AWACS defaults use MongoDB as data storage, so we need start MongoDB before

  3. Edit awacs-server/conf/awacs.properties and modify MongoDB's host and port(default is 127.0.0.1:27017)

  4. Start AWACS

    sh /path/to/awacs/awacs-server/bin/start.sh
    
  5. AWACS includes a simple springmvc webapp demo, simply start:

    java -javaagent:/path/to/awacs/awacs-agent/target/awacs-agent.jar=http://127.0.0.1:7200 -jar /path/to/awacs/demo-with-spring/target/demo-with-spring-1.0.0.jar
    
  6. Test webapp and check MongoDB

    curl 127.0.0.1:8080/v1/test/hello
    curl 127.0.0.1:8080/v1/img
    mongo
    db.stacktrace.find().pretty()
    
    {
    	"_id" : ObjectId("58fa2096c2aac76c70c1ca6e"),
    	"stack" : {
    		"caller" : "io.awacs.demo.TestController#test2",
    		"subMethods" : [
    			{
    				"caller" : "io.awacs.demo.TestController#bis1",
    				"subMethods" : [
    					{
    						"caller" : "io.awacs.demo.TestController#bis2",
    						"subMethods" : [ ],
    						"callCount" : 1,
    						"timestamp" : NumberLong("1492787342081"),
    						"elapsedTime" : 101
    					}
    				],
    				"callCount" : 1,
    				"timestamp" : NumberLong("1492787341581"),
    				"elapsedTime" : 601
    			}
    		],
    		"callCount" : 1,
    		"timestamp" : NumberLong("1492787341581"),
    		"elapsedTime" : 601
    	},
    	"host" : "127.0.0.1",
    	"pid" : 93432,
    	"thread" : "qtp1349414238-26",
    	"timestamp" : 1492787342
    }
    

Documents

Contributors

License

Apache License 2.0

awacs's People

Contributors

kb1ns avatar

Watchers

 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.