Skip to content

Latest commit

 

History

History
52 lines (40 loc) · 1.08 KB

README.md

File metadata and controls

52 lines (40 loc) · 1.08 KB

apple-qos

Zero configuration needed Log based QOS system. Support spring,dubbo and java.

collector

Unified Log tool for GOS.

  • spring
  • dubbo collect the consumer api access data.

qos agent

Collect the logs in runtime, and send to monitor via kafka.

qos monitor

Consume Log message from kafka, calcuate and save to database.

qos statistics

Support Web UI of Statisics results.

usage

  • add Maven Dependency
	<dependency>
		<groupId>com.appleframework.qos</groupId>
		<artifactId>apple-qos-collector-spring</artifactId>
		<version>0.0.2-SNAPSHOT</version>
	</dependency>
  • integret the Collector
	<bean id="qosCollectInterceptor" class="com.appleframework.qos.collector.spring.CollectInterceptor"/>
	<aop:config>
		<aop:pointcut id="api_wapi" expression="execution(* com.kplus.carwashing.*api.*Controller.*(..)))"/>
		<aop:advisor pointcut-ref="api_wapi" advice-ref="qosCollectInterceptor"/>
	</aop:config>
  • run Monitor
	./bin/qos_montior.sh start ./config/monitor.properties 
  • Run Agent
	./bin/qos_agent.sh start ./config/agent.properties