Skip to content

[elasticsearchexporter] Improved grouping of data points into documents #37509

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

Conversation

felixbarny
Copy link
Contributor

This may prevent document rejections in case the same batch contains different resources or scopes that have the same set of attributes.

This may prevent document rejections in case the same batch contains different resources or scopes that have the same set of attributes
@felixbarny
Copy link
Contributor Author

Aside from using the batch processor, could there be other reasons why a batch may be split up? What about the sending queue, for example?

If the issue with document rejections persists, we may need to add another workaround, such as adding a hash of the attributes as an additional dimension.

@felixbarny
Copy link
Contributor Author

@ChrsMark could you have a look at this, please?

@songy23 songy23 merged commit 2a5371b into open-telemetry:main Feb 3, 2025
163 checks passed
@github-actions github-actions bot added this to the next release milestone Feb 3, 2025
@felixbarny felixbarny deleted the es-group-metrics-across-resources branch February 5, 2025 07:51
chengchuanpeng pushed a commit to chengchuanpeng/opentelemetry-collector-contrib that referenced this pull request Feb 8, 2025
…ts (open-telemetry#37509)

This may prevent document rejections in case the same batch contains
different resources or scopes that have the same set of attributes.
zeck-ops pushed a commit to zeck-ops/opentelemetry-collector-contrib that referenced this pull request Apr 23, 2025
…ts (open-telemetry#37509)

This may prevent document rejections in case the same batch contains
different resources or scopes that have the same set of attributes.
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.

5 participants