https://github.com/pvzig/grpc-health-probe-swift
Swift utility for querying health of gRPC services through the gRPC Health Checking Protocol
https://github.com/pvzig/grpc-health-probe-swift
Last synced: about 1 year ago
JSON representation
Swift utility for querying health of gRPC services through the gRPC Health Checking Protocol
- Host: GitHub
- URL: https://github.com/pvzig/grpc-health-probe-swift
- Owner: pvzig
- License: mit
- Created: 2023-03-03T15:24:57.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-14T19:27:33.000Z (about 3 years ago)
- Last Synced: 2025-01-14T06:47:45.991Z (over 1 year ago)
- Language: Swift
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# grpc-health-probe-swift
This is a Swift implementation of [grpc_health_probe](https://github.com/grpc-ecosystem/grpc-health-probe). You should probably just use that instead.
> The `grpc_health_probe` utility allows you to query health of gRPC services that
> expose service their status through the [gRPC Health Checking Protocol](https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
>
> `grpc_health_probe` is meant to be used for health checking gRPC applications in
> [Kubernetes](https://kubernetes.io/blog/2018/10/01/health-checking-grpc-servers-on-kubernetes), using the [exec probes](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#define-a-liveness-command).
Usage:
`./grpc-health-probe localhost:50000 --connection-timeout 5`