Skip to main content

metrics

Creates, updates, deletes, gets or lists a metrics resource.

Overview

Namemetrics
TypeResource
Iddatabricks_workspace.realtimeserving.metrics

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
exportmetricsexecdeployment_nameRetrieves the metrics associated with the provided serving endpoint in either Prometheus or OpenMetrics exposition format.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
deployment_namestringThe Databricks Workspace Deployment Name (default: dbc-abcd0123-a1bc)

Lifecycle Methods

Retrieves the metrics associated with the provided serving endpoint in either Prometheus or OpenMetrics exposition format.

EXEC databricks_workspace.realtimeserving.metrics.exportmetrics 
@deployment_name='{{ deployment_name }}' --required;