I've looked into both Hawkular and Dropwizard. Personally I found neither
of them particularly easy to play with.
Did you have something specific in mind besides what we already collect
with the Statistics API? As Vlad mentioned, we can already do this.
On Sun, Jun 3, 2018 at 5:22 PM Sanne
Thanks for all comments!
Agreed to look at MicroProfile and other IO engines.
Sure we don't want to pull in more dependencies, just allow others to
query Hibernate status over a well-defined API. In case this was to
need some Openshift or MicroProfile specifics I'd code that as a new
module,
+1 for looking into the mP health check API.
In fact, I don't even think that Hibernate would have to implement any sort
of looping itself. Instead, the orchestration layer would check the health
check endpoint and automatically restart the service if it's not in a
healthy state. That way, the
Hi Sanne,
whatever you consider to implement in Hibernate ORM/Search/OMG
I think you should use/follow the MicroProfile Health spec [1].
As far as I know WildFly Swarm supports already this spec.
Best regards,
Andrej Golovnin
[1] https://github.com/eclipse/microprofile-health/
> On 31. May
See inline
On 06/01/2018 03:00 AM, Yoann Rodiere wrote:
>> We could do it via the Statistics mechanism which can be made available
> via
> JMX.
>
> >From what I understand it would be an explicit call from the user
> (OpenShift in this case) that would trigger an active check, like a request
> to
This ties to the lazy database discovery in Cloud environments. The
issue related to that also mentions a health check API.
I don't think it ties to the Stats or JMX API as at least for the
initial start, this API should be able to provide feedback while
Hibernate engine is starting (and looping).
> We could do it via the Statistics mechanism which can be made available
via
JMX.
>From what I understand it would be an explicit call from the user
(OpenShift in this case) that would trigger an active check, like a request
to the database. Not sure the statistics are the best place to put such
We could do it via the Statistics mechanism which can be made available via
JMX.
We just have to add whatever info they are interested in to monitor.
Vlad
On Thu, May 31, 2018 at 7:40 PM, Sanne Grinovero
wrote:
> It was suggested to me that Hibernate ORM could help people developing
>
It was suggested to me that Hibernate ORM could help people developing
microservices on Kubernetes / Openshift by making "health checks"
easier.
In short, how to expose to some management API that we're being able
to connect to the database and do our usual things.
This could be done by