Skip to content

Conversation

@gmarouli
Copy link
Contributor

This PR implements downsampling for exponential histograms both as labels and as metrics. Marked as a non-issue because exponential histograms are behind a feature flag.

Closes #136259

@gmarouli gmarouli added >non-issue :StorageEngine/Downsampling Downsampling (replacement for rollups) - Turn fine-grained time-based data into coarser-grained data labels Nov 25, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-storage-engine (Team:StorageEngine)

Copy link
Contributor

@JonasKunz JonasKunz left a comment

Choose a reason for hiding this comment

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

LGTM!

* Creates a new instance with the OpenTelemetry SDK default bucket limit of {@link ExponentialHistogramMerger#MAX_HISTOGRAM_BUCKETS}
* @param circuitBreaker the circuit breaker to use to limit memory allocations
*/
public static ExponentialHistogramMerger create(ExponentialHistogramCircuitBreaker circuitBreaker) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Great idea to encode this default here!
I'll take care in a follow up to also use this in the ES|QL code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>non-issue :StorageEngine/Downsampling Downsampling (replacement for rollups) - Turn fine-grained time-based data into coarser-grained data Team:StorageEngine v9.3.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Downsampling++] Downsample exponential histograms as a label and metric.

3 participants