Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Spring Boot Admin Server

Admin UI for administration of spring boot applications.

Howo to start server

Spring Boot Admin Server integrats with Eureka to fetch applications.

  • Start Eureka Server first
  • Start Spring Boot Admin Server.

How to use in applications

Spring Boot Admin has been integrated with Eureka Registry Server, and Boot Admin will fetch all applications from registry server.

  • If you want to enable JMX-HTTP support, such log view, please add Jolokia dependency:
    <dependency>
           <groupId>org.jolokia</groupId>
           <artifactId>jolokia-core</artifactId>
    </dependency>
  • Add JMX support in your logback-spring.xml:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <springProperty scope="context" name="logging.file" source="logging.file"/>
    <springProperty scope="context" name="logging.path" source="logging.path"/>
    <springProperty scope="context" name="spring.application.name" source="spring.application.name"/>
    <property name="LOG_FILE" value="${logging.path:-.}/${logging.file:-${spring.application.name:-spring}.log}"/>

    <include resource="org/springframework/boot/logging/logback/base.xml"/>
    <jmxConfigurator/>

    <root level="ERROR">
        <appender-ref ref="CONSOLE"/>
        <appender-ref ref="FILE"/>
    </root>

</configuration>

references