How Fetch AppDynamics Reports in Java - appdynamics

Do we have any opensource or any proven code which collects the App Dynamics reports from App Dynamics Servers ?

Generally the workflow for sending reports from AppDynamics is as follows:
Create a Custom Dashboard - https://docs.appdynamics.com/display/PRO21/Custom+Dashboards
Add Widgets to your Dashboard containing the tables, charts etc that you want to see in your report - https://docs.appdynamics.com/display/PRO21/Widgets
Now you can send a report (one-off or scheduled) by configuring a report based off the Dashboard you have created, including setting the time range of the report - https://docs.appdynamics.com/display/PRO21/Reports
Note: There is a sample custom dashboard .json available here to get you started: https://community.appdynamics.com/t5/Knowledge-Base/Sample-Custom-Dashboard-for-Business-Transaction-Report/ta-p/21264
Note: There are already many "Standard Reports" which could make things easier depending on use case.
Note: If you instead want to export data and then analyse with your own tooling, then see the docs on Public API's available here: https://docs.appdynamics.com/display/PRO21/AppDynamics+APIs

Related

How can I use SonarQube web service API for reporting purpose

I want to create a custom report. Response format for sonarqube web service API /api/issues/search is JSON or XML. How can I use that response to create a html or CSV file using "unix shell without using command line tools" so that I can use it as a Report. Or is there any other better way to achieve this?
you can generate a html file if you run an analysis in the preview mode http://docs.sonarqube.org/pages/viewpage.action?pageId=6947686
It looks as if the SonarQube team has been working hard to not allow people to do this. They appear to want people to purchase an Enterprise Subscription in order to export reports.
An old version of sonar-runner (now called sonar-scanner) had an option to allow local report output. But that feature is "no more supported".
ERROR: The preview mode, along with the 'sonar.analysis.mode' parameter, is no more supported. You should stop using this parameter.
Looks like version 2.4 of Sonar Runner does what you want. If you can find it. Of course they only have 2.5RC1 available on the site now.
Using the following command should work on version 2.4:
sonar-runner -Dsonar.analysis.mode=preview -Dsonar.issuesReport.html.enable=true
There at least two open-source projects that query the SQ API to generate reports in various formats.
https://github.com/cnescatlab/sonar-cnes-report/tree/dev (Java)
https://github.com/soprasteria/sonar-report (JavaScript/Node)
At the time of writing both are active.

Initialization of local sync store in Azure's offline-sync API

I'm working with Azure's offline-sync API.
(It's REALLY GREAT so far, but since it's still new-ish it doesn't have comprehensive documentation, only tutorials. We need to craft dependable integration tests, and we're finding that tricky because we need to rely on published behavior in official docs for that... or dig into the source, but that is liable to change at any time.)
The samples do this:
var store = new MobileServiceSQLiteStore("localstore.db");
The comments mention "initializes local store".
I assume the local sync database is a "throw-away" asset, as it can be recreated at will.
Is the expected behavior that it will create the local SQLite file if it does not exist, or it will recreate the file each time the mobile app starts and that call is made?
The tutorials are augmented by the HOWTO documentation (available under Mobile > Develop - in the same area as the tutorials) and the GitHub Wiki and the github.io pages for the SDK.
The local store is created if it doesn't exist, and new fields are added to tables if they are needed. It's sometimes good to delete the database - for example, if you reduce the field count in your mobile app (the process only adds fields). If you do this, the database will be re-created when the app is next restarted.

OBIEE Catalog Manager - Determine which DASHBOARDS utilize particular reports

I've recently been using the Oracle Catalog Manager to create lineage reports to determine which analyses use particular columns. I haven't found a way, however, to determine which reports are used on particular dashboards. So if I wanted to delete a report, is there a way to determine which dashboards would be affected?
I know that when I migrate a dashboard page from the development environment to the test environment that the structure is preserved, so this information must be saved somewhere. However, when I try to create a report in the "_portal" folder that contains the dashboards, the report is always blank.
I was using this page as an initial reference, but it only discusses how to find the reports that would be affected should a column be deleted from the rpd.
Part of what I'm trying to do is a clean-up to locate reports that aren't being used on any dashboards, but I also want to be able to better track which reports are being used and on which dashboards.
The Create Report function will build a report of Dashboard/Analysis relationships.
Regarding moving/copying dashboards, it will not move all the dependent objects automatically - you will need to structure your Presentation Catalog such that you can migrate folders of objects as required.
OBIEE Catalog Manager Report lacks the ability to extract data as
Dashboard,
Dashboard Page,
Dashboard Prompt,
Analysis
in a single row of data
We can have two combinations
Dashboard, Dashboard Page OR
Dashboard, Dashboard Prompt, Analysis
The OBIEE usage table does store the 4 fields in a single row.

How to handle offline mode for Google visualisation in GWT

I have a GWT application that uses many Google maps and charts. I want to have an offline mode where the user have the application installed on his the computer and without using the Google apps, he can continue using the other features.
For now the maps in the application throught a nullpointer error because they cannot initialize. I thought about checking the internet connection in EntryPoint and change the behaviour accordingly, but I am hoping for a simpler solution. Any thought ?
per https://developers.google.com/chart/interactive/faq#offline
You cannot do that:
Can I use charts offline?
No; your computer must have live access to http://www.google.com/jsapi in order to use charts. This is because the visualization libraries that your page requires are loaded dynamically before you use them. The code for loading the appropriate library is part of the included jsapi script, and is called when you invoke the google.load() method. Our terms of service do not allow you to download the google.load or google.visualization code to use offline.
Can I download and host the chart code locally, or on an intranet?
Sorry; our terms of service do not allow you to download and save or host the google.load or google.visualization code
Update
I thinks the terms and conditions are changed now. As you can save and download JsAPI, ServiceBase to use charts offline.
But you still can't make ajax calls :Ajax
Hope it will be available soon, cheers!

Report, Ad hoc report and Dashboard in pentaho

I'm currently working on a project to implement a BI solution. I chose Pentaho
There are many tools to create:
reports (report designer)
adhoc reports (WAHQR ou PIR)
Dashboard (dashboard designer or CDE)
Analyze (analyzer or saiku)
(in big the one I'll use)
The question is, which tool is used by the final user (non technic) and which by the technician/developer?
And which of these tools create report/dashboard that can be executed repeatedly with a scheduler / just one time on demand?
thks for your help
Developer : All
User : SAIKU
Reports generated by Pentaho Report Dssigner could be excuted by scheduler. This is also able to be executed by scheduler using kitchen using Pentaho Reporting Output step.

Resources