This repository was archived by the owner on Aug 30, 2019. It is now read-only.
Commit 2baa5f1 1 parent cf995d1 commit 2baa5f1 Copy full SHA for 2baa5f1
File tree 3 files changed +3
-7
lines changed
3 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ type AgentConfig struct {
74
74
// watchdog
75
75
MaxMemory float64 // MaxMemory is the threshold (bytes allocated) above which program panics and exits, to be restarted
76
76
MaxCPU float64 // MaxCPU is the max UserAvg CPU the program should consume
77
- MaxConnections int // MaxConnections is the threshold (opened TCP connections) above which program panics and exits, to be restarted
77
+ MaxConnections int // (deprecated) MaxConnections is the threshold (opened TCP connections) above which program panics and exits, to be restarted
78
78
WatchdogInterval time.Duration // WatchdogInterval is the delay between 2 watchdog checks
79
79
80
80
// http/s proxying
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ const (
14
14
envAPIKey = "DD_API_KEY" // API KEY
15
15
envAPMEnabled = "DD_APM_ENABLED" // APM enabled
16
16
envURL = "DD_APM_DD_URL" // APM URL
17
- envProxyDeprecated = "HTTPS_PROXY" // proxy URL (deprecated)
17
+ envProxyDeprecated = "HTTPS_PROXY" // (deprecated) proxy URL
18
18
envProxy = "DD_PROXY_HTTPS" // proxy URL (overrides deprecated)
19
19
envHostname = "DD_HOSTNAME" // agent hostname
20
20
envBindHost = "DD_BIND_HOST" // statsd & receiver hostname
@@ -24,7 +24,7 @@ const (
24
24
envIgnoreResources = "DD_IGNORE_RESOURCE" // ignored resources
25
25
envLogLevel = "DD_LOG_LEVEL" // logging level
26
26
envAnalyzedSpans = "DD_APM_ANALYZED_SPANS" // spans to analyze for transactions
27
- envConnectionLimit = "DD_CONNECTION_LIMIT" // limit of unique connections
27
+ envConnectionLimit = "DD_CONNECTION_LIMIT" // (deprecated) limit of unique connections
28
28
)
29
29
30
30
// loadEnv applies overrides from environment variables to the trace agent configuration
Original file line number Diff line number Diff line change @@ -85,10 +85,6 @@ apm_config:
85
85
# # Maximum CPU percentage allowed to be occupied by the trace agent
86
86
# # The agent will be killed if this number is surpassed.
87
87
# max_cpu_percent: 0.5
88
- #
89
- # # Maximum number of simultaenous connections allowed by the agent.
90
- # # The agent will be killed if this number is surpassed.
91
- # max_connection: 200
92
88
#
93
89
# # Defines obfuscation rules for sensitive data. Disabled by default.
94
90
# obfuscation:
You can’t perform that action at this time.
0 commit comments