Statics§
- ACTIVE_
CONNECTIONS - Number of currently open TCP/QUIC connections.
- ERRORS_
TOTAL - Requests that caused an application-level error (app.execute returned Err).
- REQUESTS_
TOTAL - Total HTTP requests handled across all connections and protocols.
- SERVER_
READY - Set to
trueaftercrate::server::Server::setupcompletes. The/readyzcontroller returns503until this istrue. Set back tofalsewhen a shutdown signal is received so that Kubernetes stops routing traffic before the pod exits.
Functions§
- connection_
close - connection_
open - prometheus_
text - Returns a Prometheus text-format snapshot of all metrics.
- record_
error - record_
request