SYSTEM$APPLICATION_GET_METRIC_LEVEL
functionsupportedNative apps, listings & sharingReturns the metric level for the specified object. The following objects are supported: - Functions - Schemas - Stored procedures - Versioned schemas
Syntax
SYSTEM$APPLICATION_GET_METRIC_LEVEL( '<schema_name>.<object_name>' )
Parameters
| Name | Required | Description |
|---|---|---|
'schema_name.object_name' | required | The name of schema (or versioned schema) and object you want to determine the log level for. |
Usage notes
- This function can only be called by a Snowflake Native App and must be run as the APP_PRIMARY role.