Skip to main content

Insights.MetricSettingsinterface

Describes a metric.

Properties (8)

Property Type Default Required Description
additionalAttributes⚓︎ { [key: string]: unknown; } | (() => { [key: string]: unknown; }) x x x
buckets⚓︎ number[] x x x
description⚓︎ string x x x
enabled⚓︎ boolean x x x
name⚓︎ string x x
publishingSettings⚓︎ MetricPublishingSettings x x x
type⚓︎ Exclude<MetricType, `custom_observable_${string}`> x x

Type of the metric. Observable metrics can be created only via the metrics module of the Insights API.

unit⚓︎ string x x x