You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -18,7 +18,7 @@ to guarantee reliability and resilience for microservices.
18
18
19
19
Sentinel has the following features:
20
20
21
-
-**Rich applicable scenarios**: Sentinel has been wildly used in Alibaba, and has covered almost all the core-scenarios in Double-11 (11.11) Shopping Festivals in the past 10 years, such as “Second Kill” which needs to limit burst flow traffic to meet the system capacity, message peak clipping and valley fills, circuit breaking for unreliable downstream services, cluster flow control, etc.
21
+
-**Rich applicable scenarios**: Sentinel has been wildly used in Alibaba, and has covered almost all the core-scenarios in Double-11 (11.11) Shopping Festivals in the past 10 years, such as 鈥淪econd Kill鈥?which needs to limit burst flow traffic to meet the system capacity, message peak clipping and valley fills, circuit breaking for unreliable downstream services, cluster flow control, etc.
22
22
-**Real-time monitoring**: Sentinel also provides real-time monitoring ability. You can see the runtime information of a single machine in real-time, and the aggregated runtime info of a cluster with less than 500 nodes.
23
23
-**Widespread open-source ecosystem**: Sentinel provides out-of-box integrations with commonly-used frameworks and libraries such as Spring Cloud, gRPC, Apache Dubbo and Quarkus. You can easily use Sentinel by simply add the adapter dependency to your services.
24
24
-**Polyglot support**: Sentinel has provided native support for Java, [Go](https://github.com/alibaba/sentinel-golang), [C++](https://github.com/alibaba/sentinel-cpp) and [Rust](https://github.com/sentinel-group/sentinel-rust).
@@ -35,7 +35,7 @@ Please refer to [OpenSergo](https://opensergo.io/) for details.
35
35
36
36
See the [Sentinel Website](https://sentinelguard.io/) for the official website of Sentinel.
37
37
38
-
See the [中文文档](https://sentinelguard.io/zh-cn/docs/introduction.html) for document in Chinese.
38
+
See the [涓枃鏂囨。](https://sentinelguard.io/zh-cn/docs/introduction.html) for document in Chinese.
39
39
40
40
See the [Wiki](https://github.com/alibaba/Sentinel/wiki) for full documentation, examples, blog posts, operational details and other information.
41
41
@@ -112,13 +112,13 @@ For more information, please refer to [How To Use](https://sentinelguard.io/en-u
112
112
After running the demo for a while, you can see the following records in `~/logs/csp/${appName}-metrics.log.{date}` (When using the default `DateFileLogHandler`).
p stands for incoming request, block for blocked by rules, s for success handled by Sentinel, e for exception count, rt for average response time (ms), occupied stands for occupiedPassQps since 1.5.0 which enable us booking more than 1 shot when entering.
124
124
```
@@ -160,9 +160,9 @@ You can start with the issues labeled with [`good first issue`](https://github.c
160
160
161
161
## Enterprise Service
162
162
163
-
If you need Sentinel enterprise service support (Sentinel 企业版), or purchase cloud product services,
163
+
If you need Sentinel enterprise service support (Sentinel 浼佷笟鐗?, or purchase cloud product services,
164
164
you can join the discussion by the DingTalk group (34754806). It can also be directly activated
165
-
and used through the [microservice engine (MSE 微服务引擎) provided by Alibaba Cloud](https://cn.aliyun.com/product/aliware/mse?spm=sentinel-github.index.0.0.0).
165
+
and used through the [microservice engine (MSE 寰湇鍔″紩鎿? provided by Alibaba Cloud](https://cn.aliyun.com/product/aliware/mse?spm=sentinel-github.index.0.0.0).
166
166
167
167
## Credits
168
168
@@ -178,13 +178,13 @@ If you are using Sentinel, please [add your company here](https://github.com/ali
| fallback | handle request when it is blocked |`ApacheHttpClientFallback`|`DefaultApacheHttpClientFallback`|
35
+
|name|description|type|default value||------|------------|------|-------||prefix|customize resource prefix|`String`|`httpclient:`||extractor|customize resource extractor|`ApacheHttpClientResourceExtractor`|`DefaultApacheHttpClientResourceExtractor`||fallback|handle request when it is blocked|`ApacheHttpClientFallback`|`DefaultApacheHttpClientFallback`|
| fallback | handle request when it is blocked |`OkHttpFallback`|`DefaultOkHttpFallback`|
29
+
|name|description|type|default value||------|------------|------|-------||resourcePrefix|customized resource name prefix|`String`|`okhttp:`||resourceExtractor|customized resource extractor|`OkHttpResourceExtractor`|`DefaultOkHttpResourceExtractor`||fallback|handle request when it is blocked|`OkHttpFallback`|`DefaultOkHttpFallback`|
- Common configuration in `SentinelWebMvcConfig` and `SentinelWebMvcTotalConfig`:
93
93
94
-
| name | description | type | default value |
95
-
| ------ | ------------ | ------ | ------- |
96
-
|`blockExceptionHandler`| The handler that handles the block request |`BlockExceptionHandler`| null (throw out the BlockException) |
97
-
|`originParser`| Extracting request origin (e.g. IP or appName from HTTP Header) from HTTP request |`RequestOriginParser`| - |
98
-
99
-
-`SentinelWebMvcConfig` configuration:
100
-
101
-
| name | description | type | default value |
102
-
| ------ | ------------ | ------ | ------- |
103
-
| urlCleaner | The `UrlCleaner` interface is designed for clean and unify the URL resource. |`UrlCleaner`| - |
104
-
| requestAttributeName | Attribute key in request used by Sentinel (internal) |`String`|`$$sentinel_spring_web_entry_attr`|
105
-
| httpMethodSpecify | Specify whether the URL resource name should contain the HTTP method prefix (e.g. `POST:`). |`boolean`|`false`|
106
-
| webContextUnify | Specify whether unify web context(i.e. use the default context name). |`boolean`|`true`|
107
-
108
-
-`SentinelWebMvcTotalConfig` configuration:
109
-
110
-
| name | description | type | default value |
111
-
| ------ | ------------ | ------ | ------- |
112
-
| totalResourceName | The resource name in `SentinelTotalInterceptor`|`String`|`spring-mvc-total-url-request`|
113
-
| requestAttributeName | Attribute key in request used by Sentinel (internal) |`String`|`$$sentinel_spring_web_total_entry_attr`|
94
+
|name|description|type|default value||------|------------|------|-------||`blockExceptionHandler`|The handler that handles the block request|`BlockExceptionHandler`|null (throw out the BlockException)||`originParser`|Extracting request origin (e.g. IP or appName from HTTP Header) from HTTP request|`RequestOriginParser`|-|- `SentinelWebMvcConfig` configuration:|name|description|type|default value||------|------------|------|-------||urlCleaner|The `UrlCleaner` interface is designed for clean and unify the URL resource.|`UrlCleaner`|-||requestAttributeName|Attribute key in request used by Sentinel (internal)|`String`|`$$sentinel_spring_web_entry_attr`||httpMethodSpecify|Specify whether the URL resource name should contain the HTTP method prefix (e.g. `POST:`).|`boolean`|`false`||webContextUnify|Specify whether unify web context(i.e. use the default context name).|`boolean`|`true`|- `SentinelWebMvcTotalConfig` configuration:|name|description|type|default value||------|------------|------|-------||totalResourceName|The resource name in `SentinelTotalInterceptor`|`String`|`spring-mvc-total-url-request`||requestAttributeName|Attribute key in request used by Sentinel (internal)|`String`|`$$sentinel_spring_web_total_entry_attr`|
Copy file name to clipboardExpand all lines: sentinel-cluster/sentinel-cluster-server-envoy-rls/README.md
+2-6Lines changed: 2 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# Sentinel Token Server (Envoy RLS implementation)
1
+
# Sentinel Token Server (Envoy RLS implementation)
2
2
3
3
This module provides the [Envoy rate limiting gRPC service](https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/other_features/global_rate_limiting#arch-overview-rate-limit) implementation
4
4
with Sentinel token server.
@@ -50,11 +50,7 @@ We may also retrieve the converted `FlowRule` via the command API `localhost:871
| `SENTINEL_RLS_GRPC_PORT` | `csp.sentinel.grpc.server.port` | The RLS gRPC server port | **10240** | false |
56
-
| `SENTINEL_RLS_RULE_FILE_PATH` | `csp.sentinel.rls.rule.file` | The path of the RLS rule yaml file | - | **true** |
57
-
| `SENTINEL_RLS_ACCESS_LOG` | - | Whether to enable the access log (`on` for enable) | off | false |
53
+
|Item (env)|Item (JVM property)|Description|Default Value|Required||--------|--------|--------|--------|--------||`SENTINEL_RLS_GRPC_PORT`|`csp.sentinel.grpc.server.port`|The RLS gRPC server port|**10240**|false||`SENTINEL_RLS_RULE_FILE_PATH`|`csp.sentinel.rls.rule.file`|The path of the RLS rule yaml file|-|**true**||`SENTINEL_RLS_ACCESS_LOG`|-|Whether to enable the access log (`on` for enable)|off|false|
0 commit comments