Expose StompSubProtocolWebSocketHandler metrics #22807
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
Milestone
Currently WebSocketMessageBrokerStats hides the actual metrics behind nested toString()s. This makes it difficult to expose these metrics (for example with micrometer) without resorting to brittle access to private fields.
spring-framework/spring-websocket/src/main/java/org/springframework/web/socket/config/WebSocketMessageBrokerStats.java
Line 197 in 3a0f309
ie:
The text was updated successfully, but these errors were encountered: