Skip to content

Latest commit

 

History

History
 
 

grpc

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Healthcheck for gRPC Flow

Start a Flow with gRPC protocol

jina flow --uses flow.yml

Check if the Flow is healthy

Healthy Flow
go run main.go --host localhost:12345
Flow running at localhost:12345 is healthy!
Unhealthy Flow
go run main.go --host localhost:12346
panic: failed to check health: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp 127.0.0.1:12345: connect: connection refused"