Skip to content

Commit

Permalink
Fix python instrumentation typos (#1346)
Browse files Browse the repository at this point in the history
  • Loading branch information
Folyd authored May 16, 2022
1 parent dfdff08 commit 614ad7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/en/docs/instrumentation/python/manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ To create a span, you'll typically want it to be started as the current span.
with tracer.start_as_current_span("span-name") as span:
# do some work that 'span' will track

# When the 'while' block goes out of scope, 'span' is closed for you
# When the 'with' block goes out of scope, 'span' is closed for you
```

You can also use `start_span` to create a span without making it the current
Expand Down Expand Up @@ -102,7 +102,7 @@ current_span.set_attribute("operation.other-stuff", [1, 2, 3])

## Adding events

AN event is a human-readable message on a span that represents "something
An event is a human-readable message on a span that represents "something
happening" during its lifetime. You can think of it as a primitive log.

```python
Expand Down

0 comments on commit 614ad7c

Please sign in to comment.