var unavailableGaugeDesc …
type Metrics …
func New() *Metrics { … }
func (m *Metrics) Register(
registrationFunc func(metrics.Registerable) error,
customRegistrationFunc func(metrics.StableCollector) error,
) error { … }
func (m *Metrics) UnavailableCounter(apiServiceName, reason string) metrics.CounterMetric { … }
type availabilityCollector …
func (m *Metrics) SetUnavailableGauge(newAPIService *apiregistrationv1.APIService) { … }
func (m *Metrics) SetUnavailableCounter(originalAPIService, newAPIService *apiregistrationv1.APIService) { … }
var _ …
func newAvailabilityCollector() *availabilityCollector { … }
func (c *availabilityCollector) DescribeWithStability(ch chan<- *metrics.Desc) { … }
func (c *availabilityCollector) CollectWithStability(ch chan<- metrics.Metric) { … }
func (c *availabilityCollector) SetAPIServiceAvailable(apiServiceKey string) { … }
func (c *availabilityCollector) SetAPIServiceUnavailable(apiServiceKey string) { … }
func (c *availabilityCollector) setAPIServiceAvailability(apiServiceKey string, availability bool) { … }
func (c *availabilityCollector) ForgetAPIService(apiServiceKey string) { … }