Skip to content

Instantly share code, notes, and snippets.

@j-tim
Last active December 10, 2021 12:31
Show Gist options
  • Save j-tim/d1f21ed9ede36ff4bcc32f80bdc74d61 to your computer and use it in GitHub Desktop.
Save j-tim/d1f21ed9ede36ff4bcc32f80bdc74d61 to your computer and use it in GitHub Desktop.
Spring Boot 2.6.x Actuator Info contributor complete config example
spring:
application:
name: example-app
management:
info:
env:
enabled: true
endpoints:
web:
exposure:
include: info
info:
application:
name: ${spring.application.name}
description: Very cool Spring Boot application
version: '@project.version@'
spring-cloud-version: '@spring-cloud.version@'
spring-boot-version: '@project.parent.version@'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment