Issue #623 Add metrics to the protobuf decoder