Skip to content

Commit

Permalink
docs: Fix django example typos (#178)
Browse files Browse the repository at this point in the history
## Which problem is this PR solving?
Fixes a couple of typos in the Django example added in the following PR:
- #176 

## Short description of the changes
- Fix typos
- Update run command to match previous example

## How to verify that this has the expected result
Django example doesn't contain typos and commands execute as expected.
  • Loading branch information
MikeGoldsmith authored Feb 15, 2024
1 parent adeabde commit 6a31d89
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/hello-world-django/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Then navigate to http://127.0.0.1:8000 as shown in the command output and you sh
## Distro Instrumentation Example

This app uses configuration configures the OpenTelemetry SDK programmatically in [manage.py](./manage.py).
Alternitively, you can use environment variables as parameters like below:
Alternatively, you can use environment variables as parameters like below:

```python
configure_opentelemetry(
Expand All @@ -37,12 +37,12 @@ configure_opentelemetry(
)
```

This app will send traces to local console with the configured `debug=True`.
Note: With `debug` set to `True`, spans will also be printed to stdout.

To send to Honeycomb, set your API Key:

```bash
HONEYCOMB_API_KEY="your-api-key" poetry run python3 app.py
HONEYCOMB_API_KEY="your-api-key" poetry run python manage.py runserver
```

You can configure exporter protocol with this flag:
Expand Down

0 comments on commit 6a31d89

Please sign in to comment.