thank you very much. this is what i was looking for. but why there is no mention of this class in docs or anywhere? none the less, thank you very much... also, i was depending on `grpc-protobuf` and `grpc-protobuff` and runtime `grpc-netty-shaded`, since examples are doing the same. it took me 10 mins to figure out it's in `grpc-services`. rn, for testing i used, `grpc-all` and it's working. but `all` is quite heavy it seems. i will only use `grpc-services`, if that works. anyway, that's on my side... :)
Many thanks, siddhant kumar On Sunday, August 28, 2022 at 3:28:09 AM UTC+5:30 sanjay...@google.com wrote: > For Java take a look at > https://github.com/grpc/grpc-java/blob/master/services/src/main/java/io/grpc/protobuf/services/HealthStatusManager.java > > to see if that's what you're looking for. > > > > On Sat, Aug 27, 2022 at 9:03 AM Siddhant <sidd...@myeglu.com> wrote: > >> hi all, >> i am trying to add simple health check to my grpc application, but unable >> to >> the documentation are lacking any good example, maybe it's very trivial >> and i am just not able to understand. >> i followed the docs on >> https://cloud.google.com/blog/topics/developers-practitioners/health-checking-your-grpc-servers-gke. >> >> but i didn't understand what i need to do? >> 2nd, >> https://github.com/grpc-ecosystem/grpc-health-probe/#using-the-grpc-health-checking-protocol >> >> here it say, "Most of the languages listed above provide helper functions >> that hides implementation details. This eliminates the need for you to >> implement the Check rpc yourself." but there's nothing like >> HealthGrpc predefined. >> from https://github.com/grpc/grpc/blob/master/doc/health-checking.md do >> i need to declare this .proto file? i did and generated source files, but >> idk what to do now. >> i can't find any example or anything. maybe i didn't search enough, idk. >> it would be very helpful if someone could guide me... >> >> thank you, >> siddhant kumar >> >> links, >> >> https://cloud.google.com/blog/topics/developers-practitioners/health-checking-your-grpc-servers-gke >> https://github.com/grpc-ecosystem/grpc-health-probe/ >> >> https://github.com/grpc/grpc-java/blob/master/services/src/generated/main/grpc/io/grpc/health/v1/HealthGrpc.java >> https://github.com/grpc/grpc/blob/master/doc/health-checking.md >> >> https://grpclib.readthedocs.io/en/latest/health.html >> >> -- >> You received this message because you are subscribed to the Google Groups >> "grpc.io" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to grpc-io+u...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/grpc-io/9b1a79bb-3e2d-451f-9315-b04036a79c6bn%40googlegroups.com >> >> <https://groups.google.com/d/msgid/grpc-io/9b1a79bb-3e2d-451f-9315-b04036a79c6bn%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/5e8063e3-b7ae-4cba-97fb-d4f25fb71ba8n%40googlegroups.com.