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

Increase tracing transparency #31841

Open
thomasht86 opened this issue Jul 4, 2024 · 0 comments
Open

Increase tracing transparency #31841

thomasht86 opened this issue Jul 4, 2024 · 0 comments
Assignees
Milestone

Comments

@thomasht86
Copy link
Contributor

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

Given a rank-profile with several phases, including an ONNX-inference with a crossencoder, for global phase-reranking.
I want to be able to analyze time spent on

  1. The whole global-phase
  2. Individual parts of the global-phase ranking.

When analyzing query trace with

"trace.level": 4,
"trace.timestamps": "true",

I can see the following jump in timestamps in the trace:

 {
    "timestamp": 10,
    "message": "content.num0 dispatch response: Result (10 of total 1024 hits)"
  },
  {
    "timestamp": 3255,
    "message": "Return searcher 'com.yahoo.prelude.cluster.ClusterSearcher in content'"
  },

Apparently, this step include the whole global-phase. That does not seem very obvious.

Describe the solution you'd like

It would be very nice to at least have a more descriptive message.
Even better if it were possible to get more granulated traces for different steps in rank-profile, that were linked to the expressions in the rank-profile, to be able to investigate performance more easily.

@geirst geirst added this to the soon milestone Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants