Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Registry ¶
type Registry struct {
// Inherited prometheus registry.
*prometheus.Registry
// 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.
Click to show internal directories.
Click to hide internal directories.