码迷,mamicode.com
首页 > 编程语言 > 详细

spring cloud hystrix监控

时间:2018-03-13 01:13:05      阅读:177      评论:0      收藏:0      [点我收藏+]

标签:ota   depend   uil   server   ica   void   org   tar   cat   

<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监控

标签:ota   depend   uil   server   ica   void   org   tar   cat   

原文地址:https://www.cnblogs.com/zfzf1/p/8552579.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!