There are a couple of references that need to be removed: https://github.com/search?q=repo%3Aopen-telemetry%2Fopentelemetry-java-examples%20%2Fbatch%3A%2F&type=code
Note that the search also contains two false positives from the declarative configuration examples, those should be kept.
The idea is to replace as follows:
|
Before:
receivers:
foo:
processors:
batch:
exporters:
foo:
service:
pipelines:
metrics:
receivers: [foo]
processors: [batch]
exporters: [foo]
|
After:
receivers:
foo:
exporters:
foo:
sending_queue:
batch:
service:
pipelines:
metrics:
receivers: [foo]
exporters: [foo]
|