evshvarov / errors-global-analytics

Analytics for the bugs in ^ERRORS

Repository from Github https://github.comevshvarov/errors-global-analyticsRepository from Github https://github.comevshvarov/errors-global-analytics

errors-global-analytics

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

demo

Online Demo _SYSTEM SYS

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.

About

Analytics for the bugs in ^ERRORS

License:MIT License


Languages

Language:ObjectScript 88.9%Language:Dockerfile 11.1%