Skip to main content

Metric Field

type: "metric"

A metric select based on the available plugins.

Additional Fields

FieldTypeDescription
defaultValueValueMetricConfig?The optional default value

Example

mobro-widget-config.json
{
"config": [
{
"name": "example",
"label": "Example",
"type": "metric"
}
]
}

Usage

To consume the configured value of this field in a widget, see useMetricField.