feat:optimize examples.

pull/577/head
Haotian Zhang 3 years ago
parent 6eec16cc10
commit 26870781fe

@ -9,6 +9,9 @@ spring:
metadata: metadata:
content: content:
region: shanghai region: shanghai
rpc-enhancement:
reporter:
enabled: true
polaris: polaris:
address: grpc://183.47.111.80:8091 address: grpc://183.47.111.80:8091
namespace: default namespace: default
@ -22,10 +25,6 @@ spring:
stat: stat:
enabled: true enabled: true
port: 28081 port: 28081
tencent:
rpc-enhancement:
reporter:
enabled: true
# pushgateway: # pushgateway:
# enabled: true # enabled: true
# address: 127.0.0.1:9091 # address: 127.0.0.1:9091

@ -26,9 +26,9 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
* @author Haotian Zhang * @author Haotian Zhang
*/ */
@SpringBootApplication @SpringBootApplication
public class GatewayCalleeApplication { public class GatewayCalleeApplication2 {
public static void main(String[] args) { public static void main(String[] args) {
SpringApplication.run(GatewayCalleeApplication.class, args); SpringApplication.run(GatewayCalleeApplication2.class, args);
} }
} }
Loading…
Cancel
Save