def create
    @metric = collection.build(create_params)
    if @metric.save
      flash[:notice] = "The #{method_or_metric} was created"
      redirect_to admin_service_metrics_path(@service, tab: "#{method_or_metric}s")