service ping
Hi,
is there any option to ping tensorflow serving, in order to check if the service is up and running ? That is especially helpful in environments where each service monitored via ping and health endpoints.
Thanks,
For anyone interested, I made a small tensorflow serving health probe. It communicates with tensorflow serving over grpc, calling the ModelService.GetModelStatus() rpc, and ensures a model status of AVAILABLE. It can be used as a kubernetes exec probe, similar to grpc_health_probe.
tfs_model_status_probe - TensorFlow Serving Model Status Probe https://github.com/codycollier/tfs-model-status-probe
Hi @mazorigal
Could you kindly look at this PR and @codycollier's comment, please confirm if this issue can be closed? Thanks
Hi @mazorigal
Closing this issue due to lack of inactivity. Please feel free to reopen if this still exists.Thanks
Has a health check been added? If so can you point me to it? I think everyone on this issue agrees a health check is necessary. Why would the ticket be closed due to inactivity?
As far as I know the tensorflow_model_server does not support a health check RPC as in
https://github.com/grpc/grpc/blob/master/doc/health-checking.md
What I've used instead in my project are GetModelMetadataRequest calls to the servers to check for liveness and model presence.
I am trying to do this but the GetModelMetadata succeeds event though the Predict doesn't.
when I am making the service unavailable stub.Predict throws the following error:
<_InactiveRpcError of RPC that terminated with:
status = StatusCode.UNAVAILABLE
However GetModelMetadata does not throw any error.
Why is this closed? How is it that a flagship google product (tensorflow serving) doesn’t implement its own company’s health check protocol? Seems wild to me