DESCRIBE MODEL MONITOR¶
Displays information about a specific model monitor. This command displays all the information shown by the SHOW MODEL MONITORS command, plus additional information.
DESCRIBE can be abbreviated to DESC.
Syntax¶
{ DESCRIBE | DESC } MODEL MONITOR <monitor_name>
Parameters¶
monitor_name
Specifies the identifier for the model monitor to describe.
If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive.
For more information, see Identifier requirements.
Output¶
The command output provides model monitor properties and metadata in the following columns:
Column |
Description |
---|---|
|
Date and time when the model monitor was created. |
|
Name of the model monitor. |
|
Database in which the model monitor is stored. |
|
Schema in which the model monitor is stored. |
|
Warehouse used to monitor the model. |
|
The refresh interval (target lag) for triggering refresh of the model monitor. |
|
The aggregation window for calculating metrics. |
|
The task of the model being monitored, either TABULAR_BINARY_CLASSIFICATION or TABULAR_REGRESSION. |
|
The state of the model monitor:
|
|
String representation of a JSON object detailing the source table or view on which aggregations are based. If the table does not exist or is not accessible, the value is an empty string. See Table JSON object specification. |
|
String representation of a JSON object detailing baseline table being used for monitoring, of which a clone is embedded in the model monitor object. See Table JSON object specification. |
|
String representation of a JSON object containing information specifically about the model being monitored. See Model JSON object specification. |
|
Comment about the model monitor. |
The following columns are the additional columns displayed by DESCRIBE compared to SHOW |
|
|
A string representation of a JSON object that contains the aggregation status of each type of nested dynamic table. The key can be either SOURCE_AGGREGATED or ACCURACY_AGGREGATED. The value con be ACTIVE or SUSPENDED. |
|
A string representation of a JSON object that contains the last error of each type of nested dynamic table. The key can be either SOURCE_AGGREGATED or ACCURACY_AGGREGATED. The value is an error message, or an empty string if the last run completed successfully. |
|
A string representation of a JSON object that contains the last time type of nested dynamic table was updated. The key can be either SOURCE_AGGREGATED or ACCURACY_AGGREGATED. The value is a timestamp. |
|
A string representation of a JSON object that contains names of columns being used in the source table. See Column JSON object specification. |
Table JSON object specification¶
The following is the format of the JSON representation of a table, as used by the source
and baseline
columns in the command output:
|
Name of the source or baseline table or view. |
---|---|
|
Database in which the table or view is stored. |
|
Schema in which the table or view is stored. |
|
The status of the table:
|
Model JSON object specification¶
The following is the format of the JSON representation of a model, as used by the model
column in the command output:
Field |
Description |
---|---|
|
Name of the model being monitored. |
|
Version name of the model version being monitored. |
|
Name of the specific function being monitored in the specified model version. |
|
Database in which the model is stored. |
|
Schema in which the model is stored. |
|
The status of the model. Can be ACTIVE, MASKED, or DELETED. MASKED indicates that the user does not have access to the model; other fields show as a series of asterisks. |
|
The status of the model version. Can be ACTIVE or DELETED. (MASKED is not a valid status for a model version, because they do not have access control.) |
Column JSON object specification¶
The following is the format of the JSON representation of columns, as used by the columns
column in the command output:
Field |
Description |
---|---|
|
Name of the timestamp column in the data source. |
|
An array of string column names that, together, uniquely identify each row in the source data. |
|
An array of strings naming all prediction class columns in the data source. |
|
An array of strings naming all prediction score columns in the data source. |
|
An array of strings naming all actual class columns in the data source. |
|
An array of strings naming all numerical feature columns that the model monitor uses from the source table. |
|
An array of strings naming all string (categorical) feature columns that the model monitor uses from the source table. |
|
An array of strings naming all Boolean (categorical) feature columns that the model monitor uses from the source table. |
Access control requirements¶
A role used to execute this SQL command must have the following privileges at a minimum:
Privilege |
Object |
Notes |
---|---|---|
Any |
Model monitor |
The USAGE privilege on the parent database and schema are required to perform operations on any object in a schema.
For instructions on creating a custom role with a specified set of privileges, see Creating custom roles.
For general information about roles and privilege grants for performing SQL actions on securable objects, see Overview of Access Control.