Skip to content
This repository was archived by the owner on Sep 17, 2025. It is now read-only.

Commit ccbbb6d

Browse files
geobeausongy23
authored andcommitted
Update documentation for configuration (#435)
1 parent ce97c25 commit ccbbb6d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,11 +223,11 @@ for a Flask application:
223223
blacklist_paths = ['_ah/health']
224224
middleware = FlaskMiddleware(app, blacklist_paths=blacklist_paths)
225225
226-
For Django, you can configure the blacklist in the ``OPENCENSUS_PARAMS`` in ``settings.py``:
226+
For Django, you can configure the blacklist in the ``OPENCENSUS_TRACE_PARAMS`` in ``settings.py``:
227227

228228
.. code:: python
229229
230-
OPENCENSUS_PARAMS: {
230+
OPENCENSUS_TRACE_PARAMS: {
231231
...
232232
'BLACKLIST_PATHS': ['_ah/health',],
233233
}

docs/trace/usage.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,11 +166,11 @@ for a Flask application:
166166
blacklist_paths = ['_ah/health']
167167
middleware = FlaskMiddleware(app, blacklist_paths=blacklist_paths)
168168
169-
For Django, you can configure the blacklist in the ``OPENCENSUS_PARAMS`` in ``settings.py``:
169+
For Django, you can configure the blacklist in the ``OPENCENSUS_TRACE_PARAMS`` in ``settings.py``:
170170

171171
.. code:: python
172172
173-
OPENCENSUS_PARAMS: {
173+
OPENCENSUS_TRACE_PARAMS: {
174174
...
175175
'BLACKLIST_PATHS': ['_ah/health',],
176176
}

0 commit comments

Comments
 (0)