REST Monitoring

Document ID : KB000105770
Last Modified Date : 09/07/2018
Show Technical Document Details
Question:
We have been requested to display REST data in Introscope. It uses the JAX-RS standard, with CXF servicing it. Can this be done? If so, how?
Environment:
APM 10.5  and later
Answer:
For APM, you may use the following two options:
1) Use the unsupported Marketplace JAX-RS extension
https://marketplace.ca.com/shop/ca/jax-rs.html --

2) Upgrade the cluster to APM 10.7 SP 1

Then point to the webservices.pbd

###########################################################  
## Apache CFX Server JAX-WS Instrumentation  
############################################################  

#SetTracerClassMapping:  ApacheCXFJaxWSSyncServerCorrTracer com.wily.powerpack.webservices.extension.agent.trace.correlation.CXFNameAndSOAPCorrelationTracer com.wily.introscope.probebuilder.validate.ResourceNameValidator  
#SetTracerParameter:     ApacheCXFJaxWSSyncServerCorrTracer nameformatter com.wily.powerpack.webservices.extension.agent.trace.nameformatter.cxf.CXFJaxWSServerNameFormatter  


IdentifyClassAs: org.apache.cxf.jaxws.JAXWSMethodInvoker ApacheCXFJaxWSServerTracing  


###############################################################################################  
#  
# JAX-RS (Jersey) server-side web service tracer  
#  
###############################################################################################  
SetFlag: JAXRS