|
@@ -10,27 +10,27 @@ server:
|
|
spring:
|
|
spring:
|
|
application:
|
|
application:
|
|
name: monitor-web-hb-consumer
|
|
name: monitor-web-hb-consumer
|
|
- cloud:
|
|
|
|
- sentinel:
|
|
|
|
- transport:
|
|
|
|
- dashboard: 192.168.2.216:8849
|
|
|
|
- port: 8169
|
|
|
|
- datasource:
|
|
|
|
- ds1:
|
|
|
|
- nacos:
|
|
|
|
- server-addr: 192.168.2.216:8848
|
|
|
|
- data-id: ${spring.application.name}.json
|
|
|
|
- group-id: DEFAULT_GROUP
|
|
|
|
- data-type: json
|
|
|
|
- rule-type: flow
|
|
|
|
- filter:
|
|
|
|
- enabled: true
|
|
|
|
- eager: true
|
|
|
|
|
|
+# cloud:
|
|
|
|
+# sentinel:
|
|
|
|
+# transport:
|
|
|
|
+# dashboard: 192.168.2.216:8849
|
|
|
|
+# port: 8169
|
|
|
|
+# datasource:
|
|
|
|
+# ds1:
|
|
|
|
+# nacos:
|
|
|
|
+# server-addr: 192.168.2.216:8848
|
|
|
|
+# data-id: ${spring.application.name}.json
|
|
|
|
+# group-id: DEFAULT_GROUP
|
|
|
|
+# data-type: json
|
|
|
|
+# rule-type: flow
|
|
|
|
+# filter:
|
|
|
|
+# enabled: true
|
|
|
|
+# eager: true
|
|
nacos:
|
|
nacos:
|
|
discovery:
|
|
discovery:
|
|
- #server-addr: 192.168.56.1:8848
|
|
|
|
|
|
+ server-addr: 192.168.56.1:8848
|
|
#server-addr: 10.83.68.97:8848
|
|
#server-addr: 10.83.68.97:8848
|
|
- server-addr: 192.168.2.216:8848
|
|
|
|
|
|
+ #server-addr: 192.168.2.216:8848
|
|
#指定yaml格式的配置
|
|
#指定yaml格式的配置
|
|
file-extension: yaml
|
|
file-extension: yaml
|
|
cluster-name: master
|
|
cluster-name: master
|
|
@@ -39,10 +39,10 @@ spring:
|
|
#redis集群
|
|
#redis集群
|
|
redis:
|
|
redis:
|
|
#host: 10.0.118.73
|
|
#host: 10.0.118.73
|
|
- #host: 123.60.213.70
|
|
|
|
- host: 192.168.2.202
|
|
|
|
|
|
+ host: 123.60.213.70
|
|
|
|
+ #host: 192.168.2.202
|
|
#host: 10.83.68.94
|
|
#host: 10.83.68.94
|
|
- password:
|
|
|
|
|
|
+ password: gdnxfd123
|
|
port: 6379
|
|
port: 6379
|
|
timeout: 100000
|
|
timeout: 100000
|
|
# 集群环境打开下面注释,单机不需要打开
|
|
# 集群环境打开下面注释,单机不需要打开
|
|
@@ -59,7 +59,7 @@ spring:
|
|
min-idle: 0
|
|
min-idle: 0
|
|
max-idle: 8
|
|
max-idle: 8
|
|
max-wait: -1
|
|
max-wait: -1
|
|
- database: 19
|
|
|
|
|
|
+ database: 1
|
|
autoconfigure:
|
|
autoconfigure:
|
|
exclude: org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration
|
|
exclude: org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration
|
|
datasource:
|
|
datasource:
|
|
@@ -67,13 +67,13 @@ spring:
|
|
driver-class-name: oracle.jdbc.OracleDriver
|
|
driver-class-name: oracle.jdbc.OracleDriver
|
|
#外网
|
|
#外网
|
|
#url: jdbc:oracle:thin:@10.0.118.71:1521:gdsj
|
|
#url: jdbc:oracle:thin:@10.0.118.71:1521:gdsj
|
|
- #url: jdbc:oracle:thin:@123.60.213.70:1521:gdnxfd
|
|
|
|
|
|
+ url: jdbc:oracle:thin:@123.60.213.70:1521:gdnxfd
|
|
#url: jdbc:oracle:thin:@10.83.68.165:1521:gdsj
|
|
#url: jdbc:oracle:thin:@10.83.68.165:1521:gdsj
|
|
- url: jdbc:oracle:thin:@192.168.2.215:1521:gdsj
|
|
|
|
- username: gdprod
|
|
|
|
- password: gd123
|
|
|
|
- #username: nxfdprod
|
|
|
|
- #password: gdnxfd123
|
|
|
|
|
|
+ #url: jdbc:oracle:thin:@192.168.2.215:1521:gdsj
|
|
|
|
+# username: gdprod
|
|
|
|
+# password: gd123
|
|
|
|
+ username: nxfdprod
|
|
|
|
+ password: gdnxfd123
|
|
oracle-schema=:
|
|
oracle-schema=:
|
|
druid:
|
|
druid:
|
|
max-active: 20
|
|
max-active: 20
|
|
@@ -130,16 +130,16 @@ feign:
|
|
read-timeout: 60000
|
|
read-timeout: 60000
|
|
connect-timeout: 60000
|
|
connect-timeout: 60000
|
|
provider:
|
|
provider:
|
|
-# monitorurl: http://192.168.56.1:8171/
|
|
|
|
-# healthurl: http://192.168.56.1:8172/
|
|
|
|
-# analysisurl: http://192.168.56.1:8173/
|
|
|
|
-# adminurl: http://192.168.56.1:8174/
|
|
|
|
-# alarmurl: http://192.168.56.1:8176/
|
|
|
|
- monitorurl: http://192.168.2.216:8171/
|
|
|
|
- healthurl: http://192.168.2.216:8172/
|
|
|
|
- analysisurl: http://192.168.2.216:8173/
|
|
|
|
- adminurl: http://192.168.2.216:8174/
|
|
|
|
- alarmurl: http://192.168.2.216:8176/
|
|
|
|
|
|
+ monitorurl: http://192.168.56.1:8171/
|
|
|
|
+ healthurl: http://192.168.56.1:8172/
|
|
|
|
+ analysisurl: http://192.168.56.1:8173/
|
|
|
|
+ adminurl: http://192.168.56.1:8174/
|
|
|
|
+ alarmurl: http://192.168.56.1:8176/
|
|
|
|
+# monitorurl: http://192.168.2.216:8171/
|
|
|
|
+# healthurl: http://192.168.2.216:8172/
|
|
|
|
+# analysisurl: http://192.168.2.216:8173/
|
|
|
|
+# adminurl: http://192.168.2.216:8174/
|
|
|
|
+# alarmurl: http://192.168.2.216:8176/
|
|
management:
|
|
management:
|
|
endpoints:
|
|
endpoints:
|
|
jmx:
|
|
jmx:
|