• 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 Dave M. · Apr 12, 2013 at 11:44 PM ·

Removing Anonymous Inner Class methods in PurePaths

Is there a way to either (We are hoping for solution B)

A) Disable the OOTB Sensor Packs (Thread Start Tagging) for java.lang.Runnable.run()

OR

B) Exclude anonymous inner class method calls from specific Classes in the custom sensor packs?

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.

5 Replies

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

Answer by Christian S. · Aug 21, 2013 at 12:23 PM

hi Dave,

 

could you please also try to add the same exclusion rule to the Executor Tagging Sensor.

 

best,

Christian

Comment

People who like this

0 Show 2 · 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 Dave M. · Aug 24, 2013 at 03:17 AM 0
Share

Thanks, that finally killed off the annoying run() entries!

avatar image Christian S. Dave M. · Aug 26, 2013 at 11:25 AM 0
Share

i should have thought of that already in the first place. :-)

JFYI, we already implemented an improvement to only show these run() methods, if they really start a new thread. so with the next release, these annoying run() nodes should be gone, anyway.

best, Christian

avatar image

Answer by Christian S. · Jul 30, 2013 at 02:38 PM

hi Dave,

ok, now i see your issue. didn't realize so far that you want to exclude anonymous classes instrumented by the thread start tagging sensor.

you're right, many knowledge sensor specific instrumentations cannot be easily overridden, because it may break functionality.

so if you're sure what you're doing, you can do this:

  • switch into client debug mode (set focus into cockpit and press Ctrl+Shift+F9 -> you'll see [DEBUG] in the lower right corner)
  • go to server settings -> sensor packs
  • edit thread start tagging sensor
  • add your exclusions to the top of the ruleset as regular excludes, NOT as global excludes

you have to be aware, however, that for these classes there won't be any thread tagging then.

best,

Christian

Comment

People who like this

0 Show 2 · 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 Dave M. · Aug 02, 2013 at 08:07 PM 0
Share

Thanks, I'll give that a try

avatar image Dave M. · Aug 20, 2013 at 08:58 PM 0
Share

I finally got around to trying this but still no luck; the run() methods are still showing up. Here's the top of the thread start tagging configuration:

 

 

Here's a sample of the output from the pure path analysis:

 

avatar image

Answer by Dave M. · Jul 30, 2013 at 02:45 AM

None of the exclude methods seemed to stop the run() methods from showing up in the output. It seemed like the OOTB Thread Start Tagging couldn't be overridden in a custom sensor pack, even by "global exclude"

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 Christian S. · Apr 15, 2013 at 12:23 PM

hi Dave,

anonymous classes always have this structure for the class name:

some.package.name.ClassName$
 

 

e.g.:

my.company.name.ImportantClass$1

so you can easily exclude them by creating an exclude rule, like this:

my.company.name.ImportantClass$   [starts]

hope this helps,
Christian

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. · Apr 15, 2013 at 07:36 AM

Hi Dave

If you disable OOTB Sensor Packs you will loose certain functionality, e.g: tagging PurePaths across threads.
Changing Sensor Packs is an option. But - in case it is an OOTB Sensor Pack you may break the functionality of this Sensor Pack. If it is a custom Sensor Pack then I propose not to modify that Sensor Pack but create your own Custom Sensor Pack that uses "global excludes" for methods that you dont want to have instrumented

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

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