diff --git a/auth/src/main/resources/application.yml b/auth/src/main/resources/application.yml index 39762ef..7c58932 100644 --- a/auth/src/main/resources/application.yml +++ b/auth/src/main/resources/application.yml @@ -6,9 +6,9 @@ spring: datasource: driver-class-name: com.mysql.cj.jdbc.Driver - url: jdbc:mysql://192.168.1.14:3306/test3?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf-8&useSSL=true - username: root - password: lingxiao + url: jdbc:mysql:/:3306/test3?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf-8&useSSL=true + username: + password: hikari: minimum-idle: 3 maximum-pool-size: 10000 @@ -19,10 +19,10 @@ spring: allow-bean-definition-overriding: true data: redis: - port: 6379 + port: database: 1 - host: 192.168.1.14 - password: lingxiao + host: + password: lettuce: pool: max-active: 2000 @@ -43,13 +43,13 @@ management: otlp: metrics: export: - url: http://192.168.1.14:9090/api/v1/otlp/v1/metrics #Prometheus otlp协议 http地址 + url: http:///api/v1/otlp/v1/metrics #Prometheus otlp协议 http地址 step: 30s opentelemetry: tracing: export: otlp: - endpoint: http://192.168.1.14:4317/v1/traces #Jaeger otlp协议 grpc地址 + endpoint: http://:4317/v1/traces #Jaeger otlp协议 grpc地址 transport: grpc # endpoint: http://localhost:4318/v1/traces # transport: http @@ -57,5 +57,5 @@ management: logging: export: otlp: - endpoint: http://192.168.1.14:32664/otlp/v1/logs #Loki otlp协议 grpc地址 + endpoint: http://:32664/otlp/v1/logs #Loki otlp协议 grpc地址 # transport: grpc \ No newline at end of file