Skip to main content

serving_endpoint_metrics

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

Overview​

Nameserving_endpoint_metrics
TypeResource
Iddatabricks_workspace.serving.serving_endpoint_metrics

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
contentsstring

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectname, deployment_nameRetrieves the metrics associated with the provided serving endpoint in either Prometheus or

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)
namestringThe name of the serving endpoint to retrieve metrics for. This field is required.

SELECT examples​

Retrieves the metrics associated with the provided serving endpoint in either Prometheus or

SELECT
contents
FROM databricks_workspace.serving.serving_endpoint_metrics
WHERE name = '{{ name }}' -- required
AND deployment_name = '{{ deployment_name }}' -- required
;