[hibernate-dev] Exposing Hibernate statistics via JMX

Gunnar Morling gunnar at hibernate.org
Mon Aug 4 04:30:00 EDT 2014


Anyone with an idea of what's the recommended way of exposing Hibernate
statistics via JMX as of 4.3?

Thanks,

--Gunnar


2014-07-31 14:02 GMT+02:00 Gunnar Morling <gunnar at hibernate.org>:

> Steve, all,
>
> I've been asked about the Hibernate statistics functionality which used to
> be accessible via JMX.
>
> There used to be StatisticsService which was an MBean and which one could
> register with the JMX platform. This has been removed a while ago, and
> there is the related issue HHH-6190 which still is open.
>
> Until this is resolved, what is the recommended strategy towards making
> the statistics available via JMX? Should users create and export their own
> MBean based on SessionFactory#getStatistics()? Or is there any other
> replacement for StatisticsService?
>
> Thanks,
>
> --Gunnar
>
> [1] https://hibernate.atlassian.net/browse/HHH-6190
>
>


More information about the hibernate-dev mailing list