• 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 Praveen B. · Jul 22, 2013 at 11:07 AM · continuous delivery

HTML Report generation from Dynatrace ANT Tasks

Hi,

I am having issues generating the html report using the example Dynatrace target below. 

 

1st target: "<DtReport dashboardname="easyTravel Database" source="live:easyTravel" createHtml="true" xmlToFile="./results/report.xml"/>" 

Once the 1st target is executed, I see the updated report.xml file and when I open the index.html or overview.html, i dont see the body of the report. Can someone try using below task and let me know how you got it working? 

 

2nd Target: "<DtReport dashboardname="RulesDashboard" iteratorDashboard="TransactionDashboard" source="live:GoSpace" createHtml="true" reportDir="./results"/>" 

I dont know how to exploit this target options like iteratordashboard. Can some one explain the use case of this dtreport task and how an example report would look like?

 

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

<target name="DashboardReporting">
<!-- Queries a single dashboard and puts the result out to an XML File using XSLT to transform it to HTML -->

<DtReport dashboardname="Test" source="live:GoSpace" createHtml="true" xmlToFile="./results/report.xml"/>


<!-- Creates a dashboard report for every transaction or webrequest that is on the iterator dashborad
outputs all files in the report directory
an overview page is created to navigate through all result files
-->
<DtReport dashboardname="RulesDashboard" iteratorDashboard="TransactionDashboard" source="live:GoSpace" createHtml="true" reportDir="./results"/>

<!-- Make sure that - when using Business Transactions on the Iterator or Data Dashboard to reanalyze stored sessions before running the report
Either us DtReanalyzeSession or specify the reanalyzeSession="true" property for DtReport
-->
</target>

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.

3 Replies

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

Answer by Roman S. · Jul 22, 2013 at 12:09 PM

1) The way this reporting works is that it creates a XML file with the data (report.xml) and through a XSLT this should be converted into a viewable HTML table. It seems the stylesheet (styleDashboard.xsl) is not matching how the XML data structure looks, seems this was never updated.

But before we dig further into this - how do you actually want to present the data? Really just as a HTML table with the actual raw values? Else I would recommend you get a open source Ant task that can download web links and feed it the link to a real dashboard, e.g. the following for a PDF report: http://${dynaTrace.username}:${dynaTrace.password}@localhost:8020/rest/management/reports/create/Maven%20Dashboard?source=${dynaTrace.sessionName}&amp;type=PDF

Edit - actually for Ant you don't need any additional tasks (had only done this in Maven in the past), just use the Get task.

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 Praveen B. · Jul 22, 2013 at 11:48 AM

Hi Roman, 

Thanks for the quick help. 

'RulesDashboard' - Is this the name of a dashboard that would be created by the Task? 

 

Can you give me an actual example of a fully functional ANT Task so that I can interpret your response better? 

 

Also help me with 1st query.

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 Roman S. · Jul 22, 2013 at 11:59 AM 0
Share

There are no dashboards created by this task - RulesDashboard will be executed for each web request or business transaction that is part of the iterator dashboard.

ad 1 - patience, getting to that. If you need urgent help please open a support case where we have SLAs and a dedicated team working on them.

Best, Roman

avatar image

Answer by Roman S. · Jul 22, 2013 at 11:27 AM

Hi,

2) The iterator dashboard is a way of execution the same report for a number of web requests or business transactions. It has to point to a dashboard that contains only one dashlet with the business transactions or the web requests dashlet. Each entry in this dashboard is then used as a filter for the data dashboard defined as dashboardname parameter.

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.

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

Related Questions

Incomplete report in Jenkins

Jenkins plugin for dynaTrace - is it available for download?

Options for REST reporting

Test automation initial setup.

Is it better to have multiple system profiles or one system profile?

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