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

Commit 7b56070

Browse files
stew-rliyanhui1228
authored andcommitted
Fix typos and the URL to the Requests module on PyPI (#94)
1 parent 8eea1f8 commit 7b56070

1 file changed

Lines changed: 10 additions & 8 deletions

File tree

README.rst

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Installation & basic usage
2626
pip install opencensus
2727
pipenv install opencensus
2828

29-
2. Initialize a tracer for application:
29+
2. Initialize a tracer for your application:
3030

3131
.. code:: python
3232
@@ -131,7 +131,7 @@ Propagators
131131
~~~~~~~~~~~
132132

133133
You can specify the propagator type for serializing and deserializing the
134-
``SpanContex`` and its headers. There are currently two built in propagators:
134+
``SpanContext`` and its headers. There are currently two built in propagators:
135135
``GoogleCloudFormatPropagator`` and ``TextFormatPropagator``.
136136

137137
This example shows how to use the ``GoogleCloudFormatPropagator``:
@@ -182,7 +182,7 @@ For Django, you can configure the blacklist in the ``OPENCENSUS_PARAMS`` in ``se
182182
Framework Integration
183183
---------------------
184184

185-
Opencensus supports integration with popular web frameworks including
185+
Census supports integration with popular web frameworks including
186186
Django, Flask, and Webapp2. When the application receives a HTTP request,
187187
the tracer will automatically generate a span context using the trace
188188
information extracted from the request headers, and propagated to the
@@ -227,7 +227,7 @@ And add this line to the ``INSTALLED_APPS`` section:
227227
'opencensus.trace.ext.django',
228228
]
229229
230-
You can configure the the sampler, exporter, propagator using the ``OPENCENSUS_TRACE`` setting in
230+
You can configure the sampler, exporter, propagator using the ``OPENCENSUS_TRACE`` setting in
231231
``settings.py``:
232232

233233
.. code:: python
@@ -306,22 +306,24 @@ to ``trace_integrations`` using ``'postgresql'``.
306306
SQLAlchemy
307307
~~~~~~~~~~
308308

309-
You can trace usage of `sqlalchemy package`_, regardless of the underlying database, by
310-
specifying ``'sqlalchemy'`` to ``trace_integrations``.
309+
You can trace usage of the `sqlalchemy package`_, regardless of the underlying
310+
database, by specifying ``'sqlalchemy'`` to ``trace_integrations``.
311311

312312
.. _SQLAlchemy package: https://pypi.org/project/SQLAlchemy
313313

314-
.. note:: If you enable tracing of SQLAlchemy and the underlying database
314+
.. note:: If you enable tracing of SQLAlchemy as well as the underlying database
315315
driver, you will get duplicate spans. Instead, just trace SQLAlchemy.
316316

317317
Requests
318318
~~~~~~~~
319319

320-
Census can trace HTTP requests made with the `Requests`_ library. The request URL,
320+
Census can trace HTTP requests made with the `Requests package`_. The request URL,
321321
method, and status will be collected.
322322

323323
You can enable Requests integration by specifying ``'requests'`` to ``trace_integrations``.
324324

325+
.. _Requests package: https://pypi.python.org/pypi/requests
326+
325327

326328
Contributing
327329
------------

0 commit comments

Comments
 (0)