Skip to content

Commit

Permalink
Fix a few issues with the Django example (#915)
Browse files Browse the repository at this point in the history
  • Loading branch information
ocelotl authored Jul 15, 2020
1 parent 5d82b0a commit 2a952b3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion docs/examples/django/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Open up a new console and activate the previous virtual environment there too:

``source django_auto_instrumentation/bin/activate``

Go to ``opentelemetry-python/ext/opentelemetry-ext-django/example``, once there
Go to ``opentelemetry-python/docs/examples/django``, once there
run the client with:

``python client.py hello``
Expand Down
1 change: 0 additions & 1 deletion docs/examples/django/pages/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
)

trace.set_tracer_provider(TracerProvider())
tracer = trace.get_tracer_provider().get_tracer(__name__)

trace.get_tracer_provider().add_span_processor(
SimpleExportSpanProcessor(ConsoleSpanExporter())
Expand Down

0 comments on commit 2a952b3

Please sign in to comment.