Springcloud (12): Using Hystrix to implement fault-tolerant processing of microservices-hystrix monitoring

Source: Internet
Author: User

First, Introduction

The hystrix provides almost real-time monitoring. When executed, Hystrixcommand and Hystrixobserv-ablecommand generate execution results and run metrics, such as the number of requests executed per second, number of successes, and so on, which are useful for analyzing the state of the application system.


Using the Hystrix module hystrix-metrics-event-stream, these monitored metrics information can be exposed to the external system in a Text/event-stream format. Spring-cloud-starter-hystrix already contains this module, on this basis, only need to add spring-boot-starter-actuator for the project, you can use/ The Hystrix.stream endpoint gets hystrix monitoring information.


Our previous project Spring-hystrix-consumer included Spring-cloud-starter-hystrix, spring-boot-starter-actuator, boot access:/HTTP After LOCALHOST:8086/USER/1, then visit: Http://localhost:8086/manage/hystrix.stream, will repeat the following:



Second, the implementation of the operation































This article is from "I Love Big gold" blog, please be sure to keep this source http://1754966750.blog.51cto.com/7455444/1949857

Springcloud (12): Using Hystrix to implement fault-tolerant processing of microservices-hystrix monitoring

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.