Skip to content

Simple prototype to show to instrument azure libraries using opencensus

Notifications You must be signed in to change notification settings

johanste/opencensus_azure_integration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple example on how to instrument azure libraries using opencensus.

Example:

from opencensus.trace import tracer as tracer_module, config_integration


# Initialize a tracer, by default using the `PrintExporter`
tracer = tracer_module.Tracer()
config_integration.trace_configurations(['azure.msrest', 'azure.storage'], tracer=tracer)
tracer.span(name='main')

# Do stuff
print('doing stuff')

tracer.end_span()

About

Simple prototype to show to instrument azure libraries using opencensus

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages