• 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 Yc M. · Jun 05, 2015 at 08:52 PM ·

Can we instrument DCRUM performance with dynatrace?

 

We're experiencing seious CAS performance issue.  We have opened ticket but no progress, Can we monitor CAS with dynatrace? I heard someone talked about this. But I didn't see a java process in CAS server.

 

Thanks

YC

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.

7 Replies

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

Answer by Andreas G. · Jun 08, 2015 at 03:03 AM

Hi YC

Yes - it can be done and I know that our DCRUM team in fact also uses dynatrace to monitor and optimize their performance. I will forward this to the DCRUM team that I know has done this

Stay tuned

Andi

Comment
Florian O.

People who like this

1 Show 1 · 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 Yc M. · Jun 09, 2015 at 08:02 PM 0
Share

Thanks

avatar image

Answer by Sebastian K. · Jun 08, 2015 at 02:12 PM

Hi YC,

I have attached the most recent DCRUM profile I current have: DCRUM.profile.xml 

 Please note that some of CAS code is written in Groovy and you will need dynaTrace 6.2 to gain complete visibility, but for 99% of cases instrumenting just java code is sufficient. 

Here is a thread at DCRUM community which you might be interested in as well: Can dynaTrace monitor the CAS? 

Best,

Sebastian

Comment

People who like this

0 Show 6 · 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 Yc M. · Jun 09, 2015 at 08:04 PM 0
Share

Hi Sebstian,

 

The URL you insert is this page. Could you please provide the thread you mentioned?

 

Thanks 

YC

avatar image Andreas G. ♦ Yc M. · Jun 09, 2015 at 08:22 PM 0
Share

The link is actually a link to an internal forum - thats why you can reach it. I exported the discussion as PDF. you can get it from here: CanDynatraceMonitorCAS.pdf

EDIT - well - i guess the export didnt work that well as the PDF only contains one comment. Here is the important informaiton of that disucssion

yes it is possible to monitor CAS/ADS/CSS/RUMConsole in dynatrace and yes it is supported exactly in the same manner as monitoring of any other java application.

For CAS/ADS you would need to add the java agent directly to the invocation line in registry or to <cas/ads directory>\server\runserver.bat in case you are not using window's services.

javaparams=    -agentpath:"c:\Program Files\dynaTrace\dynaTrace Agent 5.5.0\agent\lib\dtagent.dll"=name=CAS_12.0,server=172.18.149.72:9998 -Xmx3861M -XX:MaxPermSize=256m...............

 

In CSS/RUMConsole that are build on a programming framework you need to add the agent to wrapper.conf.

 c:\Program Files\Compuware\RUM Console\cva\eclipse\configuration\wrapper.conf

......

#jmx server, jconsole

wrapper.java.additional.6=-Dcom.sun.management.jmxremote=false

wrapper.java.additional.7=-Dfile.encoding=UTF-8

#wrapper.java.additional.8=-Dcom.sun.management.jmxremote.port=21099

#wrapper.java.additional.9=-Dcom.sun.management.jmxremote.authenticate=false

#wrapper.java.additional.10=-Dcom.sun.management.jmxremote.ssl=false

#wrapper.java.additional.11=-Dosgi.debug=

 

wrapper.java.additional.8=-agentpath:"c:\Program Files\dynaTrace\dynaTrace Agent 5.5.0\agent\lib\dtagent.dll"=name=RUMConsole,server=172.18.156.120:9998

 

Please note that the list of  "wrapper.java.additional" parameter numbers must be continuous hence I add the agentpath on top of active (unhashed) list.

 

The last step is to add agents to system profile in dynatrace Client and _restart the system under test (CAS/ADS/etc)

avatar image Yc M. Andreas G. ♦ · Jun 11, 2015 at 03:10 AM 0
Share

Thanks, Andi. 

I'm using windows services. Do you meant I shall add "javeparams= agentpath ..." after windowsjre.exe directly in registry as screenshot. 

 

Thanks

YC

avatar image Yc M. Andreas G. ♦ · Jun 11, 2015 at 08:39 PM 0
Share

I see the syntax of windowsjre.exe is as below,

windowsjre [-manual] -install service_name [registry_entry]
Install the service, -manual means manual start of service.
The second parameters point to registry where to find JVM parameters. 

Is that mean my todo list should as below?

  1. remove current CAS/ADS services
  2. create a string value name as javaparams under CAS services in registry. And add -agentpath... as value of that entry
  3. re-install services by windowsjre -install "Compuware Central Analysis Server"  javaparams

Please let me know if I'm wrong.

Thanks again

YC

 

avatar image Andreas G. ♦ Yc M. · Jun 11, 2015 at 08:58 PM 0
Share

let me double check with the folks that came up with the initial internal psting and get their help on this

avatar image Cosmin G. · Sep 03, 2015 at 02:56 PM 0
Share

Hi Sebastian,

I see that the system profile you listed contains an agent group for the AMDs. Are there any instructions on how to instrument the AMDs.

Thanks,

-Cosmin

avatar image

Answer by Marek S. · Jun 11, 2015 at 09:09 PM

Hello Yc,

If you want to add dynaTrace agent to CAS you don't need to remove CAS service. Sequence of this steps is the following:

1. In regedit navigate to javaParam register (HKEY_LOCAL_MACHINE->SOFTWARE->Adlex->Watchdog->Central Analysis Server)

2. add the following entry  -agentpath:"path_to_dtagent.dll"=name=system_profile_name,server=collector_IP:collector_port  as a firs parameter in register Value data

3. restart Your CAS 


Regards,

Marek

Comment

People who like this

0 Show 1 · 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 Yc M. · Jun 11, 2015 at 11:33 PM 0
Share

Hi Marek,

 

Just want to double confirm, when you say first paramter in registry , do you meant the params I listed in the screenshot?

 

Thanks

YC

avatar image

Answer by Michael F. · Jun 12, 2015 at 10:14 AM

YC,

You are looking at the wrong registry folder/keys.   As stated above you need to go to this folder.   

1. In regedit navigate to javaParam register (HKEY_LOCAL_MACHINE->SOFTWARE->Adlex->Watchdog->Central Analysis Server)

Once in the section click on the Central Analysis Server folder on the left and on the right you will see a bunch of keys on the right.    You need to edit the javaParams key the Marek stated.  Note, I am running 12.3,  but in 12.2 the folder will be call Central Analysis Server.


2. add the following entry  -agentpath:"path_to_dtagent.dll"=name=system_profile_name,server=collector_IP:collector_port  as a firs parameter in register Value data

3. restart Your CAS 

Hope this helps,

Mike


Comment

People who like this

0 Show 1 · 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 Yc M. · Jun 12, 2015 at 11:21 PM 0
Share

Thanks, Mike. That helps a lot. 

 

If I want to monitor CSS, where I should put agentpath?

 

Thanks again

YC

avatar image

Answer by Michael F. · Jun 13, 2015 at 02:02 AM

HI YC,

I have never done the CSS before.      Is there are reason why you want to monitor the CSS?    You said the CAS has processing delays,   the CSS shouldn't impact the CAS processing.   From my experience CAS processing delays can be one of four things:

  1.   The CAS has reached capacity from what your monitoring and another CAS will be needed to split up the workload
  2.   Somewhere in the CAS/DB infrastructure there is bottleneck,  such if the CAS is virtualized maybe the resources are tights on the VMHost,  or if a remote database and its shared with other Databases it could be slow,  or if you are using a SAN maybe the disk speed was changed or not on fast enough disk.   Without knowing your setup its hard to say.
  3.   There is a software services configuration that's causing an issue where its creating large data sets to processed which is impacting overall processing
  4.   There may be known patch

It sounds like you have a case open with support.   I would continue to work with them to see if any of the above are true.

Regards,

Mike

 

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.

avatar image

Answer by Sebastian K. · Jun 15, 2015 at 12:47 PM

Hi YC, 

both CSS and RUM Console are based on OSGi and they need to be setup for instrumentation in a different way - you need to modify wrapper.conf file by adding wrapper.java.additional.N entry with agentpath, just as Andi wrote in his comment. 

Cheers,

Sebastian

 

 

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.

avatar image

Answer by Yc M. · Jun 15, 2015 at 08:43 PM

Thanks everyone's kindly response. 

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

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

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