• 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 Vijay V. · Sep 14, 2014 at 12:53 AM · continuous delivery

Slowness with instrumenting Spring Code with DynaTrace Agent

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.

3 Replies

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

Answer by Vijay V. · Oct 19, 2014 at 02:01 AM

Thank you. I will try to get a 6..x env setup and try this.

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 Wolfgang G. · Oct 15, 2014 at 03:29 AM

Hi Vijay, that's definiitely an interesting find. Am I reading this correctly - it takes 5seconds without dynaTrace and 7mins WITH it?! Any chance you could give it a try with dynaTrace 6 as I would hope the effort we invested there to reduce the communication overhead between agent and collector should help in this case?

Thanks,

Wolfgang

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 Vijay V. · Sep 14, 2014 at 01:09 AM

I am running Spring code which makes use of hibernate to talk to SQL database. When I run a JUnit test from Spring IDE without a dynaTrace agent, it runs normal. How ever once I instrument this jvm with a DT agent, the program execution becomes very very slow.

When I look at the purepath, it does not seem to spend all that time in the purepath. So it seem to indicate that there is some impact on the initialization of the spring framework. You can also see in the attached images, that a significant amount of time is being spent in classloading.

I am attaching the logs with and without the DT agent. Note that when I captured this logs I am connecting to a collector which is remote but while it is little better when the collector is local, the over all start up time is still significantly longer.

Is there any configuration I am missing that is causing this slowness?

 WithOutDynaTraceAgent.log  WithDynaTraceAgent.log AgentProperties.log APIDistribution.gif  Agentpurepath.gif

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

Dynatrace Integration with Rational Performance Tester

Generating test performance reports in Jenkins from jenkins pipeline file

java.lang.IllegalArgumentException: No enum const class com.dynatrace.jenkins.dashboard.model.TestCaseStatus.INVALIDATED

Automation Dashlet and Browser metrics

dT 6.2 Testrun creation via REST not working

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