Get active sessions count via JMX

Hello,

I want to monitor keycloak with dynatrace. Actually, dynatrace doent show informations about active sessions.

How can i access active sessions count via JMX in keycloak.

I already have access to jconsole. Actually, there is this attribute availlable : jboss.as:deployment=keycloak-server.war,subsystem=undertow

But unfortunately, his value is 0.

Any help will be appreciate.

Landry