Skip to main content

schema

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

Overview

Nameschema
TypeResource
Idvercel.observability.schema

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstring
aggregationsarray
default_aggregationstring (wire: defaultAggregation)
descriptionstring
dimensionsarray
unitstring

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectmetric_id
listselect

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
metric_idstring

SELECT examples

No description available.

SELECT
id,
aggregations,
default_aggregation,
description,
dimensions,
unit
FROM vercel.observability.schema
WHERE metric_id = '{{ metric_id }}' -- required
;