This repository was archived by the owner on Sep 17, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
contrib/opencensus-ext-pyramid/examples/app Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ def main(global_config, **settings):
3737 config .add_route ('hello' , '/' )
3838 config .add_route ('trace_requests' , '/requests' )
3939
40- config .add_tween ('opencensus.trace. ext.pyramid'
40+ config .add_tween ('opencensus.ext.pyramid'
4141 '.pyramid_middleware.OpenCensusTweenFactory' ,
4242 over = MAIN )
4343
Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ for a Flask application:
159159
160160.. code :: python
161161
162- from opencensus.trace. ext.flask.flask_middleware import FlaskMiddleware
162+ from opencensus.ext.flask.flask_middleware import FlaskMiddleware
163163
164164 app = flask.Flask(__name__ )
165165
@@ -195,7 +195,7 @@ requests will be automatically traced.
195195
196196.. code :: python
197197
198- from opencensus.trace. ext.flask.flask_middleware import FlaskMiddleware
198+ from opencensus.ext.flask.flask_middleware import FlaskMiddleware
199199
200200 app = flask.Flask(__name__ )
201201
@@ -265,7 +265,7 @@ traced.
265265 def main (global_config , ** settings ):
266266 config = Configurator(settings = settings)
267267
268- config.add_tween(' opencensus.trace. ext.pyramid'
268+ config.add_tween(' opencensus.ext.pyramid'
269269 ' .pyramid_middleware.OpenCensusTweenFactory' )
270270
271271 To configure the sampler, exporter, and propagator, pass the instances
You can’t perform that action at this time.
0 commit comments