Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 668 Bytes

README.md

File metadata and controls

17 lines (10 loc) · 668 Bytes

Spring socket minimal actuator

Get the minimal Actuator metrics from your Spring Socket.

Configuration

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.

Metrics

This library just exposes 1 metrics websocket.userCount The count of all connected users