• 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 Venkata T. · Feb 06, 2013 at 09:24 PM ·

Can we scrape the page and report on some specific values using Dynatrace

Hi,

For some reason none of our methods are returning order value. So i cannot really instrument any method to grab those values. Is there a way to scrape the order confirmation page and report on that value?

Or if we have query, can we turn on bind variable capturing and chart on bind variable values? is it possible that way?

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 Roman S. · Feb 07, 2013 at 08:29 AM

Hi Venkata,

The only measures we can use at the moment for getting the order value are:

  • method arguments or return values
  • Session entries (including deep object access)
  • Web request headers
  • Web request parameters
  • Cookies (.Net only)

Bind variables are not supported, scraping a page is neither - would be too much overhead if we scrape the whole page and then parse it.

What other customers have done in the past is to include a dummy function in their application where they pass the relevant values as arguments (e.g. username, order value, transaction id) and use a custom sensor to capture them there.

Best, Roman

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 Venkata T. · Feb 07, 2013 at 10:42 PM 0
Share

Hi Roman,

Thx for your reply. few more questions:

Can we capture values from non-primitive data types? i am guessing no. But just want to confirm. For the Order Value, they said we might be able to get them from getter on the data object. But do we see those getter methods when we browse the classess/packages etc? also we don't turn on getter/setters by default right? so is there a way to capture only specific getter by adding a custom sensor rule. Do we need to uncheck the "Ignore getter and setter methods? if so is it going to instrument only the one with custom sensor or is it going to instrument all of them?

avatar image Roman S. Venkata T. · Feb 08, 2013 at 07:29 AM 0
Share

Hi,

Non-primitive data types - no, in that case we call the toString method and capture that value. Only exception is getting session values in the servlet sensor, there we do support deep object access. Feel free to add a RFE for this, not the first time I have heard a question like this.

You should see getters like any other method using the class browser and can create a custom sensor rule from there. You hit the problem on the head - by default all getter/setter methods are ignored. This is a global setting that takes higher priority than you custom sensor. Only way around is to turn off the global setting. In that case it will instrument getter/setter methods but only if there is a custom or out-of-the-box sensor rule that matches it. I would try turning it on and then take a look at the Methods dashlet to see if there is a large number of additional method calls being added by this.

Best, Roman

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