-
Notifications
You must be signed in to change notification settings - Fork 25.8k
Make exponential_histogram the default histogram type for HTTP OTLP endpoint #145065
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
JonasKunz
merged 15 commits into
elastic:main
from
JonasKunz:otlp-intake-default-to-exp-histograms
Mar 31, 2026
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
994a6d0
Make exponential_histogram the default histogram type for HTTP OTLP e…
JonasKunz b57ceca
[CI] Auto commit changes from spotless
579c433
Add changelog
JonasKunz c4e7618
Update docs
JonasKunz d2e751a
Fix changelog
JonasKunz cb25498
Merge branch 'main' into otlp-intake-default-to-exp-histograms
JonasKunz 3c3fb15
Remove redundant info
JonasKunz 8d5a665
Apply suggestion from @shainaraskas
JonasKunz 46c00f5
Merge branch 'main' into otlp-intake-default-to-exp-histograms
JonasKunz a365f51
Fix java rest tests
JonasKunz ec3b594
Merge branch 'main' into otlp-intake-default-to-exp-histograms
JonasKunz 5b63e31
Merge branch 'main' into otlp-intake-default-to-exp-histograms
JonasKunz 286cb9e
Update docs/reference/elasticsearch/configuration-reference/index-man…
JonasKunz 60fbff9
Merge branch 'main' into otlp-intake-default-to-exp-histograms
JonasKunz f75fbb4
Merge branch 'main' into otlp-intake-default-to-exp-histograms
JonasKunz 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| pr: 145065 | ||
| summary: "OTLP endpoint: use exponential_histograms by default" | ||
| area: Mapping | ||
| type: breaking | ||
| breaking: | ||
| title: Use exponential_histograms by default | ||
| area: Ingest | ||
| details: The default of the `xpack.otel_data.histogram_field_type` cluster setting | ||
| has changed from `histogram` to `exponential_histogram`. This means that histogram | ||
| fields ingested through the OTLP HTTP endpoint will now be mapped as `exponential_histogram` by default. | ||
| To maintain the previous behavior, set `xpack.otel_data.histogram_field_type` to `histogram`. | ||
| impact: Both queryDSL and ES|QL queries will still work as before, but the underlying data structure for histograms will change. | ||
| The raw field structure will differ, so consumers of raw documents may need to adjust their processing logic if they rely on the specific structure of histogram fields. | ||
| notable: false | ||
| issues: [] | ||
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@yannis-roussos could you have a look at this changelog and verify that it's worded correctly for you?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me Jonas, thank you!