To simplify problem resolution, Dynatrace integrates with IntelliJ IDEA through the Dynatrace IntelliJ IDEA Integration Plugin. The Dynatrace IntelliJ IDEA Integration Plugin enables you to:
version 2.x: Dynatrace AppMon 6.3 and up / IntelliJ 2016.1+version 1.x: dynaTrace >= 5.5
version 2.x: Dynatrace R&D (Contributors: Maciej Mionskowski / https://maciekmm.net/)version 1.x: Christian Grimm (email@example.com)
version 2.x: https://github.com/Dynatrace/Dynatrace-IntelliJ-IDEA-Integration-Plugin/releases/version 1.x: dynaTrace IntelliJ IDEA Integration Plugin v1
version 1.x: dynaTrace IntelliJ IDEA Integration Plugin v1
Follow the instructions available on the Plugin Github page.
For detailed user guide please consult the Plugin Github page and the IntelliJ IDEA Plugin FAQ / Troubleshooting Guide
With the Dynatrace Launcher, Auto instrument your Java applications from IntelliJ IDEA:
When lauching JUnit tests, the plug-in will automatically register a test run to the Dynatrace Server. The results and key architectural metrics are automatically retrieved and displayed in the Test Result tab.
The test results are also visible in the Dynatrace Client for further drill-down to the PurePath level.
More information about the Test Automation feature: Test Automation Explained
When Dynatrace identifies a source code fragment as the root cause of a particular problem, you can go directly from the Dynatrace Client to the exact location within your IntelliJ IDEA development environment where you need to make changes.
will this plugin be updated for working with 5.6.0 and IntelliJ 13+? Our developers would love it , because most of them using IntellJ.
Hi Jan. Have you tested this with 5.6? Our interfaces havent changed - so - I would just give it a shot and see if it works. Chances are that it just works. If you can confirm then I can update the version information on that page. If not - I will contact the author
we tested it and got this error:
IncompatibleClassChangeError: Found interface com.intellij.execution.configurations.RunnerSettings, but class was expected: Found interface com.intellij.execution.configurations.RunnerSettings, but class was expected (a minute ago)
I can't say, if it would work with dt 5.6, because it isn't working with IntelliJ 13
Do we know if this will be updated for 6.0 or 6.1 and IntelliJ 14? I have a prospect asking since they use version 14.
Hi Jeff. Just talked with the author. He hasnt tested it with v14. Chances are that it just works - but - it is also possible that IntelliJ changed their plugin interfaces. So - I would give it a try if I would be you. The good news is that the interfaces on the dynatrace side havent changed. So - the plugin will work with the latest versions of dT. Its really just a matter on whether IntelliJ is still compatible.
If you go forward and give this a try let me know how it works
we tried to connect Dynatrace 6.1 with IntelliJ 14 and it didn't work. The plugin was installed successfully, but we couldn't connect from Dynatrace with "Show in IDE".
The project in IntelliJ had the file open, but Dynatrace did not jump in. We tested it on Windows 7 and Mac OS 10.
IntelliJ Exception mit Dynatrace 6.1 und IntelliJ 14:
com.intellij.psi.JavaPsiFacade.findClass(Ljava/lang/String;)Lcom/intellij/psi/PsiClass;java.lang.NoSuchMethodError: com.intellij.psi.JavaPsiFacade.findClass(Ljava/lang/String;)Lcom/intellij/psi/PsiClass; at com.dynatrace.diagnostics.ideaplugin.codelink.SourceCodeNavigator.findFile(SourceCodeNavigator.java:31) at com.dynatrace.diagnostics.ideaplugin.codelink.SourceCodeNavigator.openSourceCode(SourceCodeNavigator.java:16) at com.dynatrace.diagnostics.codelink.core.client.CodeLinkWebserviceClient$1.run(CodeLinkWebserviceClient.java:70) at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:318) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:744) at java.awt.EventQueue.access$400(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:697) at java.awt.EventQueue$3.run(EventQueue.java:691) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75) at java.awt.EventQueue.dispatchEvent(EventQueue.java:714) at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:748) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:577) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:384) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Thank you for your feedback. Unfortunately IntelliJ 14 is actually untested. There are currently no plans from my side for updating this plugin.
Thank you for understandingChristian
Is 11 the last version we plan on supporting? I have a customer running 14 that would like to use this plug in.
Shame it would have been useful to help with Developer adoption if it was directly integrated with their IDE/Build environment.
Is it possible to get the source code for the plugin so that someone else could possibly pick it up? We are running a variant of IntelliJ based on 1.4 and integrating the two would be a great benefit to our project.
My client also uses IntelliJ 14, and is very interested in using this integration. Are there plans to either share the code for manual fixes or are there plans for future revisions to this plugin?
Also in my company, the developer a changing from eclipse to intellij 14 and for the CI it would be very interesting to have a plugin.
Hi, Christian Grimm or Ingo Hackl can the code for this plugin be put up on the Github repo https://github.com/Dynatrace/Dynatrace-IntelliJ-IDEA-Integration-Plugin since it hasn't been updated since 2012? It looks like there's enough community around this interested to update and maintain such a plugin.
I have a big customer in Belgium that is using IntelliJ 14 and is in need for this plugin. Not everybody uses Eclipse
Again, I'd like to ask for the source so we can maintain it in the community
Christian Grimm was kind enough to send us the source code of the old version and we plan to update it during the Summer before releasing it (including source code).
Please watch Kristof Renders Product Idea on the forum to stay updated on the progress and beta testing: https://answers.dynatrace.com/idea/153937/rfe-official-plugin-for-latest-intellij-releases.html
Great news! Thank you Sonja
we have a BETA release ready to be tested for IntelliJ. Just drop me an e-mail at firstname.lastname@example.org if you are interested to test it before we publish it officially.
good to see that IntelliJ is also supported now. Any chance to run this on IntelliJ 15 or any plans on backporting?
we have added support for IDEA 15.
Updated version should be available on JetBrains plugin repository.
Manual installation is possible using the release from our github: https://github.com/Dynatrace/Dynatrace-IntelliJ-IDEA-Integration-Plugin/releases/tag/v2.0.2
FYI, I got the following Exception once, it seems there are cases where a null-check is missing:
Version 2.0.3 in IntelliJ 2016.2.3
Thanks for the report Dominik!
I assume that occurred after executing tests. Did you close the test panel before that happened? It looks like we didn't get the object we read list of tests from.
Sorry, I am not sure, I just saw the error message pop up in IntelliJ, but I likely did not actually close the Test-panel, I usually only hide it.
There might have been a restart of IntelliJ around that time, but I am not sure about this either..