Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetricsFactory ¶ added in v0.1.7
type MetricsFactory interface { NewCounter(string, string, []string) *prometheus.CounterVec NewGauge(string, string, []string) *prometheus.GaugeVec NewHistogram(string, string, []string) prometheus.ObserverVec }
MetricRecorder is used to record metrics from a component
func NewMetricsFactory ¶ added in v0.1.7
func NewMetricsFactory(r prometheus.Registerer, o MetricsFactoryOptions) (MetricsFactory, error)
Click to show internal directories.
Click to hide internal directories.