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

may add traceID for all requests #1482

Open
Yuqi-Du opened this issue Sep 30, 2024 · 0 comments
Open

may add traceID for all requests #1482

Yuqi-Du opened this issue Sep 30, 2024 · 0 comments

Comments

@Yuqi-Du
Copy link
Contributor

Yuqi-Du commented Sep 30, 2024

There is a customer observing inconsistent results with Astra Similarity Search, particularly when using the Data Explorer. A notable case involves result ID 149, which is sometimes missing despite running the same search query. While there is no direct error in the system, this inconsistency points to a potential issue with the vector search.

Currently, the Data API provides an error v2 design with a UUID for each error, which helps in tracking requests quickly.
#593

However, to better investigate issues like this result inconsistency (where no error is thrown), Jeff proposed that every API call, successful or not, should include a trace ID. This will allow us to track and debug issues more effectively, regardless of whether the call results in an error or not.

Few discussion items:

  1. This requires more Data API info log. (We don't support right now)
  2. Note, trace in Data API won't necessarily help debugging of what happened in DB side. All information Data API get back from DB is through Java Driver.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant