• 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 Anthony G. · Mar 11, 2015 at 12:04 AM · business transaction

Calculated Reslut on Business Transaction Displays and Raises Incident For Incorrect Unit of Mesure

I've created a Business Transaction in our system profile to track all external consumers of our API, split by client ID, and chart how many requests to our API each client makes per minute.  Based upon this specification: the created business transaction uses a method - argument value (a bool to represent an external user) to filter by, the client ID to split by and the API Request Count (a measure that's derived from the built in "Web Requests Count") to display as a Calculated Result.

When I add this measure to a chart ("Add Series" on new dashboard) it works as expected.  However, when I create an Incident based on this measure, the incident raises for the wrong unit of measurement.  The upper threshold on the measure is 2250 COUNT!  As in 2250 hits per minute.  Yet, the incident is raised on 2250ms or when an API call takes 2.25 seconds!  The Incident is simply reacting to the wrong unit of measure.  Why?

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.

9 Replies

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

Answer by Andreas G. · Mar 18, 2015 at 08:40 PM

Good to know we got this working again. Keep us posted

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 Anthony G. · Mar 18, 2015 at 08:38 PM

I set the incident aggregation to Avg. because I want the incident to calculate the average count of web requests in the Evaluation Timeframe.  I hope it's implicitly performing this behavior.

All in all it looks good!  I'll mark this as resolved as soon as I run some more tests to make sure the data is copacetic.

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 Anthony G. · Mar 18, 2015 at 08:35 PM

VIOLA!  I think that worked.  The alert email I receive now looks a lot the ones I was getting when it was working (smile):

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 Anthony G. · Mar 18, 2015 at 08:24 PM

Sure, I'll give it a shot and tell you how it goes.

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. · Mar 18, 2015 at 08:21 PM

Can you try setting the "Aggregation" in your Incident rule from Average to Count and verify if that makes a difference? It would then use the "number of PurePaths" that have this splitting instead of the Response Time of that PurePath

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 Anthony G. · Mar 18, 2015 at 08:21 PM

Here's a copy of the email I received.  It is not based on any breach of threshold.  Once upon a time this alert worked.  When it did, it would provide me with each violating client's partition ID in the Incident email received.  The metric used to generate the email does not seem to be right.  It appears as if the incident is triggered based off of the API request response time (in milliseconds) versus the number of API requests performed by a single client:

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. · Mar 18, 2015 at 07:49 PM

Thanks. And if you put that same measure on a Chart using 15 Minute Average Aggregation - how does that chart look like?

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 Anthony G. · Mar 18, 2015 at 08:14 PM 0
Share

This chart shows 3 violations and all seems correct:

avatar image

Answer by Anthony G. · Mar 18, 2015 at 07:04 PM

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. · Mar 18, 2015 at 07:00 PM

Can you paste a screenshot of your Incident Definition?

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

Creating a new measure and new business transaction

Renaming splittings in BTs

Business Transactions missing when splitting criteria is null/empty.

How to feed External data into Dynatrace to be used into Business Transaction Filtering condition

Is it possible to define incident rules only for certain BT splittings?

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