Skip to contents

Updates a monitor for the specified table.

Usage

update_lakehouse_monitor(
  client,
  full_name,
  output_schema_name,
  baseline_table_name = NULL,
  custom_metrics = NULL,
  data_classification_config = NULL,
  inference_log = NULL,
  notifications = NULL,
  schedule = NULL,
  slicing_exprs = NULL,
  snapshot = NULL,
  time_series = NULL
)

lakehouseMonitorsUpdate(
  client,
  full_name,
  output_schema_name,
  baseline_table_name = NULL,
  custom_metrics = NULL,
  data_classification_config = NULL,
  inference_log = NULL,
  notifications = NULL,
  schedule = NULL,
  slicing_exprs = NULL,
  snapshot = NULL,
  time_series = NULL
)

Arguments

client

Required. Instance of DatabricksClient()

full_name

Required. Full name of the table.

output_schema_name

Required. Schema where output metric tables are created.

baseline_table_name

Name of the baseline table from which drift metrics are computed from.

custom_metrics

Custom metrics to compute on the monitored table.

data_classification_config

The data classification config for the monitor.

inference_log

Configuration for monitoring inference logs.

notifications

The notification settings for the monitor.

schedule

The schedule for automatically updating and refreshing metric tables.

slicing_exprs

List of column expressions to slice data with for targeted analysis.

snapshot

Configuration for monitoring snapshot tables.

time_series

Configuration for monitoring time series tables.

Details

The caller must either: 1. be an owner of the table's parent catalog 2. have USE_CATALOG on the table's parent catalog and be an owner of the table's parent schema 3. have the following permissions: - USE_CATALOG on the table's parent catalog - USE_SCHEMA on the table's parent schema - be an owner of the table.

Additionally, the call must be made from the workspace where the monitor was created, and the caller must be the original creator of the monitor.

Certain configuration fields, such as output asset identifiers, cannot be updated.