constructor(opts) {
		super(opts);

		this.opts = _.defaultsDeep(this.opts, {
			host: os.hostname(),
			baseUrl: BASE_URL,
			apiVersion: "v1",
			path: "/series",
			apiKey: process.env.DATADOG_API_KEY,
			//appKey: process.env.DATADOG_APP_KEY,
			defaultLabels: registry => ({
				namespace: registry.broker.namespace,
				nodeID: registry.broker.nodeID
			}),
			interval: 10
		});

		if (!this.opts.apiKey)
			throw new MoleculerError(
				"Datadog API key is missing. Set DATADOG_API_KEY environment variable."
			);
	}
Constructor of DatadogReporters
@param {Object} opts
@memberof DatadogReporter