Skip to content

Docs: elasticsearchexporter batcher config vs sending_queue.batch #10584

@inge4pres

Description

@inge4pres

Describe the current state

The ES exporter docs https://github.com/elastic/elastic-agent/edit/main/docs/reference/edot-collector/components/elasticsearchexporter.md do not have the information needed to configure custom batching mechanism in stack versions earlier than 9.2.

Up until v0.131.0 of the upstream exporter, batcher is a valid configuration for bundling documents on ingestion.
It is deprecated and replaced by sending_queue.batch in v0.132.0.

Here's a map of the es exporter to stack version

stack exporter
9.0.0 - 9.08 v.120.0 - v121.0
9.1.0 - 9.1.2 v0.129.0
9.1.3 - 9.1.4 v0.130.0
9.1.5 v0.132.0
9.2 v0.137.0

Describe the desired state

We should verify which versions of the stack require a certain batcher configuration and which ones can use a sending_queue.batch.
Then we should translate into documentation this requirement using the "applies to" badges in the es exporter doc page.

Related issues

https://github.com/elastic/sdh-apm/issues/1876

Metadata

Metadata

Labels

docsdocumentationImprovements or additions to documentation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions