areknow / electron-profile

ProFile measure search utility. Diagnose unhealthy AppMon deployments easily.
MIT License
1 stars 0 forks source link

Support for Dynatrace AppMon 7.0 #1

Open gbc921 opened 7 years ago

gbc921 commented 7 years ago

Hi,

Is this still working for AppMon 7.0? I tested here and it sounds to hang after selecting the System Profile. However, with a support archive from 6.5 it works fine. Also on the project demo website the 7.0 data works.

How can I help you to debug this? (I am using Linux though).

Tks,

areknow commented 7 years ago

Hi there, I have not tested the linux binary with 6.5 or 7! It has only been tested on windows and mac. There is a possibility that the system support archive from the linux appmon 7 client has somehow changed. If I find some time I will test it in a VM. Sorry for the inconvenience!

To help me debug it, you would have to build the app on linux and run it 'npm start' and then take a look at the chrome logs that are generated. If you are able to do that and paste them here that would be great.

Cheers

gbc921 commented 7 years ago

It works with 6.5 supp archive on Linux. :smile: Only 7.0 doesn't. Even on Windows.

I did a npm start, and opened the inspector. This was the exception:

events.js:163 Uncaught ReferenceError: errors is not defined
    at render.js:199
    at Parser.<anonymous> (/home/gabriel/Dynatrace/Smiles/AppMon-Cleanup/electron-profile/node_modules/xml2js/lib/parser.js:307)
    at emitOne (events.js:96)
    at Parser.emit (events.js:191)
    at SAXParser.onerror (/home/gabriel/Dynatrace/Smiles/AppMon-Cleanup/electron-profile/node_modules/xml2js/lib/parser.js:122)
    at emit (/home/gabriel/Dynatrace/Smiles/AppMon-Cleanup/electron-profile/node_modules/sax/lib/sax.js:624)
    at error (/home/gabriel/Dynatrace/Smiles/AppMon-Cleanup/electron-profile/node_modules/sax/lib/sax.js:653)
    at strictFail (/home/gabriel/Dynatrace/Smiles/AppMon-Cleanup/electron-profile/node_modules/sax/lib/sax.js:677)
    at SAXParser.write (/home/gabriel/Dynatrace/Smiles/AppMon-Cleanup/electron-profile/node_modules/sax/lib/sax.js:1395)
    at Parser.exports.Parser.Parser.parseString (/home/gabriel/Dynatrace/Smiles/AppMon-Cleanup/electron-profile/node_modules/xml2js/lib/parser.js:322)

Does it help?

Tks,