#http-service #probe #state #health #querying

service-probe

Probe for querying service state through a minimal HTTP service

2 releases

new 0.1.1 Nov 20, 2024
0.1.0 Nov 19, 2024

#347 in HTTP server

Download history 114/week @ 2024-11-13

118 downloads per month

MIT/Apache

13KB
143 lines

Service Probe

This crate provides an easy way to start a HTTP server that can be used for making the status of a service transparent to observers. The main use case is to communicate information about the health status of a service in containerized environments.

The "main" service does not need to provide a HTTP server on its own, the probe will spin up its own minimalistic HTTP server.


lib.rs:

Service probe

This crate provides an easy way to start a HTTP server that can be used for making the status of a service transparent to observers. The main use case is to communicate information about the health status of a service in containerized environments.

Tasks and synchronization throughout this crate uses tokio functionality, so the runtime must be present and running when the functions of this crate are called.

Dependencies

~5–13MB
~161K SLoC