An open API service indexing awesome lists of open source software.

https://github.com/delta11/spring-socket-minimal-actuator

Spring Boot Actuator metrics for Spring Socket data
https://github.com/delta11/spring-socket-minimal-actuator

actuator-spring-boot spring-boot spring-socket

Last synced: 13 days ago
JSON representation

Spring Boot Actuator metrics for Spring Socket data

Awesome Lists containing this project

README

          

# Spring socket minimal actuator

Get the minimal [Actuator](https://docs.spring.io/spring-boot/docs/current/reference/html/actuator.html) metrics from
your [Spring Socket](https://spring.io/guides/gs/messaging-stomp-websocket/).

## 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