File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 88 mw = TraceMiddleware(tracer, 'my-falcon-app', distributed_tracing=True)
99 falcon.API(middleware=[mw])
1010
11- You can also use the autopatching functionality:
11+ You can also use the autopatching functionality::
1212
1313 import falcon
1414 from ddtrace import tracer, patch
1818 app = falcon.API()
1919
2020To enable distributed tracing when using autopatching, set the
21- DATADOG_FALCON_DISTRIBUTED_TRACING environment variable to true .
21+ `` DATADOG_FALCON_DISTRIBUTED_TRACING`` environment variable to ``True`` .
2222"""
2323from ...utils .importlib import require_modules
2424
Original file line number Diff line number Diff line change 2121* ``datadog_trace_enabled``: sets if the Tracer is enabled or not
2222* ``datadog_distributed_tracing``: set it to ``True`` to enable Distributed Tracing
2323
24- If you use the ' pyramid.tweens' settings value to set the tweens for your
25- application, you need to add ' ddtrace.contrib.pyramid:trace_tween_factory'
24+ If you use the `` pyramid.tweens`` settings value to set the tweens for your
25+ application, you need to add `` ddtrace.contrib.pyramid:trace_tween_factory``
2626explicitly to the list. For example::
2727
2828 settings = {
You can’t perform that action at this time.
0 commit comments