Initiate GitProperties
This commit polish the new info contributor infrastructure by migrating `GitInfo` to `GitProperties`. `InfoProperties` provides an abstraction that exposes unstructured data in an immutable way. The `GitInfoContributor` now accepts a "mode" that determines if all data should be exposed or only a sub-set of known keys. Closes gh-2644
This commit is contained in:
@@ -891,6 +891,7 @@ content into your application; rather pick only the properties that you need.
|
||||
management.info.defaults.enabled=true # Enable default health indicators.
|
||||
management.info.env.enabled=true # Enable environment info.
|
||||
management.info.git.enabled=true # Enable git info.
|
||||
management.info.git.mode=simple # Mode to use to expose git information.
|
||||
|
||||
# TRACING (({sc-spring-boot-actuator}/trace/TraceProperties.{sc-ext}[TraceProperties])
|
||||
management.trace.include=request-headers,response-headers,errors # Items to be included in the trace.
|
||||
|
||||
Reference in New Issue
Block a user