Skip to content

Commit

Permalink
Add micrometer dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Sabby Anandan committed Aug 14, 2020
1 parent d412128 commit 994cbde
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 77 deletions.
14 changes: 14 additions & 0 deletions brake-logs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,20 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud.stream.app</groupId>
<artifactId>app-starters-micrometer-common</artifactId>
<version>2.1.2.RELEASE</version>
</dependency>
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-registry-prometheus</artifactId>
</dependency>
<dependency>
<groupId>io.micrometer.prometheus</groupId>
<artifactId>prometheus-rsocket-spring</artifactId>
<version>0.9.0</version>
</dependency>

<dependency>
<groupId>org.springframework.boot</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ public static void main(String[] args) {
}

@Bean
public Consumer<Truck> process() {
return truck -> System.out.println(truck);
public Consumer<Object> process() {
return result -> System.out.println(result);
}
}

75 changes: 0 additions & 75 deletions brake-logs/src/main/java/com/springone/brakelogs/Truck.java

This file was deleted.

14 changes: 14 additions & 0 deletions brake-temperature/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,20 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud.stream.app</groupId>
<artifactId>app-starters-micrometer-common</artifactId>
<version>2.1.2.RELEASE</version>
</dependency>
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-registry-prometheus</artifactId>
</dependency>
<dependency>
<groupId>io.micrometer.prometheus</groupId>
<artifactId>prometheus-rsocket-spring</artifactId>
<version>0.9.0</version>
</dependency>

<dependency>
<groupId>org.springframework.boot</groupId>
Expand Down
14 changes: 14 additions & 0 deletions trucks/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,20 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud.stream.app</groupId>
<artifactId>app-starters-micrometer-common</artifactId>
<version>2.1.2.RELEASE</version>
</dependency>
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-registry-prometheus</artifactId>
</dependency>
<dependency>
<groupId>io.micrometer.prometheus</groupId>
<artifactId>prometheus-rsocket-spring</artifactId>
<version>0.9.0</version>
</dependency>

<dependency>
<groupId>org.springframework.boot</groupId>
Expand Down

0 comments on commit 994cbde

Please sign in to comment.