File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -394,6 +394,7 @@ def create(
394394
395395 model_type = "custom" if is_fine_tuned_model else "service"
396396 deployment_id = deployment .dsc_model_deployment .id
397+ # we arbitrarily choose last 8 characters of OCID to identify MD in telemetry
397398 telemetry_kwargs = {"ocid" : get_ocid_substring (deployment_id , key_len = 8 )}
398399
399400 # tracks unique deployments that were created in the user compartment
@@ -461,6 +462,7 @@ def list(self, **kwargs) -> List["AquaDeployment"]:
461462 state = model_deployment .lifecycle_state .upper ()
462463 if state in ["ACTIVE" , "FAILED" ]:
463464 # tracks unique deployments that were listed in the user compartment
465+ # we arbitrarily choose last 8 characters of OCID to identify MD in telemetry
464466 self .telemetry .record_event_async (
465467 category = f"aqua/deployment" ,
466468 action = "list" ,
You can’t perform that action at this time.
0 commit comments