The rest.pbd
and Rest.jar
are used to instrument Spring and JAX-RS REST web services in Introscope.
The rest-client.pbd
is used for instrumenting Spring REST client to generate backend metrics and triage map.
You need Maven to build the Rest.jar
. Once you have Maven installed,
yo can navigate to rest-introscope
project folder and execute the following command,
mvn clean install
Once the build is successful, you will find the Rest.jar
under target
folder.
Make the following changes to your Introscope agent after stopping the app/web server:
- Navigate to
wily/core/config
directory. - Copy
rest.pbd
towily/core/config
directory. - Edit the
IntroscopeAgent.profile
- Modify the
introscope.autoprobe.directivesFile
property by adding a new entry,rest.pbd
, the comma-delimited list, e.g.,introscope.autoprobe.directivesFile=tomcat-typical.pbl,hotdeploy,rest.pbd, rest-client.pbd
- Copy
Rest.jar
towily/core/ext
directory.
- Start your app/web server to pick up the new changes.
- Exercise your Spring or JAX-RS REST application to generate Introscope metrics.