@@ -7,33 +7,29 @@ This is a simple admin interface for [Spring Boot](http://projects.spring.io/spr
...
@@ -7,33 +7,29 @@ This is a simple admin interface for [Spring Boot](http://projects.spring.io/spr
This application provides a simple GUI to administrate Spring Boot applications in some ways. At the moment it provides the following features for every registered application.
This application provides a simple GUI to administrate Spring Boot applications in some ways. At the moment it provides the following features for every registered application.
<ul>
* Show name/id and version number
<li>Show name/id and version number</li>
* Show health status
<li>Show online status</li>
* Download main logfile
<li>Download main logfile</li>
* Show details, like
<li>Show details, like</li>
* Java System- / Environment- / Spring properties
<ul>
* JVM & memory metrics
<li>Java system properties</li>
* Counter & gauge Metrics
<li>Java environment properties</li>
* Datasource Metrics
<li>Memory metrics</li>
* Easy loggerlevel management
<li>Spring environment properties</li>
* Interact with JMX-Beans
</ul>
* View Threaddump
</ul>
#### Server application
#### Server application
Add the following dependency to your pom.xml.
Add the following dependency to your pom.xml.
```
```
<dependency>
<dependency>
<groupId>de.codecentric</groupId>
<groupId>de.codecentric</groupId>
<artifactId>spring-boot-admin-server</artifactId>
<artifactId>spring-boot-admin-server</artifactId>
<version>1.0.2</version>
<version>1.0.6</version>
</dependency>
</dependency>
```
```
Create the Spring Boot Admin Server with only one single Annotation.
Create the Spring Boot Admin Server with only one single Annotation.
```
```
@Configuration
@Configuration
@EnableAutoConfiguration
@EnableAutoConfiguration
...
@@ -45,16 +41,17 @@ public class Application {
...
@@ -45,16 +41,17 @@ public class Application {
}
}
```
```
See also the [example project](https://github.com/codecentric/spring-boot-admin/tree/master/spring-boot-admin-example) in this repository.
See also the [example project](https://github.com/codecentric/spring-boot-admin/tree/master/spring-boot-admin-samples/spring-boot-admin-samples) in this repository.
#### Client applications
For configuring Hazelcast support see [spring-boot-admin-server](https://github.com/codecentric/spring-boot-admin/tree/master/spring-boot-admin-server/README.md) or [hazelcast-example project](https://github.com/codecentric/spring-boot-admin/tree/master/spring-boot-admin-samples/spring-boot-admin-samples-hazelcast)
Each application that want to register itself to the admin application has to include the [spring-boot-starter-admin-client](https://github.com/codecentric/spring-boot-admin/tree/master/spring-boot-starter-admin-client) as dependency. This starter JAR includes some [AutoConfiguration](http://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference/htmlsingle/#using-boot-auto-configuration"Spring Boot docu") features that includes registering tasks, controller, etc.
#### Client applications
Each application that want to register itself to the admin application has to include the [spring-boot-starter-admin-client](https://github.com/codecentric/spring-boot-admin/tree/master/spring-boot-starter-admin-client) as dependency. This starter JAR includes some [AutoConfiguration](http://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference/htmlsingle/#using-boot-auto-configuration"Spring Boot documentation") features that includes registering tasks, controller, etc.
@@ -63,7 +60,7 @@ Inside your configuration (e.g. application.properties) you also have to define
...
@@ -63,7 +60,7 @@ Inside your configuration (e.g. application.properties) you also have to define
spring.boot.admin.url=http://localhost:8080
spring.boot.admin.url=http://localhost:8080
```
```
For all configuration options see [spring-boot-starter-admin-client](https://github.com/codecentric/spring-boot-admin/tree/master/spring-boot-starter-admin-client)
For all configuration options see [spring-boot-starter-admin-client](https://github.com/codecentric/spring-boot-admin/tree/master/spring-boot-starter-admin-client/README.md)