Skip to content

Conversation

gmarouli
Copy link
Contributor

@gmarouli gmarouli commented Oct 15, 2025

In elastic/elasticsearch#136633 we introduce one more configuration option in the downsample API that allows a user to choose the sampling method between:

  • aggregate: when supported, this will downsample a metric by summarising its values in a aggregate document. This remains the default
  • last_value: this will keep the last value and discard the rest.
POST /my-time-series-index/_downsample/my-downsampled-time-series-index
{
  "fixed_interval": "1d",
  "sampling_method": "last_value"
}

Waiting for to be merged.

Copy link
Contributor

github-actions bot commented Oct 15, 2025

Following you can find the validation changes against the target branch for the APIs.

No changes detected.

You can validate these APIs yourself by using the make validate target.

@gmarouli gmarouli marked this pull request as draft October 15, 2025 15:56
@pquentin pquentin added the skip-backport This pull request should not be backported label Oct 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-backport This pull request should not be backported specification

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants