Skip to content
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

[Search Pipeline] Expose Search Pipeline Stats in Search Response #8635

Open
mingshl opened this issue Jul 11, 2023 · 1 comment
Open

[Search Pipeline] Expose Search Pipeline Stats in Search Response #8635

mingshl opened this issue Jul 11, 2023 · 1 comment
Labels
enhancement Enhancement or improvement to existing feature or request Search Search query, autocomplete ...etc

Comments

@mingshl
Copy link
Contributor

mingshl commented Jul 11, 2023

Is your feature request related to a problem? Please describe.

Extending from the discussion from adding ignoreFailure to Search Pipeline 8373 ,

In the GA of Search Pipeline, the response from any pipelines(search pipeline/ingest pipeline) will look like the same response as other search response.

So we can NOT tell if a response has gone through the ignoreFailure is True and catching Exceptions, and that is also similar to the existing design of ignore Failure in the ingest pipeline here

The search pipelines stats does gather stats for all requests using pipeline API. And the response from the stats look like this .

Open up this issue to discuss a good way to inform users/consumer about the information from the search pipeline in the search response, for example, the pipeline name, the number of processor within the pipeline, the processor's name, is it ignoreFailure, the failure processor count.

Describe the solution you'd like
Add the stats per request to the search response

Describe alternatives you've considered
or better way to expose the search pipeline metrics

@msfroh
Copy link
Collaborator

msfroh commented Aug 3, 2023

See also #6794

@getsaurabh02 getsaurabh02 moved this from 🆕 New to Later (6 months plus) in Search Project Board Aug 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement or improvement to existing feature or request Search Search query, autocomplete ...etc
Projects
Status: Later (6 months plus)
Development

No branches or pull requests

3 participants