constructor(opts) {
		super(opts);

		this.opts = _.defaultsDeep(this.opts, {
			port: 3030,
			path: "/metrics",
			defaultLabels: registry => ({
				namespace: registry.broker.namespace,
				nodeID: registry.broker.nodeID
			})
		});

		if (!this.opts.host && this.opts.port !== 0) {
			this.opts.host = "0.0.0.0";
		}
		if (this.opts.port === 0) {
			// host can not be used in combination with port 0 = auto port assignment
			delete this.opts.host;
		}
	}
Constructor of PrometheusReporters
@param {Object} opts
@memberof PrometheusReporter