Skip to Content
Hands-On Microservices with Spring Boot and Spring Cloud
book

Hands-On Microservices with Spring Boot and Spring Cloud

by Magnus Larsson
September 2019
Intermediate to advanced
668 pages
15h 59m
English
Packt Publishing
Content preview from Hands-On Microservices with Spring Boot and Spring Cloud

Setting up an alarm on the circuit breaker

To create an alarm on the circuit breaker, we need to create the alert and then add an alert list to the dashboard, where we can see what alert events have occurred over time.

Perform the following steps to create an alert for the circuit breaker:

  1. In the Hands-on Dashboard, click on the header of the circuit breaker panel. A drop-down menu will appear.
  2. Select the Edit menu option.
  3. Select the Alert tab in the tab list to the left (shown as an alarm bell icon).
  4. Click on the Create Alert button.
  5. In the Evaluate every field, set the value to 10s.
  6. In the For field, set the value to 0m.
  7. In the Conditions section, specify the following values:
    • Set the WHEN field to max().
    • Set the OF field to query(A, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Master Microservices with Spring Boot and Spring Cloud

Master Microservices with Spring Boot and Spring Cloud

In28Minutes Official

Publisher Resources

ISBN: 9781789613476Supplemental Content