Fix missing apiKey in metrics, use java notifier's metrics sending