title: TypeError: get_tracer() takes from 2 to 3 positional arguments but 4 were given
body: <p>I'm trying to set up OpenTelemetry so I can gather some traces for a Flask app and I'm running into an error with the instrument_app() method from opentelemetry-instrumentation-flask. This is what my __init__.py up to the error looks like:</p>
  <pre><code>from flask import Flask
  from .config import Config
  from flask_sqlalchemy import SQLAlchemy
  from flask_migrate import Migrate
  from flask_login import LoginManager
  from prometheus_flask_exporter import PrometheusMetrics
  from opentelemetry import trace
  from opentelemetry.instrumentation.flask import FlaskInstrumentor 
  from opentelemetry.instrumentation.requests import RequestsInstrumentor
  from opentelemetry.sdk.trace import TracerProvider
  from opentelemetry.sdk.trace.export import (
      BatchSpanProcessor,
      ConsoleSpanExporter,
  )
  
  
  trace.set_tracer_provider(TracerProvider())
  trace.get_tracer_provider().add_span_processor(
      BatchSpanProcessor(ConsoleSpanExporter())
  )
  
  app = Flask(__name__)
  
  FlaskInstrumentor().instrument_app(app)
  </code></pre>
  <p>When FlaskInstrumentor().instrument_app(app) is run I get ther error: get_tracer() takes 2 to 3 positional arguments but 4 were given. If anyone has a solution or advice to troubleshoot it I would be very grateful. The stack looks like this:</p>
  <pre><code>  File &quot;C:\Test_projects\flask_project\microblog\app\__init__.py&quot;, line 24, in &lt;module&gt;
      FlaskInstrumentor().instrument_app(app)
    File &quot;C:\Users\Tom Work\.virtualenvs\flask_project-AbPFWuIL\lib\site-packages\opentelemetry\instrumentation\flask\__init__.py&quot;, line 338, in instrument_app
      tracer = trace.get_tracer(__name__, __version__, tracer_provider)
    File &quot;C:\Users\Tom Work\.virtualenvs\flask_project-AbPFWuIL\lib\site-packages\opentelemetry\trace\__init__.py&quot;, line 494, in get_tracer
      return tracer_provider.get_tracer(
  TypeError: get_tracer() takes from 2 to 3 positional arguments but 4 were given
  </code></pre>