Henrique Dias · Jun 29, 2020 go to post

Hi @Evgeny Shvarov 

The problem is that I don't have custom sensors information when I access the API, and the System Dashboard that uses the api /monitor/metrics  shows with error.

Actually this is the only problem, the other pages as the System Dashboard default, the System Processes, History Informations pages, everything works fine.  
 

Henrique Dias · Jun 29, 2020 go to post

I can put a few globals to tracing the method execution. But I'm (almost laugh) sure that the method was invoked.

The only difference between the Installer ClassMethod e the ClassMethod that I'm invoking during the ZPM installation is a Namespace Name. 

Installer

ClassMethod CustomApplicationMetrics() As %Status
{
  New $Namespace
  Set $Namespace = "%SYS"   
  Set status = ##class(SYS.Monitor.SAM.Config).AddApplicationClass("diashenrique.historymonitor.util.customSensors","IRISMONITOR")
  
  Quit status
}

Invoked during ZPM install 

ClassMethod CustomApplicationMetrics() As %Status
{
    Set oldNamespace = $Namespace
    New $Namespace
    Set $Namespace = "%SYS"     
    Set status = ##class(SYS.Monitor.SAM.Config).AddApplicationClass("diashenrique.historymonitor.util.customSensors",oldNamespace)     
    Quit status
}

I also executed this line on the terminal on USER Namespace, after I installed the ZPM package.

Set status = ##class(SYS.Monitor.SAM.Config).AddApplicationClass("diashenrique.historymonitor.util.customSensors",oldNamespace)

 But, nothing happened. So, I started to doubt myself and wondering if I'm doing something wrong.

 
Henrique Dias · Jul 8, 2020 go to post

Hi Robert, 

That's great! 
The Caché users thank you for this incredible feature! smiley

Henrique Dias · Jul 16, 2020 go to post

Hi @John Lisa 

You can use IRIS Management Portal. There is a built-in tool to extract information using SQL.

The Path is: System Explorer > SQL 

Inside the SQL Explorer, you can change to your preferred Namespace and have access to your tables, as you can see in the image below:

Hope that helps.

Best Regards, 
Henrique

Henrique Dias · Jul 21, 2020 go to post

I was curious about the error mentioned in the article/images and try to create a persistent class using IRIS Studio. I got the same error. 

@Eduard Lebedyuk , let me ask you a question about IntegratedML as a rookie in this field. 

Using the example of 6400 columns that you mention, can I use the IntegratedML to create a model, train it through PythonGateway? Or IntegratedML only can be used in persistent classes inside IRIS?

Henrique Dias · Jul 22, 2020 go to post

Thanks for sharing your experience. 

Indeed this global scenario brought a lot of challenges for those who weren't a "work from home" experts.

For me, staying work from home since last March showed me that when working from home, we need to face different challenges. In my case, with two children, I also need to be a teacher, help with Math class lessons, I need to change diapers, prepare baby bottles, preparing lunch/snacks /dinner, and last but not least, work! 

Managing and balance everything it's the great mystery of all. laugh

Henrique Dias · Jul 24, 2020 go to post

Hi @Luiz Henrique Carvalho Martarelli 

You can take a look at this post: Trigger or Callback?
https://community.intersystems.com/post/trigger-or-callback
And for more detail information: Using Triggers
https://cedocs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=GSQL_triggers 

If you have interested, the Developer Community has a Discord with a dedicated Channel for Portuguese Speakers. laugh 
https://discord.gg/dzzPDvY

Best Regards,
Henrique

Henrique Dias · Aug 7, 2020 go to post

Hi @John Lisa 

If you need to extract a large amount of data, the other options DBeaver and Datagrip, are better choices.

I usually use DBeaver to deal with situations like this. 

Because using JDBC, you don't have the Gateway Time-out problem. 

HTH

Henrique Dias · Oct 7, 2020 go to post

Great article! 
Thanks for introducing ngrok. Never heard of ngrok before, now I'll take a closer look at it.

Henrique Dias · Oct 8, 2020 go to post

npm-iris now has ZPM support! wink

Install npm-iris is easier than ever! 

USER>zpm install npm-iris 
[npm-iris]      Reload START
[npm-iris]      Reload SUCCESS
[npm-iris]      Module object refreshed.
[npm-iris]      Validate START
[npm-iris]      Validate SUCCESS
[npm-iris]      Compile START
[npm-iris]      Compile SUCCESS
[npm-iris]      Activate START
[npm-iris]      Configure START
[npm-iris]      Configure SUCCESS
[npm-iris]      Activate SUCCESS
Henrique Dias · Oct 12, 2020 go to post

Congratulations to all of you!

Great apps, I realized that I have a long way to go and a lot to learn. smiley

Henrique Dias · Oct 22, 2020 go to post

Thanks, @Guillaume Rongier 
I'm glad that people liked the video. I'm getting good feedback about it. laugh 

I considered myself lucky enough to have such creativity friends