Skip to content

Commit

Permalink
fix code blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
mattbennett committed Jul 28, 2015
1 parent 9c35931 commit da9f726
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,24 @@ Extension for `nameko <http://nameko.readthedocs.org>`_ that sends entrypoint ex
Usage
-----

Add your sentry DSN and optional client configuration to your nameko config file::
Add your sentry DSN and optional client configuration to your nameko config file:

.. code-block:: yaml
# config.yaml
SENTRY:
DSN: ...
CLIENT_CONFIG:
site: "my site name:
site: "my site name"
processors:
- myapp.processors.SanitizePasswordsProcessor
...
Include the ``SentryReporter`` dependency in your service class:

.. code-block:: python
# service.py
from nameko.web.handlers import http
from nameko_sentry import SentryReporter
Expand Down

0 comments on commit da9f726

Please sign in to comment.