def _get_exporter(self, args: argparse.Namespace) -> PrometheusExporter:
exporter = PrometheusExporter(<EOL>self.name, self.description, args.host, args.port, self.registry)<EOL>exporter.app.on_startup.append(self.on_application_startup)<EOL>exporter.app.on_shutdown.append(self.on_application_shutdown)<EOL>return exporter<EOL>
Return a :class:`PrometheusExporter` configured with args.