diff options
author | Julien Desprez <jdesprez@google.com> | 2018-10-22 11:37:22 -0700 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-10-22 11:37:22 -0700 |
commit | 13217871fefa43f6d16fbb31b04e9904996d87d5 (patch) | |
tree | ede84fcf0a9687d4907ae5f8a4788271d62e0922 /contrib/agent/src/main/resources/reference.conf | |
parent | cfbefd32336596ea63784607e4106dc37ce0567f (diff) | |
parent | 6fbc3cf5a1a3369fd354c1e5d9f90c86e4bce0a4 (diff) | |
download | opencensus-java-13217871fefa43f6d16fbb31b04e9904996d87d5.tar.gz |
Merge remote-tracking branch 'aosp/upstream-master' into merge am: dd3cabeacc
am: 6fbc3cf5a1
Change-Id: I11b0ec1cf561d2a14da78e444b1594f167787fe6
Diffstat (limited to 'contrib/agent/src/main/resources/reference.conf')
-rw-r--r-- | contrib/agent/src/main/resources/reference.conf | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/contrib/agent/src/main/resources/reference.conf b/contrib/agent/src/main/resources/reference.conf new file mode 100644 index 00000000..e1781248 --- /dev/null +++ b/contrib/agent/src/main/resources/reference.conf @@ -0,0 +1,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 + } + } +} |