Skip to content

Commit

Permalink
Change MLFLOW_ENABLE_TRACE_IN_SERVING default value to False (mlflo…
Browse files Browse the repository at this point in the history
…w#12095)

Signed-off-by: harupy <17039389+harupy@users.noreply.github.com>
  • Loading branch information
harupy committed May 22, 2024
1 parent c702a77 commit 30d9c3f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions mlflow/environment_variables.py
Original file line number Diff line number Diff line change
Expand Up @@ -579,9 +579,12 @@ def get(self):
# How many traces to be buffered at the in-memory trace client.
MLFLOW_TRACE_BUFFER_MAX_SIZE = _EnvironmentVariable("MLFLOW_TRACE_BUFFER_MAX_SIZE", int, 1000)

# Whether or not to enable trace logging in MLflow in served models.
# TODO: Document the behavior of this flag.
MLFLOW_ENABLE_TRACE_IN_SERVING = _BooleanEnvironmentVariable("MLFLOW_ENABLE_TRACE_IN_SERVING", True)
#: Whether or not to enable trace logging in model serving.
#: The default value is set to False to ensure that this flag is only enabled
#: when our internal safety mechanism on Databricks explicitly sets it to True.
MLFLOW_ENABLE_TRACE_IN_SERVING = _BooleanEnvironmentVariable(
"MLFLOW_ENABLE_TRACE_IN_SERVING", False
)

# Whether to use presigned URLs to interact with the Unity Catalog
MLFLOW_UNITY_CATALOG_PRESIGNED_URLS_ENABLED = _BooleanEnvironmentVariable(
Expand Down

0 comments on commit 30d9c3f

Please sign in to comment.