docs: Remove unnecessary Flask app
The current auto instrumentation example includes an unnecessary Flask app in its client.
from sys import argv
-from flask import Flask
from requests import get
from opentelemetry import propagators, trace
@@ -24,8 +23,6 @@ from opentelemetry.sdk.trace.export import (
SimpleExportSpanProcessor,
)
-app = Flask(__name__)
-
trace.set_tracer_provider(TracerProvider())
tracer = trace.get_tracer_provider().get_tracer(__name__)
