• 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 Matt J. · Oct 02, 2014 at 02:43 AM ·

Charting aggregate method times within a PurePath

Within a PurePath call stack, I have a method being called multiple times.  Within each PurePath, can I sum the execution time(s) of this method and chart it in a dashlet?  If so, could you please provide the steps.  -thanks

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 Rob V. · Oct 02, 2014 at 03:05 AM

Hi Matt,

You can sum up the exec time of a particular method using either simple measures, or by creating a business transaction. And you can chart those results. What you won't be able to do (can't tell if this is what you want to do from your question) is chart those results for individual PurePaths. Measure (and BT) data is inherently aggregate in nature.

Another thought: in the PurePath dashlet, one of the tabs in the top half of the screen is the "Contributors" tab. This will give you a sortable list of the methods in that PurePath. You can sort by method and see all invocations of your method all sorted together. It's not a chart, but that gives you PurePath-granularity into the execution of that method.

Rob

 

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 Rick B. · Oct 02, 2014 at 03:00 AM

Hi Matt,

This is a perfect example of a use case for Business Transactions.  I'm not sure how familiar you are with them, so I'll be possibly a little over-specific here (please check out Dynatrace Community Webinars and APM University for more info on BTs).

  1. Create a Business Transaction by right-clicking the method in the PurePath tree and clicking "Create Business Transaction"
  2. First create a Methods -> Invocation Measure, giving it a relevant name and a threshold Upper Severe = 1, selecting Filter as the type
  3. Second create a Methods -> Time measure, again giving it a relevant name, no need for a threshold.  Add this to the Calculate Results section, at "sum" aggregation
  4. Leave the Business Transaction type as Server-side PurePath
  5. Give it a name that is meaningful (this is more a suggestion), i.e. "Transactions Calling API Service" rather than "Transactions Calling API.getResponse()" for reportability
  6. Apply/OK

The flow may not be exactly what's stated but if you need more direction I can record a video.  When you chart this measure from the BT, you will have the sum of the method timings per-PurePath as the data.

HTH,

 

Rick B

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

3 People are following this question.

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