title: Getting Spring Session information from Spring Actuator
body: <p>I have a spring cloud based application that stores the spring session in redis. It is using Spring Boot with embedded tomcat. </p>
  
  <p>When using spring actuator, the /metrics endpoint does not return any valuable information. httpsessions.active is set to 0, and httpsessions.max is set to -1.</p>
  
  <p>I am guessing this is because spring replaces the httpsession implementation with its own spring session implementation. </p>
  
  <p>Is there a way to access this information from some endpoint? preferably using JMX but not mandatory.</p>
  
  <p>Thanks.</p>