Gsoc 2020: Expose System Metrics For Monitoring.

So I thought about publishing in Json format ?

Hi All

I added seprate plugin workflow to the same PR. Which will trigger based on global property change thanks alot @ibacher on suggesting this workflow.

1 Like

thanks for merging the pr ian

Well done @ayesh :smiley:

1 Like

Thanks @judeniroshan

and thanks ian for resolving the activator issue.

Have a small problem @ibacher do you prefer this test

Screenshot from 2020-06-27 14-46-43

or this one

Screenshot from 2020-06-27 14-47-15

I went with the first one because in the second one we are actually mocking the exception as well. I don’t think that is correct

pushed the changes for fhir pr’s as well

Hi All

Am facing an issue currently with the metric module. Seems like there is an issue with the session factory any idea about this. Full log is attached with the pastebin link.

Also it takes a long time to throw this exception as well and this error prevents startup as well.

An error occurred while running scheduled address hierarchy task

org.hibernate.service.UnknownServiceException: Unknown service requested [org.hibernate.engine.jdbc.connections.spi.ConnectionProvider]

https://pastebin.com/AynmaPhM

cc :- @ibacher @dkayiwa

Can you share the server side log?

Hi @dkayiwa

Sure in the pastebin we have the server side log.So it wont continue and start openmrs.It stops after giving this error.

And it coninuosly throws this error as well so it os not conitnuing after this error thrown

When asked for a server side log, avoid the temptation of selecting and hence sharing only a section which you think is the cause. Leave that to the one who wants to help. Does this make sense? :smile:

1 Like

ofcourse sir :rofl:

Here it is thanks alot for helping out. https://pastebin.com/HVA4060G

The code looks like a mess now but I can push it to a branch if it makes more sense to look at the code :slightly_smiling_face:

Which version of the openmrs platform and addresshierarchy module are you running?

2.1.4

I don’t have addresshierarchy module in use. I will add the parent pom here for the reference https://pastebin.com/2r6sFGuF

also am using ref app 2.10.0 distribution setting up with the sdk. “mysql Ver 14.14 Distrib 5.6.40, for Linux (x86_64) using EditLine wrapper”

If you do not use that module, then delete its task using your equivalent of this screen https://demo.openmrs.org/openmrs/admin/scheduler/scheduler.list

sure I will do it

Hi @dkayiwa

So I removed all the tasks and started again but getting the same issue. So unwatched the module and restarted back and one of the tasks again there in the scheduler.

So in this module, I am using the event module is it something generated from it? So below is the exact task generated

https://demo.openmrs.org/openmrs/admin/scheduler/scheduler.form?taskId=3

1 Like

Oh sorry it can be configured to manually start I will check again

it is the same it starts when the module is watched am not sure why it is happening.