Skip to main content

MetricPublishOptionsinterface

Options of one published value of a metric.

Properties (2)

Property Type Default Required Description
attributeSettings⚓︎ { [x: string]: MetricAttributeSettings } x x

Attribute settings to apply to this value on top of the metric's own - as its most specific level, over a matching filter's. The trace metrics get here what the traces settings and the matching span filter set for the span, so that an attribute a span filter masks is masked on the metric too - once, and to the same string as on the span.

attributeSettingsMode⚓︎ AttributeSettingsMode x x

The attributeSettingsMode of this value - over a matching filter's and the metric's. The trace metrics get the matching span filter's, or the traces settings'.