• 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 Daniele D. · Oct 21, 2014 at 06:30 AM ·

JavaScript ADK - Questions and documentation

Hi,

Customr would like to know more about JavaScript ADK. Looking at the doc online, it appears that an API has to be installed on the web server. This will make sure a set of dedicated functions will be available to developers.

First question : my understanding is that the developers will have to customize their web pages by adding calls to the desired functions in the web page source code. Isn't that right?

Second question: does anybody have the JavaScript ADK documentation where I can find the list of supported functions (and attach it to this thread), please?

Thanks you,

Daniele

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.

8 Replies

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

Answer by Andreas G. · Oct 23, 2014 at 01:23 AM

Got it. Well - good news then. If you download the JS ADK Package (as described in the doc page) - then you will find the full functional documentation and samples in that package. We will update the doc so that it is clear that this type of information is part of the JavaScript ADK. You can download the package from the regular product downloads: http://www.dynatrace.com/downloads

Let me know if that is what you are looking for

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 Lizi Z. · May 01, 2015 at 12:23 AM 0
Share

This download link doesn't work. Can you please update it?  

In my case, since our web server is not in the support list, we need to do manually injection. Not sure if we need to do anything different. 

 

avatar image Graeme W. Lizi Z. · May 01, 2015 at 12:57 AM 0
Share

Our apologies!

Sometimes redirection and our SSO mechanism don't work so well together.  If you log in first – as you do to post here – and then try:

     https://downloads.compuwareapm.com/downloads/download.aspx?p=DT

the JS ADK is at the bottom of the page.  You can find documentation on manual injection here:  JavaScript Agent

Once you've done manual injection, the instructions for using the JS ADK are the same as for automatic injection.

-- Graeme

 

avatar image Lizi Z. Graeme W. · May 06, 2015 at 02:13 AM 0
Share

Even after logging first, i still get error message. 

Found a fix â€“ After clear out my browser cache, the problem just gone....

avatar image

Answer by Daniele D. · Oct 23, 2014 at 12:09 AM

Hi, 

of course I did it. Actually, that's been the first resource I found. However, they're looking for something like a programmer's guide where each method comes with description, an example of how to use it, constraints if any. The link above might help up to a certain point. I will see what I can do for them.

Thanks,

Daniele

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. · Oct 22, 2014 at 10:30 PM

Have you checked the following page? JavaScript ADK and JavaScript Ajax ADK

It highlights all API methods that are relevant to create user actions or report data. Some examples

var actionName = dynaTrace.enterAction("My Action")
do something in your code
dynaTrace.leaveAction(actionName);
dynaTrace.reportError("your error message);

Let me know if this helps

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.

avatar image

Answer by Daniele D. · Oct 22, 2014 at 06:50 AM

The documentation I found is not enough.

Do we have any documentation that clearly explains how to use the javascript functions provided by the JavaScript ADK API, please? Our Customer saw what comes with the package that is on our download page and would like to retrieve a PDF or some doc that explains how to use the functions rather than having to see the samples that come with the package itself.

Please, let me know. Thanks,

Daniele

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 Daniele D. · Oct 22, 2014 at 05:23 AM

Thanks man

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. · Oct 21, 2014 at 07:29 PM

Developers simply need to load the dtapi.js file and then they can make calls to this api to e.g: create their own User Actions.

You can look at easyTravel. It also uses the ADK for e.g: capturing the Visitor Tag or capturing additional context information

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 Daniele D. · Oct 21, 2014 at 06:51 AM

...meaning, it requires the web pages to be updated... right?

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 Daniele D. · Oct 21, 2014 at 06:49 AM

Hi, I was finally able to find the documentation. The only question I have is about how to use the JavaScript ADK. I guess, it's just a library and the developer must add calls to the functions that the API delivers.... right?

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

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