1# Reference configuration for the OpenCensus Agent for Java. 2 3opencensus.contrib.agent { 4 5 # Configuration settings related to automatic context propagation. 6 context-propagation { 7 8 # Enable/disable automatic context propagation for Executors. 9 executor.enabled = true 10 11 # Enable/disable automatic context propagation for Threads. 12 thread.enabled = true 13 } 14 15 # The "trace" section configures which Java methods the agent instruments for 16 # tracing. 17 trace { 18 19 java.net.URL.getContent { 20 enabled = true 21 } 22 } 23} 24