Skip to content

[elasticsearchexporter] Use new exporterbatcher.SizeConfig #38243

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
merged 2 commits into from
Feb 27, 2025

Conversation

axw
Copy link
Contributor

@axw axw commented Feb 27, 2025

Description

Updated BatcherConfig to support the new SizeConfig, which replaces the now-deprecated MinSizeItems and MaxSizeItems. BatcherConfig now embeds the exporterbatcher.Config and sets an additional unexported field to track whether batcher::enabled has been set.

See open-telemetry/opentelemetry-collector#12486

Link to tracking issue

N/A

Testing

Added unit test

Documentation

Updated README.

@axw axw force-pushed the elasticsearchexporter-sizeconfig branch from 8bfb7af to c271783 Compare February 27, 2025 02:38
@axw axw marked this pull request as ready for review February 27, 2025 03:18
@axw axw requested a review from a team as a code owner February 27, 2025 03:18
@axw axw requested a review from mwear February 27, 2025 03:18
Copy link
Member

@songy23 songy23 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dmitryax dmitryax merged commit e0bac79 into open-telemetry:main Feb 27, 2025
159 checks passed
@github-actions github-actions bot added this to the next release milestone Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants