@ayesh nice work… I’ll check the PR
Hm Its the same @ibacher
wdyt abt this
And I saw there is a graphite reporter as well
I didnt dig deep but I feels like it will affect the performace of the app for sure
I will get an idea weather its possible to pull every 1 hour or 30 mins time than always doing the pulling
That looks like it could be a cool add-on to have. I think the first thing is to make sure we have the metrics publishable in some format. I would think we want to leave the stack consuming the metrics as open as possible, although I suppose integrating something for some viewable dashboards might be cool.
So I thought about publishing in Json format ?
I added seprate plugin workflow to the same PR. Which will trigger based on global property change thanks alot @ibacher on suggesting this workflow.
thanks for merging the pr ian
Well done @ayesh
and thanks ian for resolving the activator issue.
Have a small problem @ibacher do you prefer this test
or this one
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
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]
Can you share the server side log?
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?
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
Which version of the openmrs platform and addresshierarchy module are you running?
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