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
#### Description
Adds a new feature gate for batching by default in exporterhelper.
Updates the RFC and timeline, we are not ready to transition to Phase 2
on the stated schedule.
#### Link to tracking issue
Part of
#14038Fixes#13582
Part of
#12022
#### Testing
✅
#### Documentation
✅
#### Authorship
- [x] I, a human, wrote this pull request description myself.
Assisted-by: Claude Opus 5
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Pablo Baeyens <pablo.baeyens@datadoghq.com>
Co-authored-by: Evan Bradley <11745660+evan-bradley@users.noreply.github.com>
note: Add the `pkg.exporterhelper.queueBatchEnabled` feature gate
6
+
7
+
issues: [14038, 13582, 12022]
8
+
9
+
subtext: |
10
+
When enabled, the batch settings returned by `NewDefaultQueueConfig()` have
11
+
`batch::enabled` true. See [migration RFC](https://github.com/open-telemetry/opentelemetry-collector/blob/main/docs/rfcs/batching-migration.md#phase-1).
| <1 | OK |`batch::enabled: false`|Documented behavior ||
285
-
| 1 | OK | Unchanged; feature gate is Alpha (default off)|No change for users; new `queuebatchprocessor` and docs available for opt-in migration. ||
286
-
| 2 | Works, prints deprecation warning pointing to migration docs | Unchanged; gate still Alpha/off|Users see warnings and have at least six releases to migrate; Helm chart switches to the new path while `batchprocessor` still works. Exit gated on early-adopter success. | v0.158.0|
287
-
| 3 | Removed from default distribution; still available to custom builds. Pipelines using the removed component in the default binary fail to start. | Gate Beta (default on): `batch::enabled: true`| Pipelines that didn't migrate fail fast; exporters batch by default; users can still opt out via gate for six releases. | v0.164.0|
288
-
| 4 | n/a | Gate Stable and removed; new default permanent|Users choose `exporterhelper` or `queuebatchprocessor` for batching | v0.170.0|
275
+
| Phase |`batchprocessor` in config | exporterhelper defaults |Net behavior | Release version |
| <1 | OK |`batch::enabled: false`|Documented behavior ||
278
+
| 1 | OK | Unchanged; feature gate is Alpha (default off) |No change for users; new `queuebatchprocessor` and docs available for opt-in migration. |v0.158.0+|
279
+
| 2 | Works, prints deprecation warning pointing to migration docs | Unchanged; gate still Alpha/off |Users see warnings and have at least six releases to migrate; Helm chart switches to the new path while `batchprocessor` still works. Exit gated on early-adopter success. | v0.160.0 |
280
+
| 3 | Removed from default distribution; still available to custom builds. Pipelines using the removed component in the default binary fail to start. | Gate Beta (default on): `batch::enabled: true`| Pipelines that didn't migrate fail fast; exporters batch by default; users can still opt out via gate for six releases. | v0.166.0 |
281
+
| 4 | n/a | Gate Stable and removed; new default permanent |Users choose `exporterhelper` or `queuebatchprocessor` for batching | v0.172.0 |
289
282
290
283
### Phase 1
291
284
@@ -297,13 +290,12 @@ These are loosely dependent,
297
290
config omits `queue_sender` or sets it to a non-standard value.
298
291
Exporters that legitimately need different defaults (e.g., pull-based
299
292
exporters) must declare the opt-out in their `metadata.yaml`.
300
-
2. Introduce the `exporterhelper.exporterQueueBatchEnabled` feature
301
-
gate at **Alpha** stability (default off).
293
+
2. Introduce the `pkg.exporterhelper.queueBatchEnabled` feature
294
+
gate at Alpha stability. [#15690](https://github.com/open-telemetry/opentelemetry-collector/pull/15690)
302
295
3. Support a configurable metrics prefix to distinguish processor
|`pkg.exporterhelper.queueBatchEnabled`| alpha | Enables exporterhelper batching by default in NewDefaultQueueConfig, as described in the batching migration RFC. | v0.158.0 | N/A |[Link](https://github.com/open-telemetry/opentelemetry-collector/issues/15047)|
152
+
153
+
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