-
Notifications
You must be signed in to change notification settings - Fork 63
oximeter: clean up query summary logic and docs. #9184
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
Conversation
jmcarp
commented
Oct 9, 2025
- Convert query summaries lazily; h/t @david-crespo.
- Drop query summaries from user-facing docs; h/t @ahl. This feature is only useful for Oxide engineers to investigate oximeter performance, and we don't want to leak implementation details into public docs.
080f598 to
23d896c
Compare
ahl
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good with the very significant caveat that I don't understand how we intend to use it or for it to be used.
| pub tables: Vec<OxqlTable>, | ||
| /// Summaries of queries run against ClickHouse. | ||
| /// Summaries of queries run against ClickHouse. Note: we omit this field | ||
| //from the generated docs, since it's mainly of interest internally. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
I like skipping it. Didn't realize it was aimed at internal users. We might need to think about this kind of thing more broadly — I can't think of any other spots we hide a field in the OpenAPI schema for this purpose. Would be good to have a sort of policy or rule of thumb about when it's appropriate in order to avoid doing it too much. |
* Convert query summaries lazily; h/t @david-crespo. * Drop query summaries from user-facing docs; h/t @ahl. This feature is only useful for Oxide engineers to investigate oximeter performance, and we don't want to leak implementation details into public docs.
1a5ac66 to
0818cb6
Compare
I think I can get the information I need with |