微服务版本中“服务监控”界面无法打开

提问 7 2243
服务监控一直打不开,我还需要哪里配置么 renren-monitor服务也看似正常运行,其他的服务均正常 img[//cdn.renren.io/7ecc9201910221923267455.jpg]
回帖
  • 看下监控有没有起来,或者有没有报错
    0 回复
  • 遇到过,服务监控接口文档都不稳定
    0 回复
  • guanzhong
    2019-10-23
    @Mark 除了没有配置apollo,没有任何报错。 [pre] 2019-10-22 22:25:58.730 INFO 1 --- [ main] o.s.c.n.eureka.InstanceInfoFactory : Setting initial instance status as: STARTING 2019-10-22 22:25:59.281 INFO 1 --- [ main] com.netflix.discovery.DiscoveryClient : Initializing Eureka in region us-east-1 2019-10-22 22:26:06.447 INFO 1 --- [ main] c.n.d.provider.DiscoveryJerseyProvider : Using JSON encoding codec LegacyJacksonJson 2019-10-22 22:26:06.447 INFO 1 --- [ main] c.n.d.provider.DiscoveryJerseyProvider : Using JSON decoding codec LegacyJacksonJson 2019-10-22 22:26:08.530 INFO 1 --- [ main] c.n.d.provider.DiscoveryJerseyProvider : Using XML encoding codec XStreamXml 2019-10-22 22:26:08.533 INFO 1 --- [ main] c.n.d.provider.DiscoveryJerseyProvider : Using XML decoding codec XStreamXml 2019-10-22 22:26:10.983 INFO 1 --- [ main] c.n.d.s.r.aws.ConfigClusterResolver : Resolving eureka endpoints via configuration 2019-10-22 22:26:11.395 INFO 1 --- [ main] com.netflix.discovery.DiscoveryClient : Disable delta property : false 2019-10-22 22:26:11.396 INFO 1 --- [ main] com.netflix.discovery.DiscoveryClient : Single vip registry refresh property : null 2019-10-22 22:26:11.396 INFO 1 --- [ main] com.netflix.discovery.DiscoveryClient : Force full registry fetch : false 2019-10-22 22:26:11.396 INFO 1 --- [ main] com.netflix.discovery.DiscoveryClient : Application is null : false 2019-10-22 22:26:11.396 INFO 1 --- [ main] com.netflix.discovery.DiscoveryClient : Registered Applications size is zero : true 2019-10-22 22:26:11.396 INFO 1 --- [ main] com.netflix.discovery.DiscoveryClient : Application version is -1: true 2019-10-22 22:26:11.396 INFO 1 --- [ main] com.netflix.discovery.DiscoveryClient : Getting all instance registry info from the eureka server 2019-10-22 22:26:15.330 INFO 1 --- [ main] com.netflix.discovery.DiscoveryClient : The response status is 200 2019-10-22 22:26:15.379 INFO 1 --- [ main] com.netflix.discovery.DiscoveryClient : Starting heartbeat executor: renew interval is: 30 2019-10-22 22:26:15.402 INFO 1 --- [ main] c.n.discovery.InstanceInfoReplicator : InstanceInfoReplicator onDemand update allowed rate per min is 4 2019-10-22 22:26:15.482 INFO 1 --- [ main] com.netflix.discovery.DiscoveryClient : Discovery Client initialized at timestamp 1571754375463 with initial instances count: 0 2019-10-22 22:26:15.503 INFO 1 --- [ main] o.s.c.n.e.s.EurekaServiceRegistry : Registering application RENREN-MONITOR-SERVER with eureka with status UP 2019-10-22 22:26:15.531 INFO 1 --- [ main] com.netflix.discovery.DiscoveryClient : Saw local status change event StatusChangeEvent [timestamp=1571754375531, current=UP, previous=STARTING] 2019-10-22 22:26:15.547 INFO 1 --- [nfoReplicator-0] com.netflix.discovery.DiscoveryClient : DiscoveryClient_RENREN-MONITOR-SERVER/172.18.0.8:8100: registering service... 2019-10-22 22:26:18.445 INFO 1 --- [nfoReplicator-0] com.netflix.discovery.DiscoveryClient : DiscoveryClient_RENREN-MONITOR-SERVER/172.18.0.8:8100 - registration status: 204 2019-10-22 22:26:19.529 INFO 1 --- [ main] o.s.b.web.embedded.netty.NettyWebServer : Netty started on port(s): 8100 2019-10-22 22:26:19.531 INFO 1 --- [ main] .s.c.n.e.s.EurekaAutoServiceRegistration : Updating port to 8100 2019-10-22 22:26:19.534 INFO 1 --- [ main] io.renren.MonitorApplication : Started MonitorApplication in 97.212 seconds (JVM running for 109.622) 2019-10-22 22:26:45.370 INFO 1 --- [freshExecutor-0] com.netflix.discovery.DiscoveryClient : Disable delta property : false 2019-10-22 22:26:45.370 INFO 1 --- [freshExecutor-0] com.netflix.discovery.DiscoveryClient : Single vip registry refresh property : null 2019-10-22 22:26:45.370 INFO 1 --- [freshExecutor-0] com.netflix.discovery.DiscoveryClient : Force full registry fetch : false 2019-10-22 22:26:45.370 INFO 1 --- [freshExecutor-0] com.netflix.discovery.DiscoveryClient : Application is null : false 2019-10-22 22:26:45.370 INFO 1 --- [freshExecutor-0] com.netflix.discovery.DiscoveryClient : Registered Applications size is zero : true 2019-10-22 22:26:45.370 INFO 1 --- [freshExecutor-0] com.netflix.discovery.DiscoveryClient : Application version is -1: false 2019-10-22 22:26:45.370 INFO 1 --- [freshExecutor-0] com.netflix.discovery.DiscoveryClient : Getting all instance registry info from the eureka server 2019-10-22 22:26:45.781 INFO 1 --- [freshExecutor-0] com.netflix.discovery.DiscoveryClient : The response status is 200 2019-10-22 22:30:03.850 WARN 1 --- [figRepository-1] c.c.f.a.i.RemoteConfigRepository : Load config failed, will retry in 1 SECONDS. appId: renren-cloud-tenant, cluster: default, namespaces: renren-monitor.yml 2019-10-22 22:30:04.861 WARN 1 --- [figRepository-1] c.c.f.a.i.AbstractConfigRepository : Sync config failed, will retry. Repository class com.ctrip.framework.apollo.internals.RemoteConfigRepository, reason: Load Apollo Config failed - appId: renren-cloud-tenant, cluster: default, namespace: renren-monitor.yml, url: http://47.111.15.10:8060/configs/renren-cloud-tenant/default/renren-monitor.yml?ip=172.18.0.8 [Cause: [status code: 404] Could not find config for namespace - appId: renren-cloud-tenant, cluster: default, namespace: renren-monitor.yml, please check whether the configs are released in Apollo!] 2019-10-22 22:31:11.478 INFO 1 --- [trap-executor-0] c.n.d.s.r.aws.ConfigClusterResolver : Resolving eureka endpoints via configuration [/pre]
    0 回复
  • @guanzhong 是不是跨域了
    0 回复
  • guanzhong
    2019-10-23
    @Mark 估计是的,我试试,通过容器端口可以访问,如果通过geteway就不行。
    0 回复
  • guanzhong
    2019-10-23
    @Mark 按照文档nginx配置过了,通过域名打开,还是无法打开监控菜单,接口文档菜单是可以的
    0 回复
  • guanzhong
    2019-10-23
    @Mark 遇到的问题和这帖子https://www.renren.io/detail/12201里说的第一个问题一样 我请求的是docker网络地址 img[//cdn.renren.io/88963201910232246024738.png]
    0 回复