diff --git a/api/models/service.go b/api/models/service.go index 11d5106d5..586c31776 100644 --- a/api/models/service.go +++ b/api/models/service.go @@ -84,7 +84,7 @@ func NewService(model *Model, version *Version, modelOpt *ModelOption, endpoint AutoscalingPolicy: endpoint.AutoscalingPolicy, Protocol: endpoint.Protocol, CurrentIsvcName: endpoint.InferenceServiceName, - EnabledModelObservability: endpoint.EnableModelObservability, + EnabledModelObservability: endpoint.IsModelMonitoringEnabled(), ModelSchema: version.ModelSchema, PredictorUPIOverHTTPEnabled: predictorUPIOverHTTPEnabled(endpoint.Transformer, endpoint.Protocol), } diff --git a/python/sdk/merlin/fluent.py b/python/sdk/merlin/fluent.py index e71d00c22..910d6fa46 100644 --- a/python/sdk/merlin/fluent.py +++ b/python/sdk/merlin/fluent.py @@ -418,6 +418,7 @@ def deploy( autoscaling_policy, protocol, enable_model_observability, + model_observability ) return _merlin_client.deploy( # type: ignore @@ -432,6 +433,7 @@ def deploy( autoscaling_policy, protocol, enable_model_observability, + model_observability )