code: func RecordvSphereMetric(actionName string, requestTime time.Time, err error) {
  	switch actionName {
  	case APICreateVolume, APIDeleteVolume, APIAttachVolume, APIDetachVolume:
  		recordvSphereAPIMetric(actionName, requestTime, err)
  	default:
  		recordvSphereOperationMetric(actionName, requestTime, err)
  	}
  }
docs: // RecordvSphereMetric records the vSphere API and Operation metrics