# MetricPublishOptions

**Kind**: interface | **Module**: [Insights](https://docs.interop.io/browser/reference/javascript/insights/index.md)

**Source**: https://docs.interop.io/browser/reference/javascript/insights/metricpublishoptions/index.html

Options of one published value of a metric.

## Properties

- **`attributeSettings`** (`{ [x: string]: MetricAttributeSettings }`, optional)
  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`, optional)
  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'.

## Related types

- [AttributeSettingsMode](https://docs.interop.io/browser/reference/javascript/insights/attributesettingsmode/index.md)
- [MetricAttributeSettings](https://docs.interop.io/browser/reference/javascript/insights/metricattributesettings/index.md)
