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(
394
394
395
395
model_type = "custom" if is_fine_tuned_model else "service"
396
396
deployment_id = deployment .dsc_model_deployment .id
397
+ # we arbitrarily choose last 8 characters of OCID to identify MD in telemetry
397
398
telemetry_kwargs = {"ocid" : get_ocid_substring (deployment_id , key_len = 8 )}
398
399
399
400
# tracks unique deployments that were created in the user compartment
@@ -461,6 +462,7 @@ def list(self, **kwargs) -> List["AquaDeployment"]:
461
462
state = model_deployment .lifecycle_state .upper ()
462
463
if state in ["ACTIVE" , "FAILED" ]:
463
464
# tracks unique deployments that were listed in the user compartment
465
+ # we arbitrarily choose last 8 characters of OCID to identify MD in telemetry
464
466
self .telemetry .record_event_async (
465
467
category = f"aqua/deployment" ,
466
468
action = "list" ,
You can’t perform that action at this time.
0 commit comments