-
Notifications
You must be signed in to change notification settings - Fork 1.6k
[content/en/docs] Remove references to the batch processor #8270
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
theletterf
merged 4 commits into
open-telemetry:main
from
mx-psi:mx-psi/remove-batch-processor-references
Oct 30, 2025
Merged
Changes from 1 commit
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
63ba9ba
[content/en/docs] Remove references to the batch processor
mx-psi 4e51045
Update content/en/docs/collector/troubleshooting.md
mx-psi e749f55
Results from /fix directive
otelbot[bot] 98ac6e9
Merge branch 'main' into mx-psi/remove-batch-processor-references
mx-psi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -97,9 +97,9 @@ Collector's components and pipelines. | |
| touch config.yaml | ||
| ``` | ||
|
|
||
| For now, you just need a basic traces pipeline with the `otlp` receiver, the | ||
| `otlp` and `debug`[^1] exporters, and optionally the `batch` processor. Here is | ||
| what your `config.yaml` file should look like: | ||
| For now, you just need a basic traces pipeline with the `otlp` receiver and the | ||
| `otlp` and `debug`[^1] exporters. Here is what your `config.yaml` file should | ||
| look like: | ||
|
|
||
| > config.yaml | ||
|
|
||
|
|
@@ -110,9 +110,6 @@ receivers: | |
| grpc: | ||
| endpoint: 0.0.0.0:4317 | ||
|
|
||
| processors: | ||
| batch: | ||
|
|
||
| exporters: | ||
| # NOTE: Prior to v0.86.0 use `logging` instead of `debug`. | ||
| debug: | ||
|
|
@@ -121,12 +118,13 @@ exporters: | |
| endpoint: localhost:14317 | ||
| tls: | ||
| insecure: true | ||
| sending_queue: | ||
| batch: | ||
|
|
||
| service: | ||
| pipelines: | ||
| traces: | ||
| receivers: [otlp] | ||
| processors: [batch] | ||
| exporters: [otlp/jaeger, debug] | ||
| telemetry: | ||
| logs: | ||
|
|
@@ -975,7 +973,6 @@ import ( | |
| "go.opentelemetry.io/collector/receiver" | ||
| debugexporter "go.opentelemetry.io/collector/exporter/debugexporter" | ||
| otlpexporter "go.opentelemetry.io/collector/exporter/otlpexporter" | ||
| batchprocessor "go.opentelemetry.io/collector/processor/batchprocessor" | ||
| otlpreceiver "go.opentelemetry.io/collector/receiver/otlpreceiver" | ||
| tailtracer "github.com/open-telemetry/opentelemetry-tutorials/trace-receiver/tailtracer" // newly added line | ||
| ) | ||
|
|
@@ -1007,7 +1004,6 @@ func components() (otelcol.Factories, error) { | |
| } | ||
|
|
||
| factories.Processors, err = otelcol.MakeFactoryMap[processor.Factory]( | ||
| batchprocessor.NewFactory(), | ||
| ) | ||
| if err != nil { | ||
| return otelcol.Factories{}, err | ||
|
|
@@ -1046,9 +1042,6 @@ receivers: | |
| interval: 1m | ||
| number_of_traces: 1 | ||
|
|
||
| processors: | ||
| batch: | ||
|
|
||
| exporters: | ||
| # NOTE: Prior to v0.86.0 use `logging` instead of `debug`. | ||
| debug: | ||
|
|
@@ -1057,12 +1050,13 @@ exporters: | |
| endpoint: localhost:14317 | ||
| tls: | ||
| insecure: true | ||
| sending_queue: | ||
| batch: | ||
|
|
||
| service: | ||
| pipelines: | ||
| traces: | ||
| receivers: [otlp, tailtracer] | ||
| processors: [batch] | ||
| exporters: [otlp/jaeger, debug] | ||
| telemetry: | ||
| logs: | ||
|
|
@@ -1084,7 +1078,6 @@ The output should look like this: | |
| 2023-11-08T21:38:36.621+0800 info [email protected]/telemetry.go:201 Serving Prometheus metrics {"address": ":8888", "level": "Basic"} | ||
| 2023-11-08T21:38:36.621+0800 info [email protected]/exporter.go:275 Development component. May change in the future. {"kind": "exporter", "data_type": "traces", "name": "debug"} | ||
| 2023-11-08T21:38:36.621+0800 debug [email protected]/exporter.go:273 Stable component. {"kind": "exporter", "data_type": "traces", "name": "otlp/jaeger"} | ||
| 2023-11-08T21:38:36.621+0800 debug [email protected]/processor.go:287 Stable component. {"kind": "processor", "name": "batch", "pipeline": "traces"} | ||
| 2023-11-08T21:38:36.621+0800 debug [email protected]/receiver.go:294 Stable component. {"kind": "receiver", "name": "otlp", "data_type": "traces"} | ||
| 2023-11-08T21:38:36.621+0800 debug [email protected]/receiver.go:294 Alpha component. May change in the future. {"kind": "receiver", "name": "tailtracer", "data_type": "traces"} | ||
| 2023-11-08T21:38:36.622+0800 info [email protected]/service.go:143 Starting otelcol-dev... {"Version": "1.0.0", "NumCPU": 10} | ||
|
|
@@ -2283,7 +2276,6 @@ And you should see the output like this after a few minutes: | |
| 2023-11-09T11:38:19.890+0800 info [email protected]/telemetry.go:201 Serving Prometheus metrics {"address": ":8888", "level": "Basic"} | ||
| 2023-11-09T11:38:19.890+0800 debug [email protected]/exporter.go:273 Stable component. {"kind": "exporter", "data_type": "traces", "name": "otlp/jaeger"} | ||
| 2023-11-09T11:38:19.890+0800 info [email protected]/exporter.go:275 Development component. May change in the future. {"kind": "exporter", "data_type": "traces", "name": "debug"} | ||
| 2023-11-09T11:38:19.890+0800 debug [email protected]/processor.go:287 Stable component. {"kind": "processor", "name": "batch", "pipeline": "traces"} | ||
| 2023-11-09T11:38:19.891+0800 debug [email protected]/receiver.go:294 Stable component. {"kind": "receiver", "name": "otlp", "data_type": "traces"} | ||
| 2023-11-09T11:38:19.891+0800 debug [email protected]/receiver.go:294 Alpha component. May change in the future. {"kind": "receiver", "name": "tailtracer", "data_type": "traces"} | ||
| 2023-11-09T11:38:19.891+0800 info [email protected]/service.go:143 Starting otelcol-dev... {"Version": "1.0.0", "NumCPU": 10} | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.