Skip to content

Commit 2bf2de0

Browse files
authored
docs(otel): fix formatting [backport #5651 to 1.12] (#5680)
Backports: #5651 ## Checklist - [x] Change(s) are motivated and described in the PR description. - [x] Testing strategy is described if automated tests are not included in the PR. - [x] Risk is outlined (performance impact, potential for breakage, maintainability, etc). - [x] Change is maintainable (easy to change, telemetry, documentation). - [x] [Library release note guidelines](https://ddtrace.readthedocs.io/en/stable/contributing.html#Release-Note-Guidelines) are followed. - [x] Documentation is included (in-code, generated user docs, [public corp docs](https://github.com/DataDog/documentation/)). - [x] PR description includes explicit acknowledgement/acceptance of the performance implications of this PR as reported in the benchmarks PR comment. ## Reviewer Checklist - [x] Title is accurate. - [x] No unnecessary changes are introduced. - [x] Description motivates each change. - [x] Avoids breaking [API](https://ddtrace.readthedocs.io/en/stable/versioning.html#interfaces) changes unless absolutely necessary. - [x] Testing strategy adequately addresses listed risk(s). - [x] Change is maintainable (easy to change, telemetry, documentation). - [x] Release note makes sense to a user of the library. - [x] Reviewer has explicitly acknowledged and discussed the performance implications of this PR as reported in the benchmarks PR comment.
1 parent 9d641a6 commit 2bf2de0

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

ddtrace/opentelemetry/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
When using ``ddtrace-run``, OpenTelemetry support can be enabled by setting
1717
the ``DD_TRACE_OTEL_ENABLED`` environment variable (the default value is ``False``).
1818
19-
OpenTelemetry support can be programmatically enabled by setting the ``OTEL_PYTHON_CONTEXT``environment variable
19+
OpenTelemetry support can be programmatically enabled by setting the ``OTEL_PYTHON_CONTEXT`` environment variable
2020
to ``ddcontextvars_context`` and setting the ``ddtrace.opentelemetry.TracerProvider``. These configurations
2121
must be set before any OpenTelemetry Tracers are initialized::
2222
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
other:
3+
- |
4+
otel: Fixes code formatting in api docs

0 commit comments

Comments
 (0)