Skip to content

Commit 7329db5

Browse files
weiqiangSongZhen0704
authored andcommitted
[Server] fix proto default value
1 parent 86fbe48 commit 7329db5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

message/trident.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ message Config {
265265
repeated uint32 l7_log_store_tap_types = 403;
266266
optional bool l4_performance_enabled = 404 [default = true];
267267
optional bool l7_metrics_enabled = 405 [default = true];
268-
optional bool external_agent_http_proxy_enabled = 406 [default = false]; // 外部Agent数据HTTP代理开关
268+
optional bool external_agent_http_proxy_enabled = 406 [default = true]; // 外部Agent数据HTTP代理开关
269269
optional uint32 external_agent_http_proxy_port = 407 [default = 38086]; // 外部Agent数据HTTP代理端口
270270
// _ = 408; // deprecated. 408 was once occupied by prometheus_http_api_address.
271271
repeated string prometheus_http_api_addresses = 409;

server/controller/common/vtap_config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ var (
140140
DefaultSysFreeMemoryLimit = 0
141141
DefaultLogFileSize = 1000
142142
DefaultHTTPLogXRequestID = "X-Request-ID"
143-
DefaultExternalAgentHTTPProxyEnabled = 1
143+
DefaultExternalAgentHTTPProxyEnabled = 1 // 外部Agent数据HTTP代理开关
144144
DefaultExternalAgentHTTPProxyPort = 38086
145145
DefaultPrometheusHttpAPIAddresses = ""
146146
DefaultAnalyzerPort = 30033

0 commit comments

Comments
 (0)