Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RegistererGatherer ¶
type RegistererGatherer interface {
prometheus.Registerer
prometheus.Gatherer
}
type Registry ¶
type Registry struct {
// Inherited prometheus registry.
RegistererGatherer
// contains filtered or unexported fields
}
Custom prometheus registry that adds functionality to the default registry.
func NewRegistry ¶
func NewRegistry(config conf.MonitoringConfig) *Registry
Create a new registry with the given configuration. This registry will include the default go collector and process collector.
func WrapRegistry ¶
func WrapRegistry(registry RegistererGatherer, config conf.MonitoringConfig) *Registry
Click to show internal directories.
Click to hide internal directories.