How to check the health of embedded tomcat in spring boot application?
Asked Answered
S

1

6

Anyone know how to get information of incoming threads / queue size? I want to include it in health check (class extending AbstractHealthIndicator).

Steiger answered 31/1, 2018 at 4:42 Comment(0)
G
2

You can use Actuator and Micrometer to get data about tomcat in spring boot. But if you want information about Thread you must configure more in spring boot config file.

server.tomcat.mbeanregistry.enabled=true

Godspeed answered 26/6, 2020 at 8:53 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.