From 9ff6564bb3eea80bc631158689b091942e7fe17d Mon Sep 17 00:00:00 2001 From: Paulin Todev Date: Wed, 13 Sep 2023 13:34:48 +0300 Subject: [PATCH 1/2] Clarify that attribute processor does not drop signals --- .../flow/reference/components/otelcol.processor.attributes.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/sources/flow/reference/components/otelcol.processor.attributes.md b/docs/sources/flow/reference/components/otelcol.processor.attributes.md index 84bba6414658..8c02f45e2d7c 100644 --- a/docs/sources/flow/reference/components/otelcol.processor.attributes.md +++ b/docs/sources/flow/reference/components/otelcol.processor.attributes.md @@ -164,6 +164,10 @@ For example, adding a `span_names` filter could cause the component to error if The `exclude` block provides an option to exclude data from being fed into the [action] blocks based on the properties of a span, log, or metric records. +> **NOTE**: Signals excluded by the `exclude` block will still be propagated to downstream components. +> If you would like to not propagate certain signals to downstream components, +> consider a processor such as [otelcol.processor.tail_sampling](../otelcol.processor.tail_sampling/). + {{< docs/shared lookup="flow/reference/components/match-properties-block.md" source="agent" version="" >}} One of the following is also required: From 87b25ea28bee27eba9997cc5a530ab24e9d41c87 Mon Sep 17 00:00:00 2001 From: Paulin Todev Date: Thu, 14 Sep 2023 13:44:19 +0100 Subject: [PATCH 2/2] Use admonition type="note" --- .../reference/components/otelcol.processor.attributes.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/sources/flow/reference/components/otelcol.processor.attributes.md b/docs/sources/flow/reference/components/otelcol.processor.attributes.md index 8c02f45e2d7c..baf4ee0b52b5 100644 --- a/docs/sources/flow/reference/components/otelcol.processor.attributes.md +++ b/docs/sources/flow/reference/components/otelcol.processor.attributes.md @@ -164,9 +164,11 @@ For example, adding a `span_names` filter could cause the component to error if The `exclude` block provides an option to exclude data from being fed into the [action] blocks based on the properties of a span, log, or metric records. -> **NOTE**: Signals excluded by the `exclude` block will still be propagated to downstream components. -> If you would like to not propagate certain signals to downstream components, -> consider a processor such as [otelcol.processor.tail_sampling](../otelcol.processor.tail_sampling/). +{{% admonition type="note" %}} +Signals excluded by the `exclude` block will still be propagated to downstream components as-is. +If you would like to not propagate certain signals to downstream components, +consider a processor such as [otelcol.processor.tail_sampling](../otelcol.processor.tail_sampling/). +{{% /admonition %}} {{< docs/shared lookup="flow/reference/components/match-properties-block.md" source="agent" version="" >}}