Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MustRegister ¶
func MustRegister(cs ...metrics.KubeCollector)
MustRegister works like Register but registers any number of Collectors and panics upon the first registration that causes an error. Registration is deferred until the global registry has a version to use.
func Register ¶
func Register(c metrics.KubeCollector) error
Register registers a collectable metric, but it uses a global registry. Registration is deferred until the global registry has a version to use.
func SetRegistryFactoryVersion ¶
func SetRegistryFactoryVersion(ver apimachineryversion.Info) []error
SetRegistryFactoryVersion sets the kubernetes version information for all subsequent metrics registry initializations. Only the first call has an effect. If a version is not set, then metrics registry creation will no-opt
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.