Skip to content

Java Application ProbeService Demo By using Java Agent

Notifications You must be signed in to change notification settings

kgpp34/probe-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

probe-agent

Java Application ProbeService Demo By using Java Agent

detail

This project contains two parts, one is agent directory, the other is main application.

the main application has a service which named is ProbeService, and the agent aims to instrument this service and change the ability.

The Agent part contains premain class and a interceptor, which will instrument the probe service by using bytebuddy.

package

you should update pom.xml, and package main.jar and agent.jar by exec following command,

mvn clean package -Dmaven.test.skip=true

run

java -javaagent:agent.jar -jar main.jar

About

Java Application ProbeService Demo By using Java Agent

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages