• 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 Brandon B. · Jun 20, 2018 at 12:54 PM · configuration java business transaction 7.1 sensor measures transactionflow sensors

How to get Method Execution Time

Hello,

I am having issues getting AppMon to record measures as I expect.

I create a measure of type "Method Time" and specify the Method/Class. I also put "1" in for severe threshold otherwise it doesn't generate anything.

The BT will give me the Purepaths associated with the measure and how long the purepath took.

I am looking for it to give me how long JUST the specified method took though, not the whole purepath in which that method was called.

Thoughts?

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 James K. · Jun 20, 2018 at 01:29 PM

Do you care about sorting the PurePaths that have that method into a bucket you can analyze (which would require a business transaction) or are you just interested in the method execution time across all PurePaths?

In either case you'll want a methods->exec time measure set specifically for that method you're interested in (see below image). If you want this in your business transaction add it to the result measures field of the business transaction and it will be calculated across the PurePaths that meet your filter. If you are only interested in the execution time across all PurePaths (implicitly it will only be ones that call it of course) then just creating that measure outside of a business transaction would be enough (you don't need a BT for that).

James


answers.png (109.4 KiB)
Comment
Mo K.

People who like this

1 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 RAJANIKANTH A. · Jun 20, 2018 at 01:21 PM

Hi,

Did you try using the measure Exec time under Methods? Try to chart this measure and then you can add it to BT.

exec-time.png

Represents the execution time for the declared method.

Thanks,
Rajani


exec-time.png (30.1 KiB)
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 Arturo R. · Jun 20, 2018 at 01:21 PM

Hi,

The measure itself will give you what you want, method execution time. If you use it inside a BT (as filter, for instance) it will return all the pp invoking that concrete method.

Also, you can calculate on the BT (as calculate results) the method impact within the purepaths. In this case, you will need to decide what do you want to calculate, cause the aggretation choossen will make vary a lot from one to another (sum all the concrete methods per purepath will give the overall impact; average the avg per pp...and so on)

Hope this helps!

Regards

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

26 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How to monitor outgoing web requests from application

How to create a measure to count unique logins?

Visits with No Errors

Arguement Value Usage

Classes are not visible in Class Browser.

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