def ready(self):
SetupPrometheusExportsFromConfig()<EOL>if getattr(settings, '<STR_LIT>', True):<EOL><INDENT>ExportMigrations()<EOL><DEDENT>
Initializes the Prometheus exports if they are enabled in the config.

        Note that this is called even for other management commands
        than `runserver`. As such, it is possible to scrape the
        metrics of a running `manage.py test` or of another command,
        which shouldn't be done for real monitoring (since these jobs
        are usually short-lived), but can be useful for debugging.