Skip to content

Commit 7c2ceba

Browse files
authored
docs: Remove unnecessary Flask app (#570)
The current auto instrumentation example includes an unnecessary Flask app in its client.
1 parent 08b100f commit 7c2ceba

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

docs/examples/auto-instrumentation/client.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
from sys import argv
1616

17-
from flask import Flask
1817
from requests import get
1918

2019
from opentelemetry import propagators, trace
@@ -24,8 +23,6 @@
2423
SimpleExportSpanProcessor,
2524
)
2625

27-
app = Flask(__name__)
28-
2926
trace.set_tracer_provider(TracerProvider())
3027
tracer = trace.get_tracer_provider().get_tracer(__name__)
3128

0 commit comments

Comments
 (0)