Versions in this module Expand all Collapse all v3 v3.4.15 Feb 24, 2021 Changes in this version + const PathHealth + const PathMetrics + const PathProxyHealth + const PathProxyMetrics + func HandleBasic(lg *zap.Logger, mux *http.ServeMux, server etcdserver.ServerPeer) + func HandleMetricsHealth(lg *zap.Logger, mux *http.ServeMux, srv etcdserver.ServerV2) + func HandleMetricsHealthForV3(lg *zap.Logger, mux *http.ServeMux, srv *etcdserver.EtcdServer) + func HandlePrometheus(mux *http.ServeMux) + func NewHealthHandler(lg *zap.Logger, hfunc func() Health) http.HandlerFunc + func NewPeerHandler(lg *zap.Logger, s etcdserver.ServerPeerV2) http.Handler + func WriteError(lg *zap.Logger, w http.ResponseWriter, r *http.Request, err error) + type Health struct + Health string + Reason string