• 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 Roy L. · Nov 29, 2014 at 04:14 PM · business transaction

How to compute a rate and chart it?

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.

8 Replies

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

Answer by Roy L. · Nov 29, 2014 at 10:42 PM

Hi Andreas, thanks for the answer.  I discovered this as well.

Can I get your advice on how to compute a rate of pages per second, or pages per minute?

So far I created two measures: web request count (pages only) and web request service time (pages only).  I want to sum up each over the selected interval, then divide total request count by total service time.  I guess this part I can do with the new rate measure, but two questions (1) how to perform the sum and (2) how to convert that time to seconds or minutes (appears the Time measure is in ms).

Thanks for any advice!

Comment
Jacob L.

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 Andreas G. · Dec 22, 2014 at 10:46 AM

If you want the memory utilization you can also use one of the out-of-the-box "Java Memory Utilization" or "Java Memory Pool Utilization" measures. Check them out when you are in the "Create Measure" dialog. search for "Utilization" and you find these measures. These measures are automatically returning a % value

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 Andreas G. · Dec 21, 2014 at 11:29 PM

Not all charts allow a last - because most chart types (line, bar chart, ...) show measure points along the defined timeframe. "Last" on a chart is only available for chart types that show a single value, e.g: Traffic Light - other than that I would do average - or - what I also like - I like to put the same measure once with Average and once with Max. With that you see the average time but also the outliers

Andi

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 Roy L. · Dec 22, 2014 at 07:19 AM 0
Share

Thanks Andi, I saw your video on dashboarding basics where you did that.  I will look into doing that.

Finally, for rates, is it safe to say proper conversion is implicitly done between time (ms vs seconds) or size (KB vs MB)?  E.g. I want to show JVM heap (the size of Eden) as a percentage.  But I notice if I create a custom measure for the max eden size (which defines 100%), it is only in KB.  The existing Eden "used" measure however, is MB.  Hopefully when it calculates the rate it will normalize one of the measures?

avatar image

Answer by Andreas G. · Dec 20, 2014 at 03:54 AM

The aggreate on the BT defines which value of the Measure for that particular PurePath, User Action or Visit to take.

So - if you have a PurePath-based Business Transaction and you use a measure like "Execution Time of a Method". If the method gets called multiple times on a PurePath this measure will actually return multiple values - and - these values are available as min, max, avg, sum, count, first, last. Thats what this is all about. Here you can specify which value to choose for your filter and result measure.

in most cases - these Measures will just return one value per PurePath - but - in some cases they may return more than one -thats why this is useful.

Especially when you think about Visit-based BTs this becomes really interesting, e.g: how much revenue did a single visitor generate? To answer this question you need a measure that gives you the revenue of each individual item purchased - but - overall you want to take the SUM. So - SUM of all Purchases that this particular visitor made.

Hope this makes sense

Andi

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 Roy L. · Dec 21, 2014 at 04:44 PM 0
Share

Thank-you, that does make sense.

I notice though that "last" doesn't exist for the chart.  It may make sense when charting a resource instead of a PP to use last, wouldn't it?  E.g. CPU resource usage.  In this case, you just want the value of the last taken sample.  Or another example may be monitoring a JMX attribute.  Given that last doesn't exist, what should I select for these measures?  I am thinking average may be the next best option...

Thanks again!

avatar image

Answer by Roy L. · Dec 20, 2014 at 02:51 AM

Thanks andreas, the video was extremely helpful.

One question on aggregation, how does charting aggregation relate to the aggregation you choose when creating your BT?  When you create the BT you must also select an option under 'aggregate' column, either for filter or calculate results section.  The online documentation describes it very much like how it works with charts, but what is the difference here?

 

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 Andreas G. · Dec 01, 2014 at 04:42 AM

Hi. The cool thing about measures in dynatrace is that you automatically get min, max, avg, sum and count for each measure. When you put a measure on a chart you can right click it and select the Aggregation. There you can select min, max, avg, .... -> Now the next cool thing is that you can put the same measure on a single chart multiple times with different aggregations. You can for instance chart Max and Avg. Choose the color RED for Max and Green for Avg - that gives you a great overview of response time and you also see the outliers. What you can also do is use a Dual Axis chart and put the same measure on the 2nd Y-Axis but for that choose "Count" as an aggregat which gives you the number of PurePaths that contribute to that measure. Which is essentially your load

You end up with a Chart that shows both Avg and Max Response Time compared to Load

As part of our Online Live Q&A Performance Clinics I talked about Basic Dashboarding where I explained how measures work internally and demo exactly that use case I explained above. You should check it out - its available on Youtube:

https://www.youtube.com/watch?feature=player_embedded&v=xHmha3MtNYk

All recorded Live Q&A sessions are available here: http://bit.ly/dttutorials - plus check out the next Live Q&A session and join me to get your questions answered: http://bit.ly/onlineperfclinic

Andi

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 Andreas G. · Nov 30, 2014 at 04:12 AM

Hi

If you want to know "Pages per Minute" you dont really need a rate measure. If you have UEM (=User Experience Management) you can simply chart the "User Action Count" measure. If you dont have UEM you can chart the Web Request Count meausre. On the chart itself you can select the "Chart Resolution" (via the toolbar icons). You can select 1 minute as interval. Now the chart shows you how many Web Requests come in per Minute

No need for a Rate Measure. A Rate Measure is usefuly if you want to calculate the Rate between two measures, e.g: Total WEb Request Count and Web Request Count for a Certain URL.

Andi

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 Roy L. · Nov 30, 2014 at 05:16 PM 0
Share

Thanks Andreas that makes sense.  I do not have UEM but I will chart Web Request Count and with URI pattern matching pages only, then adjust the resolution.

I would also like to generate additional values such as min, max, avg pages per minute.  These are single values calculated over the course of the session (my load test session).  What is the best way to obtain these?

Thanks again,

Roy

avatar image

Answer by Andreas G. · Nov 29, 2014 at 10:09 PM

You can create a new Rate Measure. Simply open your System Profile -> go to Measures -> Create Measure and search for Rate. A Rate measure will calcualte the rate between two measures. So - select the "Base" and "Value" measure that you want to calculate a rate for. Once you have that measure defined you can put a Chart on a Dashboard and select that new Measure you just created

Andi

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

1 Person is following this question.

avatar image

Related Questions

Violation count metric in Incident

Splitting only shows <...> in live session

Filter of Failed % on BTM

Business Transactions: If right clicked on what does Reset Clear Current Business Trans splitting do

Using CPU measure in Business transaction filtering

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