Skip to content

Commit 8306e72

Browse files
author
Emanuele Palazzetti
authored
[docs] minor fixes for Falcon and Pyramid (#459)
1 parent 2eb60a9 commit 8306e72

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

ddtrace/contrib/falcon/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
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
@@ -18,7 +18,7 @@
1818
app = falcon.API()
1919
2020
To 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
"""
2323
from ...utils.importlib import require_modules
2424

ddtrace/contrib/pyramid/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
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``
2626
explicitly to the list. For example::
2727
2828
settings = {

0 commit comments

Comments
 (0)