health: Add List method to gRPC Health service#8155
health: Add List method to gRPC Health service#8155arjan-bal merged 13 commits intogrpc:masterfrom marcoshuck:health_list
Conversation
This change introduces a new `List` RPC endpoint for the Health service, allowing clients to retrieve the statuses of all monitored services. This feature simplifies integration with status-reporting dashboards and enhances observability for microservices. Proposal: grpc/proposal#468 gRPC-proto change: grpc/grpc-proto#143 Signed-off-by: Marcos Huck <[email protected]>
There was a problem hiding this comment.
I regenerated the Go stubs using the work in progress version of grpc/grpc-proto#143
There was a problem hiding this comment.
I regenerated the Go stubs using the work in progress version of grpc/grpc-proto#143
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #8155 +/- ##
==========================================
+ Coverage 82.08% 82.15% +0.06%
==========================================
Files 417 419 +2
Lines 41344 41988 +644
==========================================
+ Hits 33936 34494 +558
- Misses 5972 6023 +51
- Partials 1436 1471 +35
🚀 New features to boost your workflow:
|
purnesh42H
left a comment
There was a problem hiding this comment.
@marcoshuck i think we need to wait for the proposal and proto change to be merged before this? I still see them in review
@dfawley cc
Signed-off-by: Marcos Huck <[email protected]>
|
This PR is labeled as requiring an update from the reporter, and no update has been received after 6 days. If no update is provided in the next 7 days, this issue will be automatically closed. |
Signed-off-by: Marcos Huck <[email protected]>
Co-authored-by: Purnesh Dixit <[email protected]>
Signed-off-by: Marcos Huck <[email protected]>
|
@marcoshuck could you resolve the merge conflicts? |
Signed-off-by: Marcos Huck <[email protected]>
I did, however I cannot find the root cause for the vet error, any advice? |
goimports -w ./health/server_internal_test.go |
That did the trick, thank you! |
|
Filed #8276 for the flake. And we can ignore the vet-proto error - we need to regenerate our proto messages, but not in this PR. |
health/server_internal_test.go
Outdated
| } | ||
|
|
||
| // TestListResourceExhausted verifies that List( | ||
| // ) returns a ResourceExhausted error if no. of services are more than |
There was a problem hiding this comment.
nit: move the dangling bracket above
|
@marcoshuck 2 more small comments. Thanks. |
|
This PR is labeled as requiring an update from the reporter, and no update has been received after 6 days. If no update is provided in the next 7 days, this issue will be automatically closed. |
This change introduces a new
ListRPC endpoint for the Health service, allowing clients to retrieve the statuses of all monitored services. This feature simplifies integration with status-reporting dashboards and enhances observability for microservices.Proposal: grpc/proposal#468
gRPC-proto change: grpc/grpc-proto#143
RELEASE NOTES:
Listmethod to gRPC Health service.