ApplicationInsights-Java icon indicating copy to clipboard operation
ApplicationInsights-Java copied to clipboard

Java agent to support capturing telemetry from WSO2 EI 6.5 and WSO2 API Gateway products

Open glxorlando opened this issue 3 years ago • 3 comments

Java agent for Application Insights seem not to capture all telemetry from WSO2 Enterprise Integrator (tested in 6.5 version) and WSO2 API Gateway (tested in 2.2.0 version). For those WSO2 products, Azure Application Insights is able to show telemetry within "dependencies view" only, but not within "operations view".

Is there any way to solve this issue?

glxorlando avatar Apr 27 '21 06:04 glxorlando

Tried to define custom Telemetry Processor based on regular expressions to force java agent for Application Insights to trace all the calls made to WSO2 exposed web services, but it was not effective.

glxorlando avatar Apr 29 '21 07:04 glxorlando

@glxorlando - Explore Custom Instrumentation Hook if you know the entry package.method for WSO2, this will help you start capturing proper spans Look at #2048 for more details and it available with v3.1.1 GA agent @trask - FYI, just suggesting a potential alternate since most middleware COTs have an entry wrapper method

zoomingrocket avatar Aug 19 '22 15:08 zoomingrocket

@glxorlando - Reading this article https://medium.com/@raj10x/monitor-wso2-products-using-appdynamics-8faf72e83a7, for WSO2 Custom POJO entry point is “org.apache.synapse.core.axis2.SynapseMessageReceive#receive()”

zoomingrocket avatar Aug 19 '22 19:08 zoomingrocket