spring-projects / spring-projects/spring-boot
Enhanced Observability
Open
@jonatan-ivanov is already working on this.
Since Mar 3, 2021.
theme: observability
type: epic
- Dominant language
- Java
- Stars
- 81.5k
- Forks
- 42.7k
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 65
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: https://github.com/spring-projects/spring-boot/pull/28136
- Add details about the OS, e.g.: arch, name, version: https://github.com/spring-projects/spring-boot/pull/28907
- https://github.com/spring-projects/spring-boot/pull/39799
Add the list of used profiles: https://github.com/spring-projects/spring-boot/pull/38356Boot/Framework/Cloud/ Data/etc. versions? (also see "arbitrary records from the manifest file" below): https://github.com/spring-projects/spring-boot/pull/38356https://github.com/spring-projects/spring-boot/issues/22924
- Add details about the available resources e.g.: cpu, memory
- https://github.com/spring-projects/spring-boot/pull/41205
- https://github.com/spring-projects/spring-boot/pull/44704
- https://github.com/spring-projects/spring-boot/pull/48959
- Add network-related details: host, ip
- Enhance
StartupInfoLoggerwith 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: https://github.com/spring-projects/spring-boot/issues/36953
- Metrics/tracing for health indicators
Spring Security enhancements
-
/whoamiendpoint: show principal and granted authorities
The list is still in progress and very likely to evolve in the near future.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.