package
Version:
v1.2.2
Opens a new window with list of versions in this module.
Published: Dec 9, 2023
License: MIT
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
const (
DefaultTimeout = 5 * time.Second
)
NewCollector creates a collector instance
type ArvancloudCollector interface {
}
ArvancloudCollector is the interface a collector has to implement.
type Option func(*collector)
Option applies options to collector
WithCDN enables CDN metrics
WithObject enables ObjectStorage metrics
WithTimeout sets timeout for connecting to router
Source Files
¶
Click to show internal directories.
Click to hide internal directories.