# MetricPublishingSettings

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

**Source**: https://docs.interop.io/desktop/reference/javascript/insights/metricpublishingsettings/index.html

Controls the publishing of the metric.

## Properties

- **`attributeSettings`** (`{ [x: string]: MetricAttributeSettings; }`, optional)
  Controls the publishing of specific attributes.
- **`sample`** (`number | boolean`, optional) default: `true`
  Defines sampling probability for the metric.

## Related types

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