Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertAllMetricsHaveBeenRegistered ¶
func AssertAllMetricsHaveBeenRegistered(t *testing.T, metrics MetricsRegisterer)
Types ¶
type MetricsRegisterer ¶
type MetricsRegisterer interface {
MustRegister(reg metrics.RegistererGatherer)
}
type RegistererFuncs ¶
type RegistererFuncs struct { metrics.RegistererGatherer RegisterCount int RegisterFunc func(registry prometheus.Collector) error MustRegisterCount int MustRegisterFunc func(registry ...prometheus.Collector) }
func (*RegistererFuncs) MustRegister ¶
func (r *RegistererFuncs) MustRegister(registry ...prometheus.Collector)
func (*RegistererFuncs) Register ¶
func (r *RegistererFuncs) Register(registry prometheus.Collector) error
Click to show internal directories.
Click to hide internal directories.