eapowertools-archive / GovernedMetricsService

Unsupported - Qlik Sense Governed Metrics Service - Deploy centralized metric definitions to specific apps in Qlik Sense.
http://eapowertools.github.io/GovernedMetricsService/
MIT License
32 stars 17 forks source link

Installed Governed Metrics Service, but it's not working (no successful test) #98

Closed rdilisse closed 7 years ago

rdilisse commented 7 years ago

Installed & configured GMS as described in http://eapowertools.github.io/GovernedMetricsService/user-guide/ . Can access https://localhost:8590/masterlib/testpage without any issues and the logfiles don't indicate any issues (the Governed Metrics app can be reached), but when clicking "Test connection" nothing happens. I've tried to install GMS on another system (the CN, as now it's installed on the Scheduler server), but got same results. Please find attached the logfiles Appreciate some guidance on how can further troubleshoot.

goldbergjeffrey commented 7 years ago

I'm not seeing the attached log files. What version of GMS and what version of Qlik Sense?

rdilisse commented 7 years ago

2017-03-16.gms.txt Using QlikSense v.3.2 & GMS 2.0.3.0

goldbergjeffrey commented 7 years ago

ok found the bug. I think it has to do with the naming of the Reload task and it not being the same between GMS and what is in the QMC. I'm going to fix the bug but it will still generate a failure. The good news is the failure will print out, the bad news...well it's still a failure. You want to make sure the name of the task for reloading the governed metrics app matches the name in the install. It's not always the same because the way the task gets created determines the name. Right now you have it as Reload Governed Metrics Application in the GMS config. It's possible the name is just slightly different in the QMC.

rdilisse commented 7 years ago

Thanks for your help. Indeed, the reload task name in the QMC was slightly different (Reload task of Governed Metrics Application); I've updated it. However, I'm still unable to Test the connection or Reload metrics :-(.

rdilisse commented 7 years ago

In the testpage, I've entered the app '(HCC app') for which we want to load the metrics ... on the testpage nothing is displayed, but I do see in the logfiles that a connection to the app was made. 2017-03-17.gms.txt

goldbergjeffrey commented 7 years ago

In the testpage you dont' enter the app you want to update metrics to. You set the custom property in the qmc for the ManagedMasterItems for the app you want to subscribe corresponding metricsubject field items in the GMA app. From the test page you click reload and update, or just update and that's what pushes the metrics.

the area for entering an app is only for deleting metrics from an app.

goldbergjeffrey commented 7 years ago

Resolved in #99

rdilisse commented 7 years ago

Ok, understand. But nothing is displayed on the Test Page in the Status output field, irrespective of which button (Test connection, reload, ....) you push.

goldbergjeffrey commented 7 years ago

download 2.0.5 and reinstall, plus stop and start the Powertools service dispatcher. close browser and try again. I'm surprised the socket.io component is not working for you, but it could be because of bug you found.

rdilisse commented 7 years ago

The re-install did the trick! It's working now. Thanks a lot for your help!