code: def namespaced_view_name(view_name, metric_prefix):
      
      metric_prefix = metric_prefix or "custom.googleapis.com/opencensus"
      return os.path.join(metric_prefix, view_name).replace('\\', '/')
docs: create string to be used as metric type