Skip to main content

Metric filters that can be specified as default.

Metric filters allow controlling specific metric data points, e.g. whether a particular value of a specific metric will be published.

Properties (5)

Property Type Default Required Description
attributes⚓︎ { complexLoad?: boolean; includesFrameCreation?: boolean; } & Record<string, any> x x

Matches the attributes attached to a metric value. Not all metrics have all attribute values.

enabled⚓︎ boolean x

Whether or not the value for the matching metric will be published.

overrideDefaultFilters⚓︎ boolean false x

If true, this filter rule will be matched before any default filters provided by io.Connect. The default filters are usually meant filter out non-representative operations (e.g. partial workspace loads), but you can use this property to force them to be measured. If false, default filters will be matched before this filtering rule.

sample⚓︎ number | boolean x x

Sampling probability.

type⚓︎ MetricType x x

Matches the type of the metric.