• Forums
    • Public Forums
      • Community Connect
      • Dynatrace
        • Dynatrace Open Q&A
      • Application Monitoring & UEM
        • AppMon & UEM Open Q&A
      • Network Application Monitoring
        • NAM Open Q&A
  • Home /
  • Public Forums /
  • Application Monitoring & UEM /
  • AppMon & UEM Open Q&A /
avatar image
Question by amol k. · May 16, 2012 at 07:05 PM · plugins

PlugIn Development Issue

Please help me with PlugIn development I have followed the below mentioned steps

  1. First create and configure the Plugin to your needs as described above.
  2. Then open Eclipse with any workspace and select File then Import... from the menu.
  3. In the import dialog select Existing Projects into Workspace and navigate to the base folder of your plugin. The currently configured base folder for plugin development is shown in the client preferences of the dynaTrace Client, the default folder name for a Plugin is the plugin name.
  4. Select your project, then finish.

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.

Comment

People who like this

0 Show 0
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

2 Replies

  • Sort: 
  • Most voted
  • Newest
  • Oldest
avatar image

Answer by amol k. · May 16, 2012 at 07:56 PM

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

Comment

People who like this

0 Show 4 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image Andreas G. ♦ · May 16, 2012 at 08:21 PM 0
Share

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

avatar image amol k. Andreas G. ♦ · May 16, 2012 at 09:28 PM 0
Share

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

avatar image Andreas G. ♦ amol k. · May 16, 2012 at 09:36 PM 0
Share

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

avatar image amol k. Andreas G. ♦ · May 17, 2012 at 08:17 PM 0
Share

Hi Andreas,

Once Again Thanks a lot for your quick reply and I appreciate your approach towards issues posted on forum.

avatar image

Answer by Andreas G. · May 16, 2012 at 07:40 PM

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

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

How to get started

First steps in the forum
Read Community User Guide
Best practices of using forum

NAM 2019 SP5 is available


Check the RHEL support added in the latest NAM service pack.

Learn more

LIVE WEBINAR

"Performance Clinic - Monitoring as a Self Service with Dynatrace"


JANUARY 15, 3:00 PM GMT / 10:00 AM ET

Register here

Follow this Question

Answers Answers and Comments

2 People are following this question.

avatar image avatar image

Related Questions

Could you please provide details on how to integate Dynatrace with the Jenkins pipeline. In particular running Jmeter tests

Generic Execution Plugin: Problem with quoting of spaces

is weblogic JMS Plugin available to monitor JMS related stuff

Configure alert due to plugin execution failure

SOLR Remote Monitoring Plugin

Forum Tags

dotnet mobile monitoring load iis 6.5 kubernetes mainframe rest api dashboard framework 7.0 appmon 7 health monitoring adk log monitoring services auto-detection uem webserver test automation license web performance monitoring ios nam probe collector migration mq web services knowledge sharing reports window java hybris javascript appmon sensors good to know extensions search 6.3+ server documentation easytravel web dashboard kibana system profile purelytics docker splunk 6.1 process groups account 7.2 rest dynatrace saas spa guardian appmon administration production user actions postgresql upgrade oneagent measures security Dynatrace Managed transactionflow technologies diagnostics user session monitoring unique users continuous delivery sharing configuration alerting NGINX splitting business transaction client 6.3 installation database scheduler apache mobileapp RUM php dashlet azure purepath agent 7.1 appmonsaas messagebroker nodejs 6.2 android sensor performance warehouse
  • Forums
  • Public Forums
    • Community Connect
    • Dynatrace
      • Dynatrace Open Q&A
    • Application Monitoring & UEM
      • AppMon & UEM Open Q&A
    • Network Application Monitoring
      • NAM Open Q&A