init(registry) {
		super.init(registry);

		this.server = http.createServer();
		this.server.on("request", this.handler.bind(this));
		this.server.listen(this.opts.port, this.opts.host, err => {
			if (err) {
				/* istanbul ignore next */
				return this.registry.broker.fatal(
					new MoleculerError("Prometheus metric reporter listening error: " + err.message)
				);
			}

			this.logger.info(
				`Prometheus metric reporter listening on http://${this.server.address().address}:${
					this.server.address().port
				}${this.opts.path} address.`
			);
		});
		this.defaultLabels = isFunction(this.opts.defaultLabels)
			? this.opts.defaultLabels.call(this, registry)
			: this.opts.defaultLabels;
	}
Initialize reporter
@param {MetricRegistry} registry
@memberof PrometheusReporter