MetricPublishingSettingsinterface
Controls the publishing of the metric.
Properties (4)
| Property | Type | Default | Required | Description |
|---|---|---|---|---|
| allowAttributes⚓︎ | string[] | x | x | Attribute allow list: if specified, only the attributes it names are published with the values of the metric - everything else is dropped. Every distinct combination of attribute values is a time series of its own, so this is the way to keep a metric to the dimensions that are actually needed. An entry names an attribute by its flattened (dot-separated) name, or everything nested
under it: Can be specified for a single metric ( |
| attributeSettings⚓︎ | { [x: string]: MetricAttributeSettings; } | x | x | Controls the publishing of specific attributes. |
| dropAttributes⚓︎ | string[] | x | x | Attribute drop list: the attributes it names are never published with the values of the
metric. Entries are matched like the ones of |
| sample⚓︎ | number | boolean | true | x | Defines sampling probability for the metric. |