errors-global-analytics


Follow
1
Star
2
Details
Releases
Issues
This application is not supported by InterSystems Corporation. Use it at your own risk.

What's new in this version

Initial Release

Analytics for the bugs in ^ERRORS

errors-global-analytics

Shows errors in ^ERRORS global in an IRIS Analytics Dashboard errors dashboard Screenshot 2020-08-02 at 23 33 36

Installation ZPM

zpm "install objectscript-errors-analytics" You need ZPM starting from 0.2.5

What does it do with your system

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

how to make it work

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()

Collaboration

Prerequisites

Make sure you have git and Docker desktop installed.

starting it in Docker

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

Prerequisites

Make sure you have git and Docker desktop installed.

How to start coding

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. docker_compose

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.

ZPM installation
zpm "install objectscript-errors-analytics"
Category
Developer Environment
Works with
InterSystems IRISInterSystems IRIS for Health
Tags
Info
Version
1.0.0
Last updated
2020-08-02
Repository
Open
Documentation
Open
License
Link