serving_endpoint_metrics
Creates, updates, deletes, gets or lists a serving_endpoint_metrics resource.
Overview
| Name | serving_endpoint_metrics |
| Type | Resource |
| Id | databricks_workspace.serving.serving_endpoint_metrics |
Fields
The following fields are returned by SELECT queries:
- get
| Name | Datatype | Description |
|---|---|---|
contents | string |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | name, deployment_name | Retrieves 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.
| Name | Datatype | Description |
|---|---|---|
deployment_name | string | The Databricks Workspace Deployment Name (default: dbc-abcd0123-a1bc) |
name | string | The name of the serving endpoint to retrieve metrics for. This field is required. |
SELECT examples
- get
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
;