Get the minimal Actuator metrics from your Spring Socket.
When using Spring Boot, it will auto-configure and can be turned off by setting management.metrics.export.socket
to
false.
When configuring manually give the class me.thomasvanputten.spring.socket.actuator.WebSocketMetricsService
a io.micrometer.core.instrument.MeterRegistry
and you should be in business.
This library just exposes 1 metrics websocket.userCount
The count of all connected users