Compare commits
1 Commits
develop
...
feature/pr
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a2c2b2eaf5 |
@@ -43,6 +43,8 @@ dependencies {
|
|||||||
implementation("com.google.code.findbugs:jsr305:3.0.2")
|
implementation("com.google.code.findbugs:jsr305:3.0.2")
|
||||||
implementation ("org.springframework.cloud:spring-cloud-starter-config")
|
implementation ("org.springframework.cloud:spring-cloud-starter-config")
|
||||||
implementation("org.springframework.cloud:spring-cloud-starter-openfeign")
|
implementation("org.springframework.cloud:spring-cloud-starter-openfeign")
|
||||||
|
implementation("io.micrometer:micrometer-core")
|
||||||
|
implementation("io.micrometer:micrometer-registry-prometheus")
|
||||||
|
|
||||||
modules {
|
modules {
|
||||||
module("org.springframework.boot:spring-boot-starter-logging") {
|
module("org.springframework.boot:spring-boot-starter-logging") {
|
||||||
|
|||||||
@@ -28,3 +28,7 @@ spring:
|
|||||||
redis:
|
redis:
|
||||||
host: 172.18.0.3
|
host: 172.18.0.3
|
||||||
port: 6379
|
port: 6379
|
||||||
|
|
||||||
|
application:
|
||||||
|
name: monitoring
|
||||||
|
|
||||||
|
|||||||
@@ -26,6 +26,24 @@ spring:
|
|||||||
config:
|
config:
|
||||||
import: "optional:configserver:"
|
import: "optional:configserver:"
|
||||||
|
|
||||||
|
application:
|
||||||
|
name: monitoring
|
||||||
|
|
||||||
|
management:
|
||||||
|
endpoint:
|
||||||
|
metrics:
|
||||||
|
enabled: true
|
||||||
|
prometheus:
|
||||||
|
enabled: true
|
||||||
|
|
||||||
|
endpoints:
|
||||||
|
web:
|
||||||
|
exposure:
|
||||||
|
include: health, info, metrics, prometheus
|
||||||
|
|
||||||
|
metrics:
|
||||||
|
tags:
|
||||||
|
application: ${spring.application.name}
|
||||||
|
|
||||||
jasypt:
|
jasypt:
|
||||||
encryptor:
|
encryptor:
|
||||||
|
|||||||
Reference in New Issue
Block a user