Insights.MetricFilterinterface
Metric filters that can be specified as part of a specific metric.
Properties (9)
| Property | Type | Default | Required | Description |
|---|---|---|---|---|
| additionalAttributes⚓︎ | { [x: string]: unknown; } | (() => { [x: string]: unknown; }) | x | x | Additional attributes to publish with the values of the metric, specified as key/value
pairs or as a callback returning them (called for every value). Can be specified for a
single metric ( |
| 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. |
| attributeSettings⚓︎ | { [x: string]: MetricAttributeSettings; } | x | x | Controls the publishing of specific attributes, by name. An entry names an attribute by its
flattened (dot-separated) name, or everything nested under it - Can be specified for a single metric ( |
| attributeSettingsMode⚓︎ | AttributeSettingsMode | x | x | How the |
| enabled⚓︎ | boolean | x | x | Whether or not the value for the matching metric will be published. |
| name⚓︎ | string | x | x | The name of the matched metric. |
| overrideDefaultFilters⚓︎ | boolean | false | x | If |
| sample⚓︎ | number | boolean | true | x | Defines sampling probability for the metric. |
| type⚓︎ | MetricType | x | x | The type of the metric to match. |