diff --git a/config/config.go b/config/config.go index 1bd4eb17..51dcd7ab 100644 --- a/config/config.go +++ b/config/config.go @@ -675,6 +675,10 @@ func mergeEnvironmentVariables(c *AgentConfig) *AgentConfig { c.EnableIncrementalPublishing = ok } + if ok, _ := isAffirmative(os.Getenv("STS_PROTOCOL_INSPECTION_ENABLED")); ok { + c.NetworkTracer.EnableProtocolInspection = ok + } + var patterns []string amountTopCPUPercentageUsage, amountTopIOReadUsage, amountTopIOWriteUsage, amountTopMemoryUsage := 0, 0, 0, 0 CPUPercentageUsageThreshold, memoryUsageThreshold := 0, 0