You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
note: Promote the `connector.routing.defaultErrorModeIgnore` feature gate to beta. The default `error_mode` is now `ignore` instead of `propagate`.
6
+
7
+
issues: [48418]
8
+
9
+
subtext: To restore the previous default of `propagate`, run the collector with the feature gate disabled by passing `--feature-gates=-connector.routing.defaultErrorModeIgnore`.
Copy file name to clipboardExpand all lines: connector/routingconnector/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ The following settings are available:
42
42
-`copy`: Matched data is copied to the target pipeline(s) but remains available for evaluation by subsequent routes. This allows the same data to be routed to multiple pipelines.
43
43
-`table.pipelines (required)`: the list of pipelines to use when the routing condition is met.
44
44
-`default_pipelines (optional)`: contains the list of pipelines to use when a record does not meet any of specified conditions.
45
-
-`error_mode (optional)`: determines how errors returned from OTTL statements are handled. Valid values are `propagate`, `ignore` and `silent`. If `ignore` or `silent` is used and a statement's condition has an error then the payload will be routed to the default pipelines. When `silent` is used the error is not logged. If not supplied, `propagate` is used.
45
+
-`error_mode (optional)`: determines how errors returned from OTTL statements are handled. Valid values are `propagate`, `ignore` and `silent`. If `ignore` or `silent` is used and a statement's condition has an error then the payload will be routed to the default pipelines. When `silent` is used the error is not logged. If not supplied, `ignore` is used.
Copy file name to clipboardExpand all lines: connector/routingconnector/config.schema.yaml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ properties:
31
31
items:
32
32
$ref: go.opentelemetry.io/collector/pipeline.id
33
33
error_mode:
34
-
description: ErrorMode determines how the processor reacts to errors that occur while processing an OTTL condition. Valid values are `ignore` and `propagate`. `ignore` means the processor ignores errors returned by conditions and continues on to the next condition. This is the recommended mode. If `ignore` is used and a statement's condition has an error then the payload will be routed to the default exporter. `propagate` means the processor returns the error up the pipeline. This will result in the payload being dropped from the collector. The default value is `propagate`, but when the `connector.routing.defaultErrorModeIgnore` feature gate is enabled, the default changes to `ignore`.
34
+
description: ErrorMode determines how the processor reacts to errors that occur while processing an OTTL condition. Valid values are `ignore` and `propagate`. `ignore` means the processor ignores errors returned by conditions and continues on to the next condition. This is the recommended mode. If `ignore` is used and a statement's condition has an error then the payload will be routed to the default exporter. `propagate` means the processor returns the error up the pipeline. This will result in the payload being dropped from the collector. The default value is `ignore` when the `connector.routing.defaultErrorModeIgnore` feature gate is enabled (default), and `propagate` when disabled.
35
35
$ref: /pkg/ottl.error_mode
36
36
table:
37
37
description: Table contains the routing table for this processor. Required.
|`connector.routing.defaultErrorModeIgnore`|alpha| When enabled, the default error_mode is `ignore` instead of `propagate`. | v0.155.0 | N/A |[Link](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/48418)|
11
+
|`connector.routing.defaultErrorModeIgnore`|beta| When enabled, the default error_mode is `ignore` instead of `propagate`. | v0.155.0 | N/A |[Link](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/48418)|
12
12
13
13
For more information about feature gates, see the [Feature Gates](https://github.com/open-telemetry/opentelemetry-collector/blob/main/featuregate/README.md) documentation.
0 commit comments