aboutsummaryrefslogtreecommitdiff
path: root/contrib/agent/src/main/resources/reference.conf
blob: e17812482c51716f71f66a81ca3d0ef08f5a4aaf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Reference configuration for the OpenCensus Agent for Java.

opencensus.contrib.agent {

  # Configuration settings related to automatic context propagation.
  context-propagation {

    # Enable/disable automatic context propagation for Executors.
    executor.enabled = true

    # Enable/disable automatic context propagation for Threads.
    thread.enabled = true
  }

  # The "trace" section configures which Java methods the agent instruments for
  # tracing.
  trace {

    java.net.URL.getContent {
      enabled = true
    }
  }
}