Please help me with PlugIn development I have followed the below mentioned steps
but after importing project in Eclipse I'm getting error "The import com.dynatrace cannot be resolved".As I'm not getting "com.dynatrace.diagnostics.pdk" in my project
I have Collector and Agent on Local system where I'm Trying to develop PlugIn.As I have Provided Server IP and Agent Name in "Window"- "Preference" under Launcher for server connection.
Please Suggest.
Answer by amol k. ·
I have followed the steps given in that Documents in that after importing project in Eclipse I'm not getting package "com.dynatrace.diagnostics.pdk"
in my demo Project.
Please suggest
Amol
Hi Amol
Seems you have also posted on the dynaTrace 3.5 doc pages and already got some additional input from the responsible engineer.
Please use this discussion thread for any additional questions you have. Seems that one of additional steps you had to do was to set the Target Platform in your Eclipse Workbench to your dynaTrace Installation\Server\plugins or Collector\plugins directory.
That should do the trick
Andi
HI Andreas,
Thanks for your quick reply,That issue is resolved.Now I'm getting missing packages but I'm facing new issue now I'm not able to
compile my code using "Run with Dynatrace Agent" option,But same code get compiled as simple java code.
Please suggest.
Please find the screenshot for error details.error.png
Hi Amol
I think you may confuse two things here
1. Developing a dynaTrace Plugin, e.g: Monitor, Task or Action
2. Launching a JAva Application from Eclipse with automatic dynaTrace Agent injected
In your case I think you want to develop a plugin. You therefore would not want to choose "Run with dynaTrace Agent". You want to execute the plugin in the dynaTrace Client just as explained in the documentation.
In the dynaTrace Plugin Tab you can click on Build and Test to run your code as a dynaTrace Plugin
Andi
Answer by Andreas G. ·
Hi
FYI - I moved this post into the APM Forum under Plugins and Extensions as it fits better in this forum category
To answer your question. Please check the following doc page: Best Practices and Examples - it contains a section that explains how to setup and configure Eclipse for dynaTrace Plugin Development
Andi
JANUARY 15, 3:00 PM GMT / 10:00 AM ET