Skip to content

Commit 937644d

Browse files
author
Emanuele Palazzetti
committed
[docs] update pyramid documentation
1 parent 9db9ef7 commit 937644d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ddtrace/contrib/pyramid/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,17 @@
1717
1818
Available settings are:
1919
20-
* `datadog_trace_service`: change the `pyramid` service name
21-
* `datadog_trace_enabled`: sets if the Tracer is enabled or not
22-
* `datadog_distributed_tracing`: set it to `True` to enable Distributed Tracing
20+
* ``datadog_trace_service``: change the `pyramid` service name
21+
* ``datadog_trace_enabled``: sets if the Tracer is enabled or not
22+
* ``datadog_distributed_tracing``: set it to ``True`` to enable Distributed Tracing
2323
2424
If you use the 'pyramid.tweens' settings value to set the tweens for your
2525
application, you need to add 'ddtrace.contrib.pyramid:trace_tween_factory'
2626
explicitly to the list. For example::
2727
2828
settings = {
2929
'datadog_trace_service' : 'my-web-app-name',
30-
'pyramid.tweens', 'your_tween_no_1\nyour_tween_no_2\nddtrace.contrib.pyramid:trace_tween_factory',
30+
'pyramid.tweens', 'your_tween_no_1\\nyour_tween_no_2\\nddtrace.contrib.pyramid:trace_tween_factory',
3131
}
3232
3333
config = Configurator(settings=settings)

0 commit comments

Comments
 (0)