Sign inSign up

icgcargo/spring-boot-admin

By icgcargo

•Updated over 7 years ago

Image
0

757

icgcargo/spring-boot-admin repository overview

⁠Spring Boot Admin

  1. What is spring boot admin?

Spring boot admin manages and monitors spring boot applications. The project is built using codecentric's spring-boot-admin-starter-server⁠.

  1. Resigtering Client Applications

In order to let spring boot admin monitor other applications, register the client applications by adding application url to the application.yml, for example: to register program service, add the following to application.yml:

spring.boot.admin.client.url: http://localhost:8082 
management.endpoints.web.exposure.include: "*"

As with Spring Boot 2 most of the endpoints aren’t exposed via http by default, we expose all of them. For production you should carefully choose which endpoints to expose.

Add the following dependencies to program service:

<dependency>
	<groupId>de.codecentric</groupId>
	<artifactId>spring-boot-admin-starter-client</artifactId>
	<version>2.1.3</version>
</dependency>
<dependency>
	<groupId>org.springframework.boot</groupId>
	<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<dependency>
	<groupId>org.springframework.boot</groupId>
	<artifactId>spring-boot-starter-webflux</artifactId>
</dependency>

Spring boot admin reference guide: https://codecentric.github.io/spring-boot-admin/2.1.3/#_what_is_spring_boot_admin⁠

Tag summary

Content type

Image

Digest

Size

127.6 MB

Last updated

over 7 years ago

docker pull icgcargo/spring-boot-admin:e8779d3