code: def configure_telemetry(app: FastAPI):
      message = "\n"
      message += inspect.cleandoc(
          """
          Argilla uses telemetry to report anonymous usage and error information.
  
          You can know more about what information is reported at:
  
              https://docs.argilla.io/en/latest/reference/telemetry.html
  
          Telemetry is currently enabled. If you want to disable it, you can configure
          the environment variable before relaunching the server:
      """
      )
      message += "\n\n    "
      message += (
          "#set ARGILLA_ENABLE_TELEMETRY=0"
          if os.name == "nt"
          else "$>export ARGILLA_ENABLE_TELEMETRY=0"
      )
      message += "\n"
  
      @app.on_event("startup")
      async def check_telemetry():
          if settings.enable_telemetry:
              print(message, flush=True)
  
imports: import contextlib
  import glob
  import inspect
  import logging
  import os
  import shutil
  import tempfile
  from pathlib import Path
  import backoff
  from brotli_asgi import BrotliMiddleware
  from fastapi import FastAPI
  from fastapi.exceptions import RequestValidationError
  from starlette.middleware.cors import CORSMiddleware
  from starlette.responses import RedirectResponse
  from argilla import __version__
  from argilla.logging import configure_logging
  from argilla.server import helpers
  from argilla.server.constants import DEFAULT_API_KEY, DEFAULT_PASSWORD, DEFAULT_USERNAME
  from argilla.server.contexts import accounts
  from argilla.server.daos.backend import GenericElasticEngineBackend
  from argilla.server.daos.backend.base import GenericSearchError
  from argilla.server.daos.datasets import DatasetsDAO
  from argilla.server.daos.records import DatasetRecordsDAO
  from argilla.server.database import get_async_db
  from argilla.server.errors import APIErrorHandler, BadRequestError, ClosedDatasetError, EntityAlreadyExistsError, EntityNotFoundError, ForbiddenOperationError, InvalidTextSearchError, MissingInputParamError, UnauthorizedError, WrongTaskError
  from argilla.server.models import User
  from argilla.server.pydantic_v1 import ValidationError
  from argilla.server.pydantic_v1.errors import ConfigError
  from argilla.server.routes import api_router
  from argilla.server.security import auth
  from argilla.server.settings import settings
  from argilla.server.static_rewrite import RewriteStaticFiles
label_desc: Use image node_id 9 for calling a global function with example usage: configure_telemetry(app) without return types