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
- Host: GitHub
- URL: https://github.com/delta11/spring-socket-minimal-actuator
- Owner: delta11
- License: mit
- Created: 2021-09-16T17:17:40.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-07-30T16:36:32.000Z (almost 3 years ago)
- Last Synced: 2025-08-28T13:32:16.017Z (9 months ago)
- Topics: actuator-spring-boot, spring-boot, spring-socket
- Language: Kotlin
- Homepage:
- Size: 25.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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