Sentinel 1.6.3 was released, introducing support for the gateway flow control console, along with some bug fixes and feature improvements.

Gateway flow control console

Sentinel Gateway flow control supports flow control for different routes and user-defined API groups, as well as for request attributes such as URL parameters, Client IP, Header, etc. Sentinel 1.6.3 introduces support for the Gateway flow control console. Users can view real-time route and custom API group monitoring from the API Gateway directly on the Sentinel console, and manage Gateway rules and API group configuration.

On the API Gateway, you only need to add the following startup parameters to the original startup parameters to mark the application as the API Gateway type:

-Dcsp.sentinel.app.type=1
Copy the code

After adding the correct startup parameters and receiving traffic, we can see the corresponding API Gateway on Sentinel. We can view real-time route and custom API grouping monitoring and calling information:

We can configure custom API groups on the console to group some URL matching patterns into one API group:

We can then configure the gateway flow control rule on the console for either a preset Route ID or a custom API group:

Thanks to committer@cdFive for your contributions. More information about gateway flow control can be found in the Sentinel Gateway Flow Control documentation.

Other improvements

  • The console supports system protection rules for configuring CPU usage patterns
  • Web Servlet CommonFilterSupport through UrlCleaner to filter unwanted URL patterns
  • The Spring Cloud Gateway Filter supports configuring order to address the Spring Cloud Gateway@OrderBug where annotations don’t work

Please refer to Release Notes for more information. You are welcome to use it and make suggestions. You are also welcome to contribute.

[Sentinel Community Recruitment]

  1. Feature development: feature development, Bugfix, single test supplement, samples, official website construction and other related aspects.
  2. Documentation: including but not limited to source code parsing, development documentation, user documentation, best practice articles, translations, etc.
  3. Multi-language implementation: including but not limited to C++, Golang, etc.

If you have the time, passion and desire to join the core contribution team and work together to improve Sentinel. The Sentinel Golang version is currently being designed. If you are interested, please contact @sczyh30. The Sentinel community looks forward to your participation. Join us!