Ibm cloud 无法使用Bluemix中的Hystrix dashboard显示公制图表
我试图使用Hystrix实现服务代理,以实现断路器模式。我实现了Hystrix命令,还打包了hystrixservlet以提供Hystrix流。为了监控服务,我使用的是Hystrix Dashboard 1.5.0。所有这些都可以在本地Tomcat服务器上正常工作。我可以看到指标图表 但是,当我在Bluemix上部署相同的组件时,仪表板不会显示图表。相反,它表示“无法连接到命令度量流”。我还使用Chrome浏览器检查了流。我可以看到以下信息:Ibm cloud 无法使用Bluemix中的Hystrix dashboard显示公制图表,ibm-cloud,hystrix,Ibm Cloud,Hystrix,我试图使用Hystrix实现服务代理,以实现断路器模式。我实现了Hystrix命令,还打包了hystrixservlet以提供Hystrix流。为了监控服务,我使用的是Hystrix Dashboard 1.5.0。所有这些都可以在本地Tomcat服务器上正常工作。我可以看到指标图表 但是,当我在Bluemix上部署相同的组件时,仪表板不会显示图表。相反,它表示“无法连接到命令度量流”。我还使用Chrome浏览器检查了流。我可以看到以下信息: ping: data: { "type
ping:
data:
{
"type":"HystrixCommand",
"name":"GetAllContactsCommand",
"group":"GetAllContactsService",
"currentTime":1464714539673,
"isCircuitBreakerOpen":false,
"errorPercentage":0,
"errorCount":0,
"requestCount":0,
"rollingCountBadRequests":0,
"rollingCountCollapsedRequests":0,
"rollingCountEmit":0,
"rollingCountExceptionsThrown":0,
"rollingCountFailure":0,
"rollingCountEmit":0,
"rollingCountFallbackFailure":0,
"rollingCountFallbackRejection":0,
"rollingCountFallbackSuccess":0,
"rollingCountResponsesFromCache":0,
"rollingCountSemaphoreRejected":0,
"rollingCountShortCircuited":0,
"rollingCountSuccess":0,
"rollingCountThreadPoolRejected":0,
"rollingCountTimeout":0,
"currentConcurrentExecutionCount":0,
"rollingMaxConcurrentExecutionCount":0,
"latencyExecute_mean":0,
"latencyExecute":{"0":0,
"25":0,
"50":0,
"75":0,
"90":0,
"95":0,
"99":0,
"99.5":0,
"100":0
},
"latencyTotal_mean":0,
"latencyTotal":
{ "0":0,
"25":0,
"50":0,
"75":0,
"90":0,
"95":0,
"99":0,
"99.5":0,
"100":0
},
"propertyValue_circuitBreakerRequestVolumeThreshold":20,
"propertyValue_circuitBreakerSleepWindowInMilliseconds":5000,
"propertyValue_circuitBreakerErrorThresholdPercentage":50,
"propertyValue_circuitBreakerForceOpen":false,
"propertyValue_circuitBreakerForceClosed":false,
"propertyValue_circuitBreakerEnabled":true,
"propertyValue_executionIsolationStrategy":"THREAD",
"propertyValue_executionIsolationThreadTimeoutInMilliseconds":1000,
"propertyValue_executionTimeoutInMilliseconds":1000,
"propertyValue_executionIsolationThreadInterruptOnTimeout":true,
"propertyValue_executionIsolationThreadPoolKeyOverride":null,
"propertyValue_executionIsolationSemaphoreMaxConcurrentRequests":10,
"propertyValue_fallbackIsolationSemaphoreMaxConcurrentRequests":10,
"propertyValue_metricsRollingStatisticalWindowInMilliseconds":10000,
"propertyValue_requestCacheEnabled":true,
"propertyValue_requestLogEnabled":true,
"reportingHosts":1
}
data:
{
"type":"HystrixThreadPool",
"name":"GetAllContactsService",
"currentTime":1464714539673,
"currentActiveCount":0,
"currentCompletedTaskCount":3,
"currentCorePoolSize":10,
"currentLargestPoolSize":3,
"currentMaximumPoolSize":10,
"currentPoolSize":3,
"currentQueueSize":0,
"currentTaskCount":3,
"rollingCountThreadsExecuted":0,
"rollingMaxActiveThreads":0,
"rollingCountCommandRejections":0,
"propertyValue_queueSizeRejectionThreshold":5,
"propertyValue_metricsRollingStatisticalWindowInMilliseconds":10000,
"reportingHosts":1
}
你知道为什么仪表板在Bluemix上部署时无法连接到流吗。感谢您的帮助
问候,,
Umasuthan。我在尝试在Bluemix上运行时遇到了同样的问题。我还使用Spring工具套件在本地运行良好。这个问题有解决办法吗 我的情况: 我使用SpringInitialZR创建了一个SpringCloud应用程序(Eureka、Hystrix、REST控制器)。我已经将其部署到Bluemix(CloudFoundry)。除Hystrix仪表板外,其他一切正常。我在仪表板上看到“无法连接到命令度量流”
我可以卷曲流url—这需要很长时间,但数据确实会回来。我在尝试在Bluemix上运行时也遇到同样的问题。我还使用Spring工具套件在本地运行良好。这个问题有解决办法吗 我的情况: 我使用SpringInitialZR创建了一个SpringCloud应用程序(Eureka、Hystrix、REST控制器)。我已经将其部署到Bluemix(CloudFoundry)。除Hystrix仪表板外,其他一切正常。我在仪表板上看到“无法连接到命令度量流” 我可以卷曲流url-这需要很长时间,但数据确实会回来