Open
Description
This is a placeholder issue to group smaller tasks together to provide better Observability support for Spring Boot users.
Info enhancements
- Add details about the JVM, e.g.: name, vendor, version: Java Info Contributor #28136
- Add details about the OS, e.g.: arch, name, version: Expose Operating System information as an info contributor #28907
- Implement SBOM actuator endpoint #39799
Add the list of used profiles: Add SpringInfoContributor #38356Boot/Framework/Cloud/ Data/etc. versions? (also see "arbitrary records from the manifest file" below): Add SpringInfoContributor #38356Spring Boot Actuator "manifest" endpoint #22924
- Add details about the available resources e.g.: cpu, memory
- Add SslInfoContributor and SslHealthIndicator #41205
- Add details about the used GC
- Add details about certain "user" properties: timezone, country, language, user dir
- Add network-related details: host, ip
- Miscellaneous items: current time, start time, uptime
- Enhance
StartupInfoLogger
with some of these details
See:
- An all-in-one implementation example for some of the features above: RuntimeInfoContributor
- An example json output
Health enhancements
- Add OOB health support for Feign clients: this should go to Spring Cloud OpenFeign, Spring Boot might provide support to handle the Health response (see: this solution), related: Configurable Health Indicator to observe HTTP Endpoints #36953
- Metrics/tracing for health indicators
Spring Security enhancements
-
/whoami
endpoint: show principal and granted authorities
The list is still in progress and very likely to evolve in the near future.