tencent cloud

Service Registry and Governance

Global configuration

PDF
フォーカスモード
フォントサイズ
最終更新日: 2026-05-07 17:21:35
Cloud Native Gateway supports using global configurations to store configuration content for configuring traffic throttling rules or grayscale release policies.
Traffic throttling configuration: uses global configurations to define traffic throttling thresholds for different parameter values to achieve refined flow control.
Grayscale release configuration: used to configure the grayscale release list. When a grayscale release rule is configured and Logical Relationship is set to IN or NOT IN, Parameter Value can be set to Global configuration.

Operation steps

Creating a Global Configuration

2. In the left sidebar, choose Cloud Native Intelligent Gateway > Service & Route, and then select a gateway instance at the top of the page.
3. Select the Global Configuration tab and click Create. You can directly enter the configuration content, or download a template, specify the information, import it to the console, and submit it.
Traffic throttling configuration: JSON format, used to configure the threshold for refined traffic throttling.
The refined traffic throttling threshold applies to scenarios in which different throttling parameters have different traffic throttling thresholds. For example, traffic throttling is performed based on the request parameter appid. When appid is set to 1, only 100 requests can be sent every minute. When appid is set to 2, only 200 requests can be sent every minute.
The refined traffic throttling threshold can be configured only after an ordinary traffic throttling threshold is configured. The ordinary traffic throttling threshold is used as the default traffic throttling threshold when the specified request parameter is not matched.
The refined traffic throttling threshold is defined using a global configuration and described in JSON format. Configure it in the format of traffic throttling key:traffic throttling threshold, and use underscores (_) to connect all traffic throttling parameter values in sequence as the traffic throttling key. For example, when traffic throttling is performed based on the query parameter appid and appid is set to 1, the traffic throttling threshold is 100. When appid is set to 2, the traffic throttling threshold is 200. The global configuration is as follows:
{
"1": 100,
"2": 200
}
Grayscale release configuration: text format, used to configure the grayscale release list, with commas, semicolons, spaces, or line breaks as separators. When a grayscale release rule is configured and Logical Relationship is set to IN or NOT IN, Parameter Value can be set to Manually entered or Global configuration.
4. Click Confirm to complete the rule creation.

next steps

After the global configuration is created, it can be used to configure traffic throttling rules or grayscale release policies. For detailed operation steps, see:


ヘルプとサポート

この記事はお役に立ちましたか?

フィードバック