Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

span context: set the default recorded flag to 0, and fix default trace options bug #474

Merged
4 changes: 2 additions & 2 deletions opencensus/trace/span_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
TRACE_ID_PATTERN = re.compile('[0-9a-f]{32}?')
SPAN_ID_PATTERN = re.compile('[0-9a-f]{16}?')

# Default options, enable tracing
DEFAULT_OPTIONS = 1
# Default options, don't force sampling
DEFAULT_OPTIONS = 0

# Default trace options
DEFAULT = trace_options.TraceOptions(DEFAULT_OPTIONS)
Expand Down