* Return error on MetricSenderFunc
Merge branch 'protocol-fix' into custom
* Fix example MetricSenderFunc