Documentation ¶
Index ¶
Constants ¶
View Source
const AppName = "cloudmonitor"
Variables ¶
This section is empty.
Functions ¶
func NewCloudMonitorCollector ¶
func NewCloudMonitorCollector(appName string, cfg *config.Config, rate int, logger log.Logger) (map[string]prometheus.Collector, error)
NewCloudMonitorCollector create a new collector for cloud monitor
func NewCloudMonitorCollectorFromURL ¶
func NewCloudMonitorCollectorFromURL(cli *client.MetricClient, cloudID string, cfg *config.Config, rate int, logger log.Logger) map[string]prometheus.Collector
NewCloudMonitorCollectorFromURL create a new collector from HTTP Request URL for cloud monitor
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.