Skip to content

Commit

Permalink
Update getting-started.md fix trace example (#3591)
Browse files Browse the repository at this point in the history
  • Loading branch information
lzchen authored Nov 22, 2023
1 parent 95110d9 commit 6e7cf1a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions content/en/docs/instrumentation/python/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,8 @@ create a trace that's a child of the one that's automatically generated:
from random import randint
from flask import Flask

from opentelemetry import trace

# Acquire a tracer
tracer = trace.get_tracer("diceroller.tracer")

Expand Down

0 comments on commit 6e7cf1a

Please sign in to comment.