Added custom metrics sending