-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Downsample exponential histograms #138561
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
base: main
Are you sure you want to change the base?
Conversation
|
Pinging @elastic/es-storage-engine (Team:StorageEngine) |
JonasKunz
left a comment
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.
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) { |
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.
Great idea to encode this default here!
I'll take care in a follow up to also use this in the ES|QL code.
...rc/main/java/org/elasticsearch/xpack/downsample/ExponentialHistogramMetricFieldProducer.java
Outdated
Show resolved
Hide resolved
…/downsample/ExponentialHistogramMetricFieldProducer.java Co-authored-by: Jonas Kunz <[email protected]>
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