def wf_name?(name)
      return true if name.is_a?(String) && name.size < 1024 && name =~ /^\w+$/
      raise Wavefront::Exception::InvalidName
    end
def wf_name?(name)
      return true if name.is_a?(String) && name.size < 1024 && name =~ /^\w+$/
      raise Wavefront::Exception::InvalidName
    end
Ensure the given argument is a valid name, for instance for an
 event. Names can contain, AFAIK, word characters.

 @param name [String] the name to validate
 @return true if the name is valid
 raise Wavefront::Exception::InvalidName if name is not valid