def METHOD_NAME(initializer: Optional[Callable[[], None]], tags: Tags) -> None:
    from sentry.runner import configure
    configure()
    if initializer:
        initializer()
    from sentry.metrics.middleware import add_global_tags
    # Inherit global tags from the parent process
    add_global_tags(_all_threads=True, **tags)