#grpc #async #health-check #rpc

tonic-health

Health Checking module of tonic gRPC implementation

27 unstable releases

0.14.2 Sep 2, 2025
0.14.0 Jul 28, 2025
0.13.0 Mar 25, 2025
0.12.3 Sep 26, 2024
0.2.0 Jul 23, 2020

#458 in Network programming

Download history 550758/week @ 2025-09-23 575199/week @ 2025-09-30 521085/week @ 2025-10-07 521877/week @ 2025-10-14 499293/week @ 2025-10-21 535058/week @ 2025-10-28 508759/week @ 2025-11-04 499100/week @ 2025-11-11 546356/week @ 2025-11-18 287997/week @ 2025-11-25 389919/week @ 2025-12-02 553507/week @ 2025-12-09 455294/week @ 2025-12-16 139702/week @ 2025-12-23 207817/week @ 2025-12-30 488948/week @ 2026-01-06

1,384,674 downloads per month
Used in 145 crates (71 directly)

MIT license

535KB
11K SLoC

A tonic based gRPC healthcheck implementation.

Example

An example can be found here.


tonic-health

A tonic based gRPC healthcheck implementation. It closely follows the official health checking protocol, although it may not implement all features described in the specs.

Please follow the example in the main repo to see how it works.

Features

  • transport: Provides the ability to set the service by using the type system and the NamedService trait. You can use it like that:
    let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
    let client = HealthClient::new(conn);

Dependencies

~8–12MB
~123K SLoC