spring cloud hystrix监控

Posted zfzf1

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了spring cloud hystrix监控相关的知识,希望对你有一定的参考价值。

<dependencyManagement>
		<dependencies>
			<dependency>
				<groupId>org.springframework.cloud</groupId>
				<artifactId>spring-cloud-dependencies</artifactId>
				<version>Dalston.SR1</version>
				<type>pom</type>
				<scope>import</scope>
			</dependency>
		</dependencies>
	</dependencyManagement>

	<dependencies>
		<dependency>
			<groupId>org.springframework.cloud</groupId>
			<artifactId>spring-cloud-starter-hystrix-dashboard</artifactId>
		</dependency>
		<dependency>
			<groupId>org.springframework.cloud</groupId>
			<artifactId>spring-cloud-starter-hystrix</artifactId>
		</dependency>
		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-actuator</artifactId>
			<version>1.5.3.RELEASE</version>
		</dependency>
	</dependencies>
@SpringBootApplication
@EnableHystrixDashboard
public class DashboardApp {

	public static void main(String[] args) {
		new SpringApplicationBuilder(DashboardApp.class).properties("server.port=8082").run(args);
	}

}

  http://localhost:8082/hystrix

 

http://localhost:8081/hystrix.stream

  

以上是关于spring cloud hystrix监控的主要内容,如果未能解决你的问题,请参考以下文章

Spring Cloud (11) Hystrix-监控聚合监控

Springcloud基础知识- Spring Cloud Hystrix | Hystrix 全局/解耦降级服务熔断故障监控

Spring Cloud:Hystrix 监控数据聚合 TurbineFinchley 版

10.Spring-Cloud-Hystrix之熔断监控Hystrix Dashboard单个应用

Spring Cloud:Hystrix 监控面板Finchley 版

Spring Cloud构建微服务架构Hystrix监控面板