Documentation
¶
Index ¶
- func BuildHttpEndpoints(manager *health.HealthManager, endpoints Endpoints, logger *zap.Logger) http.Handler
- func StartBreakerReport(bk *breaker.Breaker, reporter *health.StatusReporter) closes.WithContextCloser
- func StartCircuitReport(cc *circuit.Circuit, reporter *health.StatusReporter) closes.WithContextCloser
- type Endpoints
- type HealthProm
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildHttpEndpoints ¶
func StartBreakerReport ¶
func StartBreakerReport(bk *breaker.Breaker, reporter *health.StatusReporter) closes.WithContextCloser
func StartCircuitReport ¶
func StartCircuitReport(cc *circuit.Circuit, reporter *health.StatusReporter) closes.WithContextCloser
Types ¶
type HealthProm ¶
type HealthProm struct {
// contains filtered or unexported fields
}
func New ¶
func New(manager *health.HealthManager, serviceName string, logger *zap.Logger) *HealthProm
func (*HealthProm) Collect ¶
func (prom *HealthProm) Collect(ch chan<- prometheus.Metric)
func (*HealthProm) Describe ¶
func (prom *HealthProm) Describe(ch chan<- *prometheus.Desc)
func (*HealthProm) MustRegister ¶
func (prom *HealthProm) MustRegister()
Click to show internal directories.
Click to hide internal directories.