|
31 | 31 | <artifactId>spring-boot-starter-web</artifactId>
|
32 | 32 | </dependency>
|
33 | 33 |
|
| 34 | + <!-- This enables Spring Actuator which provides monitoring, metrics, etc. --> |
| 35 | + <dependency> |
| 36 | + <groupId>org.springframework.boot</groupId> |
| 37 | + <artifactId>spring-boot-starter-actuator</artifactId> |
| 38 | + </dependency> |
| 39 | + |
| 40 | + <!-- Core module of Micrometer --> |
| 41 | + <dependency> |
| 42 | + <groupId>io.micrometer</groupId> |
| 43 | + <artifactId>micrometer-core</artifactId> |
| 44 | + </dependency> |
| 45 | + |
| 46 | + <!-- Prometheus--> |
| 47 | + <dependency> |
| 48 | + <groupId>io.micrometer</groupId> |
| 49 | + <artifactId>micrometer-registry-prometheus</artifactId> |
| 50 | + </dependency> |
| 51 | + |
| 52 | + <!-- Adds the Tracer Implementation --> |
| 53 | + <dependency> |
| 54 | + <groupId>io.micrometer</groupId> |
| 55 | + <artifactId>micrometer-tracing-bridge-otel</artifactId> |
| 56 | + </dependency> |
| 57 | + |
| 58 | + <!-- Adds an exporter to store the traces --> |
| 59 | + <dependency> |
| 60 | + <groupId>io.opentelemetry</groupId> |
| 61 | + <artifactId>opentelemetry-exporter-otlp</artifactId> |
| 62 | + </dependency> |
| 63 | + |
| 64 | + <!-- Adds the Tracing API --> |
| 65 | + <dependency> |
| 66 | + <groupId>io.micrometer</groupId> |
| 67 | + <artifactId>micrometer-tracing</artifactId> |
| 68 | + </dependency> |
| 69 | + |
| 70 | + <!-- Eureka client--> |
| 71 | + <dependency> |
| 72 | + <groupId>org.springframework.cloud</groupId> |
| 73 | + <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId> |
| 74 | + </dependency> |
| 75 | + |
34 | 76 | <!-- This is for Spring Data JPA. You could use Spring Data JDBC instead. -->
|
35 | 77 | <dependency>
|
36 | 78 | <groupId>org.springframework.boot</groupId>
|
|
65 | 107 | <artifactId>liquibase-core</artifactId>
|
66 | 108 | </dependency>
|
67 | 109 |
|
68 |
| - <!-- This enables Spring Actuator which provides monitoring, metrics, etc. --> |
69 |
| - <dependency> |
70 |
| - <groupId>org.springframework.boot</groupId> |
71 |
| - <artifactId>spring-boot-starter-actuator</artifactId> |
72 |
| - </dependency> |
73 |
| - |
74 | 110 | <!-- This adds metrics for data sources. -->
|
75 | 111 | <dependency>
|
76 | 112 | <groupId>net.ttddyy.observation</groupId>
|
77 | 113 | <artifactId>datasource-micrometer-spring-boot</artifactId>
|
78 | 114 | <version>${datasource-micrometer-spring-boot.version}</version>
|
79 | 115 | </dependency>
|
80 | 116 |
|
81 |
| - <!-- Eureka client--> |
82 |
| - <dependency> |
83 |
| - <groupId>org.springframework.cloud</groupId> |
84 |
| - <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId> |
85 |
| - </dependency> |
86 |
| - |
87 |
| - <!-- Core module of Micrometer --> |
88 |
| - <dependency> |
89 |
| - <groupId>io.micrometer</groupId> |
90 |
| - <artifactId>micrometer-core</artifactId> |
91 |
| - </dependency> |
92 |
| - |
93 |
| - <!-- Prometheus--> |
94 |
| - <dependency> |
95 |
| - <groupId>io.micrometer</groupId> |
96 |
| - <artifactId>micrometer-registry-prometheus</artifactId> |
97 |
| - </dependency> |
98 |
| - |
99 |
| - <!-- Adds the Tracer Implementation --> |
100 |
| - <dependency> |
101 |
| - <groupId>io.micrometer</groupId> |
102 |
| - <artifactId>micrometer-tracing-bridge-otel</artifactId> |
103 |
| - </dependency> |
104 |
| - |
105 |
| - <!-- Adds an exporter to store the traces --> |
106 |
| - <dependency> |
107 |
| - <groupId>io.opentelemetry</groupId> |
108 |
| - <artifactId>opentelemetry-exporter-otlp</artifactId> |
109 |
| - </dependency> |
110 |
| - |
111 |
| - <!-- Adds the Tracing API --> |
112 |
| - <dependency> |
113 |
| - <groupId>io.micrometer</groupId> |
114 |
| - <artifactId>micrometer-tracing</artifactId> |
115 |
| - </dependency> |
116 |
| - |
117 | 117 | <!-- Spring test support. -->
|
118 | 118 | <dependency>
|
119 | 119 | <groupId>org.springframework.boot</groupId>
|
|
0 commit comments