schema
Creates, updates, deletes, gets or lists a schema resource.
Overview
| Name | schema |
| Type | Resource |
| Id | vercel.observability.schema |
Fields
The following fields are returned by SELECT queries:
- get
- list
| Name | Datatype | Description |
|---|---|---|
id | string | |
aggregations | array | |
default_aggregation | string | (wire: defaultAggregation) |
description | string | |
dimensions | array | |
unit | string |
| Name | Datatype | Description |
|---|---|---|
metrics | array |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | metric_id | ||
list | select |
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 |
|---|---|---|
metric_id | string |
SELECT examples
- get
- list
No description available.
SELECT
id,
aggregations,
default_aggregation,
description,
dimensions,
unit
FROM vercel.observability.schema
WHERE metric_id = '{{ metric_id }}' -- required
;
No description available.
SELECT
metrics
FROM vercel.observability.schema
;