Last active
March 3, 2016 22:10
-
-
Save adam-hert/88a75b07e8f706a5d908 to your computer and use it in GitHub Desktop.
Python_Start_Trace
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import oboe | |
from oboeware import loader | |
loader.load_inst_modules() | |
oboe.config['tracing_mode'] = 'always' | |
#start a trace | |
oboe.start_trace('Backend', keys=None, xtr=None) | |
# Do some 'work' | |
time.sleep(1) | |
message = 'World' | |
# End trace | |
trace_context = oboe.end_trace('Backend') | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment