• 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 Pierre D. · Apr 22, 2014 at 06:12 PM ·

Understanding sensor mechanism

Hi, I'm quite puzzle in sensoring mechanism.

There are sensor for

  • application (method)
  • application (memory)
  • EJB invocation
  • JNDI
  • ....

Those sensors are ordered but I don't understand meaning  them and the difference with the auto-sensor.

 

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 Roman S. · Apr 22, 2014 at 06:26 PM

Hi Pierre,

What you find listed in the sensor placement part of the system profile are all byte code sensors. The first two are groups for your custom sensors, the rest are the out-of-the-box sensors for known technologies like JNDI, JDBC, thread-tagging and so on. If you are interested which specific methods those sensors would instrument go to "Settings" - "dynaTrace Server" - "Sensors Packs" and click Edit for the pack you want to view.

Auto sensors are different, they don't have any configuration besides the overhead setting. They will use transactional snapshots to augment the data captured by the byte code instrumentation.

Last a couple of links to the documentation with more details:

  • Auto Sensor
  • Sensor Configuration
  • APMU - Course "Deep Dive Diagnostics": http://apmuonline.compuwareapm.com/course/view.php?id=480

Best, Roman

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 Pierre D. · Apr 22, 2014 at 06:40 PM

as usually many thanks for your speed.

But what I don't understand is the meaning of ordering the sensor, is it to maintain the overhead at 5% maximum and telling to Dynatrace which sensors are the most important and which ones could be deactivated  when 5% is reached ?

Comment

People who like this

0 Show 3 · 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 Roman S. · Apr 22, 2014 at 06:57 PM 0
Share

The byte-code sensors are never deactivated/activated automatically - the auto sensor has the settings you refer to (PurePath explained#AutoSensorResolutionSettings).

The ordering is necessary because all the sensor rules are executed sequentially, top-down. This allows you for example to exclude a method that would have been instrumented by an out-of-the-box sensor simply by having your custom rule higher in priority.

Best, Roman

avatar image Christian S. Roman S. · Apr 23, 2014 at 03:11 AM 0
Share

sorry Roman, but this information is not a 100% correct.

the Sensors are processed sequentially from top to bottom, that's correct. however, excludes are only local, so they can only prevent instrumentation in the same Sensor. an exclude rule can never prevent a method from being instrumented by another Sensor. that's what global exclude rules are for and they are applied to all Sensors, regardless of the order.

so in your above example getName() would get instrumented in any case regardless of the order of the Sensors.

generally the order of Sensors is only relevant, if the same method should be instrumented by multiple Sensors. this order is then used for basically 2 things:

  • defining the most significant API: when multiple APIs are applied to one instrumented method, there has to be only one API, which the timing information about this method is accounted to, because otherwise the time would get accounted multiple times. and this API is the most significant API, meaning the API of the first Sensor that was applied.
  • configuration of runtime settings (active/inactive/start PurePath): these settings can only be configured on the Sensor rule which matched the very first

best, Christian

avatar image Roman S. Christian S. · Apr 23, 2014 at 05:16 PM 0
Share

You are correct - I picked one of the 3 training slides showing ordering of rules. That details clearly got lost doing that. Thanks!

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