16 Feb 2018 06:21 AM - last edited on 08 Dec 2021 02:38 PM by MaciejNeumann
28 Feb 2020 01:22 PM
Hello @Abilashini T.,
On this documentation page, you can see all technologies and versions supported by Dynatrace:
Supported technologies and versions
As you can see, Apache Synapse isn't on this list, so as far as I know, it isn't supported at the moment.
16 Mar 2022 06:56 AM
Hi @MaciejNeumann ,
Any update for supporting Apache Synapse?
It is a main technology for wso2 (that supported by Dynatrace) we need to monitor
Thanks,
Arnit
16 Mar 2022 11:16 AM
@arnit_kashi we have a custom solution based on OneAgent SDK to get full tracing across apache synapse (wso2).
Also there is another solution by @thomas_brandl available here which uses opentracing to get end-to end traces:
https://github.com/tbrandl-dynatrace/wso2-apimanager-dynatrace/
The metrics are available as well out-of-box.
20 Mar 2022 11:15 AM
Thanks @Julius_Loman
WSO2 version 2.2 was installed in our company.
the deployment.toml file is not fit, how can we get this to work on version 2.2?
20 Mar 2022 07:28 PM
@arnit_kashi what version of synapse-nhttp-transport_2.1.7 does your installation have?
This file should be located in:
./repository/components/plugins/
21 Mar 2022 07:15 AM
synapse-nhttp-transport_2.1.7.wso2v48
21 Mar 2022 09:23 AM - edited 23 Mar 2022 09:09 PM
@arnit_kashi Try to replace the library with the one attached. Don't forget to unzip it of course. Afterwards you need to restart the WSO2 instance.
This library adds instrumentation for the Apache Synapse classes to properly trace requests. Please keep in mind this is unsupported from Dynatrace ad WSO2, so I'd advise trying it in a non-production environment first.
22 Mar 2022 07:18 AM
Thanks @Julius_Loman , We'll test it in non-production, but we'll need wso2's permission to make the modification in production. Is it possible for you to send me the source with the changes?
22 Mar 2022 12:25 PM
Please test it in non-prod and if it solves your case, then contact me at julius_loman (at) tempest.sk
22 Mar 2022 02:00 PM
Hi,
We get an error
Please see atached
23 Mar 2022 09:29 AM - edited 23 Mar 2022 09:09 PM
@arnit_kashi I think there was I mistake while replacing the jar.
Let's try it again. I've attached a new file.
Please:
23 Mar 2022 12:00 PM
We get an error
Please see the atached file
23 Mar 2022 09:08 PM
@arnit_kashi Ok, I see. Sorry we had a newer version of WSO2.
Please try it with the attached file once again :
24 Mar 2022 07:55 AM
@Julius_Loman We continue to receive the same error.
29 Mar 2022 08:24 AM
@arnit_kashi unfortunately we could not replicate your issue on the same WSO2 version you have. It's probably related to your WSO2 setup or installation. The exception is thrown on the line which is not related to the modification.
Do you stop receiving the exception when you restore the original jar file?
29 Mar 2022 09:08 AM
yes, we stop receiving the exception when we restore the original jar file.
29 Mar 2022 09:38 AM
It could be caused by a different aspectj library (wso2.2 does not include one in the opensource version). Our extension uses AspectJ and as the WSO2.2 did not include one, we added it in the latest library.
I'm afraid we cannot help you without access to your WSO2 installation.
30 Mar 2022 06:26 AM
@Julien unfortunately we can not do this because of security policy..
any suggestion will be appreciated and thanks for all until now 😊