Skip to content

Commit

Permalink
[Server] fix proto default value
Browse files Browse the repository at this point in the history
  • Loading branch information
roryye authored and SongZhen0704 committed Sep 1, 2023
1 parent d01d9be commit a8346a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion message/trident.proto
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ message Config {
repeated uint32 l7_log_store_tap_types = 403;
optional bool l4_performance_enabled = 404 [default = true];
optional bool l7_metrics_enabled = 405 [default = true];
optional bool external_agent_http_proxy_enabled = 406 [default = false]; // 外部Agent数据HTTP代理开关
optional bool external_agent_http_proxy_enabled = 406 [default = true]; // 外部Agent数据HTTP代理开关
optional uint32 external_agent_http_proxy_port = 407 [default = 38086]; // 外部Agent数据HTTP代理端口
// _ = 408; // deprecated. 408 was once occupied by prometheus_http_api_address.
repeated string prometheus_http_api_addresses = 409;
Expand Down
2 changes: 1 addition & 1 deletion server/controller/common/vtap_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ var (
DefaultSysFreeMemoryLimit = 0
DefaultLogFileSize = 1000
DefaultHTTPLogXRequestID = "X-Request-ID"
DefaultExternalAgentHTTPProxyEnabled = 1
DefaultExternalAgentHTTPProxyEnabled = 1 // 外部Agent数据HTTP代理开关
DefaultExternalAgentHTTPProxyPort = 38086
DefaultPrometheusHttpAPIAddresses = ""
DefaultAnalyzerPort = 30033
Expand Down

0 comments on commit a8346a6

Please sign in to comment.