udate task-apps pom dependencies and docs
This commit is contained in:
@@ -93,14 +93,6 @@ Use version `2.2.0.RC1` or newer!
|
||||
|
||||
* Add dependencies to configure Micrometer integration:
|
||||
|
||||
The Micrometer library uses the actuator internally:
|
||||
```xml
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-actuator</artifactId>
|
||||
</dependency>
|
||||
```
|
||||
|
||||
To enable Prometheus metrics collection add:
|
||||
|
||||
```xml
|
||||
|
||||
@@ -76,21 +76,14 @@
|
||||
<optional>true</optional>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-actuator</artifactId>
|
||||
</dependency>
|
||||
<!-- <dependency>-->
|
||||
<!-- <groupId>org.springframework.boot</groupId>-->
|
||||
<!-- <artifactId>spring-boot-actuator-autoconfigure</artifactId>-->
|
||||
<!-- </dependency>-->
|
||||
|
||||
<!-- Enable Prometheus metrics collection (via Prometheus RSocket Proxy) -->
|
||||
<!-- Internally it imports the org.springframework.boot:spring-boot-actuator-autoconfigure dependency -->
|
||||
<dependency>
|
||||
<groupId>io.micrometer.prometheus</groupId>
|
||||
<artifactId>prometheus-rsocket-spring</artifactId>
|
||||
<version>${prometheus-rsocket-spring.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>io.micrometer.prometheus</groupId>
|
||||
<artifactId>prometheus-rsocket-client</artifactId>
|
||||
|
||||
Reference in New Issue
Block a user