• 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 Dong L. · May 26, 2012 at 03:11 AM ·

how to display all the argument value for a method after creating a measure?

I understand that you can right click a method and create a measure on the fly, then for next click through, you will see the argument value after the hot sensor deployment. You can also see the method signature when the argument value show up in next invocation. My question is can we display all the argument values during this process instead of try and error?

Another elated question: after I created a measure directly from a method and then modify it, seems not effective, do I need to delete the measure and re-create it by choosing different argument? I assume I do not need to restart the dT server or application when "delete/edit" a measure b/c the point to have a hot deployment is to avoid restart.

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.

1 Reply

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

Answer by Dong L. · May 26, 2012 at 03:52 AM

Never mind, figured out, I have to check the "capture" checkout in the edit mode of the measure. 

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 Andreas G. ♦ · May 26, 2012 at 03:42 PM 0
Share

Just wanted to add to this as it might be interesting for others as well:
In the Method Sensor Rule for a specific method you can check the box "Capture" for each individual argument. dynaTrace can capture primitive types and String values. Complex objects are also treated as strings as we capture the output of the toString() method. Keep in mind that we have a limitation on argument capturing. We only allow 4 parameters of the same type per method, e.g: 4 ints, 4 doubles, 4 strings (including complex objects)
The Method Sensor Rule also allows you to capture the Return Value. There is a check box on the bottom of the Method Sensor Rule Dialog

One additional option you have is in the Sensor Placement section for your Agent Groups (Tiers). There you have the option "Capture Strings automatically". If you check this box dynaTrace will automatically capture the first 3 string values of the first 3 method arguments of EVERY instrumented method. This is great for "exploration" - but - keep in mind that this captures a lot of data that you probably dont need. So - after you have figured out which arguments you really want to capture uncheck this box and configure the paramters in your method sensor rules

Hope this helps

Andi

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

2 People are following this question.

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