collector

package
v0.0.0-...-83bb8e0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 18, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL