Skip to content

Conversation

masseyke
Copy link
Member

@masseyke masseyke commented Sep 15, 2025

This is the shell of the future SamplingService, which will have the logic for configuring random sampling of raw documents, as well as doing the sampling, and returning samples.
For now, this is no-op, with tests to make sure that maybeSample is appropriately called from TransportBulkAction and IngestService. Future PRs will add more functionality. See #134233 for a prototype.

@masseyke masseyke added >non-issue :Data Management/Ingest Node Execution or management of Ingest Pipelines including GeoIP v9.2.0 labels Sep 15, 2025
@masseyke masseyke marked this pull request as ready for review September 16, 2025 15:31
@masseyke masseyke requested a review from a team as a code owner September 16, 2025 15:31
@elasticsearchmachine elasticsearchmachine added the Team:Data Management Meta label for data/management team label Sep 16, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-data-management (Team:Data Management)

Copy link
Contributor

@seanzatzdev seanzatzdev left a comment

Choose a reason for hiding this comment

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

Looks good in general, just had a few minor questions

@seanzatzdev
Copy link
Contributor

LGTM!

@masseyke masseyke requested a review from dakrone September 18, 2025 14:34
@masseyke masseyke merged commit d39cc7d into elastic:main Sep 18, 2025
34 checks passed
@masseyke masseyke deleted the sampling-service-shell branch September 18, 2025 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Data Management/Ingest Node Execution or management of Ingest Pipelines including GeoIP >non-issue Team:Data Management Meta label for data/management team v9.2.0

3 participants