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

[oximeter] turn API into a trait #6130

Merged
merged 1 commit into from
Jul 22, 2024

Conversation

sunshowers
Copy link
Contributor

Use the OpenAPI manager to manage this trait as well.

An interesting question is the standalone Nexus impl also defined by Oximeter
-- should that switch to using the internal API crate? As things stand we'd
have to write tons of methods that just error out, but I have some thoughts on
how to make that easier on the Dropshot side.

Created using spr 1.3.6-beta.1
@sunshowers sunshowers requested review from bnaecker and hawkw July 20, 2024 05:07
Copy link
Collaborator

@bnaecker bnaecker 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, thanks! For the standalone Nexus implementation, I'd do whatever is easiest. That's a developer convenience, and there are only two methods that we need to implement. If there's some way to keep them in sync with the new trait-based server, that would be great, but it's not critical.

@sunshowers
Copy link
Contributor Author

@bnaecker Thanks. At the moment, it's easiest to just have its own thing. But it's a good data point to consider while determining future Dropshot improvements.

@sunshowers sunshowers merged commit e346fd1 into main Jul 22, 2024
25 checks passed
@sunshowers sunshowers deleted the sunshowers/spr/oximeter-turn-api-into-a-trait branch July 22, 2024 19:07
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

Successfully merging this pull request may close these issues.

2 participants