ipm version bump
Shows errors in ^ERRORS global in an IRIS Analytics Dashboard
Online Demo
_SYSTEM SYS
zpm “install objectscript-errors-analytics”
You need ZPM starting from 0.2.5
it also installs (or checks for) modules: dsw, sql-for-error-global, objectscript-errors
it creates classes:
shvarov.objectscript.errors.analytics.errorlog
shvarov.objectscript.errors.analytics.ErrorsCube
and imports 3 pivots and one dashboard
Once module is installed open the dashboard:
http://localhost:yourport/dsw/index.html#!/d/Errors/Overview.dashboard?ns=namespace
To refresh the data do:
do ##class(shvarov.objectscript.errors.analytics.setup).Run()
To load test data do:
do ##class(shvarov.objectscript.errors.analytics.setup).GenerateErrors()
Make sure you have git and Docker desktop installed.
Clone/git pull the repo into any local directory
$ git clone git@github.com:evshvarov/errors-global-analytics.git
Open the terminal in this directory and run:
$ docker-compose up -d
Make sure you have git and Docker desktop installed.
This repository is ready to code in VSCode with ObjectScript plugin.
Install VSCode, Docker and ObjectScript plugin and open the folder in VSCode.
Open /src/cls/PackageSample/ObjectScript.cls class and try to make changes - it will be compiled in running IRIS docker container.
Feel free to delete PackageSample folder and place your ObjectScript classes in a form
/src/Package/Classname.cls
Read more about folder setup for InterSystems ObjectScript
The script in Installer.cls will import everything you place under /src into IRIS.