• 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 Anoh B. · Aug 26, 2013 at 04:21 PM ·

Auto Sensors

I am using dT 5.5.  The definition of Auto Sensor as stated in the detail information of the tree nodes in the PurePath dashlet is: "Auto Sensors automatically retrieve additional call hierarchy information. Since Auto Sensors do not inject code into the monitored application, the timing information that is provided is not as accurate as the timing information delivered by explicitly placed sensors.". 

If the "Auto Sensor" method is subsequently inluded in the sensor rules, can the timing be more accurate?  Moreover, must all the "Auto Sensor" methods above and below the the one targeted be instrumented as well?

Regards,

Anoh Brou

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

Answer by Anoh B. · Aug 28, 2013 at 04:55 PM

 

Thank you Christian!

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 Christian S. · Aug 28, 2013 at 11:35 AM

Anoh,

well, what you can already see in your PurePath is that the socketRead0 contributes basically all the time to the HTTP request. if there were other methods e.g. for setting up the connection which have significant contribution, you would already see them via auto sensors.

if you want to know exactly, you'd have to instrument the method(s) which are responsible for setting up the connection, so you'd see how much time this takes.

best,

Christian

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 Christian S. · Aug 27, 2013 at 05:17 PM

when you instrument getProjectReport(), you will get exact total exec times for this method. when you instrument socketRead() as well, you will most probably get a lot of socketRead0() calls, so i would not do that.

the question is basically: what do you want to achieve? if you want to see how long the getProjectReport() method takes, then you're fine with just instrumenting this one. however, i will tell you that it will just about take as much time as the doGet() above. and i will also tell you that the socketRead0() methods will take as much time as the executeMethod() above, because it's just an external HTTP request. i'm assuming that there is not much logic behind that code except calling getProjectReport() for creating a report which just calls a REST service for actually creating the report (on a tier which does not seem to be instrumented).

so i'm again wondering: what do you want to achieve here?

best,

Christian

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 Anoh B. · Aug 27, 2013 at 07:24 PM 0
Share

 

Christian,

Thank you for the response. What we are most interested in is figuring out the setupConnection time versus the readSocket0 time.  i.e. is setting up the connections delaying the process and increase the EXEC time of the URI.

Regards,

Anoh

avatar image

Answer by Anoh B. · Aug 26, 2013 at 05:26 PM

Christian,

We are interested in the exact exec time of the children' methods. For example, in the attached Purepath tree, I am interested in the exact times of getProjectReport(ProjectReportCache, String, RequestContext) with all its children, including and mostly socketRead0().  Are you saying that I have to instrument every single one of them to have accurate exec times?

Regards,

Anoh BrouAuto Sensors.png

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 Christian S. · Aug 26, 2013 at 05:12 PM

no, what i'm saying is the opposite.

it's quite easy: we can only measure the total execution time of a method by measuring the time at method entry and exit. so if you want to know the time which is directly spent in this method, without the time spent in its children's methods (= exec time), you would also have to instrument all directly called child methods, so that we can subtract their total exec times.

best, Christian

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 Anoh B. · Aug 26, 2013 at 04:50 PM

 

Thank you Christian for the response.  Are you saying that in order to get an accurate exec times of a child methods, I ought to instrument its parents as well?

Regards,

Anoh

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 Christian S. · Aug 26, 2013 at 04:42 PM

exactly, if you include methods with sensor rules, you will get more accurate information in terms of

  • each single invocation of this method
  • exact total exec times for this method

what you will not get, is exact (self) exec times for this method as you would have to instrument all child methods to get this exactly.

 

hope this helps,

Christian

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

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