Skip to main content

AttributeSettingsinterface

Controls the publishing of a specific attribute - an entry of an attributeSettings map, wherever one appears: TracesSettings and span filters, MetricPublishingSettings, LogsSettings.

Properties (1)

Property Type Default Required Description
mode⚓︎ "allow" | "drop" | "mask" x x

What to do with the attribute: "drop" never publishes it; "mask" publishes its value masked - a keyed hash (HMAC-SHA-256, keyed per maskingSettings) truncated to 16 characters (reduceModality of them for a metric) - so that the value stays out of the telemetry while distinct values stay distinguishable and nobody without the secret can hash their way back to it; "allow" publishes it: in a block list (the default, see attributeSettingsMode) that is the exception to a broader "drop" entry, in an allow list only the attributes with an "allow" or a "mask" entry are published.