xref: /aosp_15_r20/external/opencensus-java/contrib/agent/src/main/resources/reference.conf (revision a24ffb47c3166327784aa05b149974e82e8f71b8)
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