-
Notifications
You must be signed in to change notification settings - Fork 26
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
api: New API with health endpoint #139
Conversation
Codecov Report
@@ Coverage Diff @@
## master #139 +/- ##
==========================================
+ Coverage 67.66% 71.71% +4.05%
==========================================
Files 32 37 +5
Lines 1976 2747 +771
==========================================
+ Hits 1337 1970 +633
- Misses 570 678 +108
- Partials 69 99 +30
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
d43f613
to
c7a5dc3
Compare
Remove telemetry from default template. It is not yet available. Add tests and minor refactoring for testability. Address linter complaints. Revert some unnecessary refactoring.
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 the video demo, very neat and we should do it more often.
I also tried it out on sandbox, but failed -- it looks like the metrics endpoint is exposed, is there a similar thing we can do for /health
or am I just misusing it?
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.
still working through the review, but I was pinged and don't want to keep folks waiting
Co-authored-by: Zeph Grunschlag <[email protected]>
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.
IMO, this is approvable, but let's wait for #128 to get merged in first.
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.
LGTM -- do we need to do something special to expose this endpoint in sandbox environments?
A new port would need to be exposed for this to be available in sandbox |
Summary
Add a new option for an API which includes a health endpoint to return the current round.
Demo and overview.
Test Plan
New unit tests.