custom_metrics

package
v0.0.0-...-0e4f5d7 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	IoTConfig = prometheus.NewGauge(
		prometheus.GaugeOpts{
			Name:        "iot_configs",
			Help:        "Number of IoT Configs",
			ConstLabels: defaultLabels(),
		},
	)
	IoTConfigActive = prometheus.NewGauge(
		prometheus.GaugeOpts{
			Name:        "iot_configs_active",
			Help:        "Number of IoT Configs with status 'active'",
			ConstLabels: defaultLabels(),
		},
	)
	IoTConfigConfiguring = prometheus.NewGauge(
		prometheus.GaugeOpts{
			Name:        "iot_configs_configuring",
			Help:        "Number of IoT Configs with status 'configuring'",
			ConstLabels: defaultLabels(),
		},
	)
	IoTConfigTerminating = prometheus.NewGauge(
		prometheus.GaugeOpts{
			Name:        "iot_configs_terminating",
			Help:        "Number of IoT Configs with status 'terminating'",
			ConstLabels: defaultLabels(),
		},
	)
	IoTConfigFailed = prometheus.NewGauge(
		prometheus.GaugeOpts{
			Name:        "iot_configs_failed",
			Help:        "Number of IoT Configs with status 'failed'",
			ConstLabels: defaultLabels(),
		},
	)

	IoTProject = prometheus.NewGauge(
		prometheus.GaugeOpts{
			Name:        "iot_projects",
			Help:        "Number of IoT Projects",
			ConstLabels: defaultLabels(),
		},
	)
	IoTProjectActive = prometheus.NewGauge(
		prometheus.GaugeOpts{
			Name:        "iot_projects_active",
			Help:        "Number of IoT Projects with status 'active'",
			ConstLabels: defaultLabels(),
		},
	)
	IoTProjectConfiguring = prometheus.NewGauge(
		prometheus.GaugeOpts{
			Name:        "iot_projects_configuring",
			Help:        "Number of IoT Projects with status 'configuring'",
			ConstLabels: defaultLabels(),
		},
	)
	IoTProjectTerminating = prometheus.NewGauge(
		prometheus.GaugeOpts{
			Name:        "iot_projects_terminating",
			Help:        "Number of IoT Projects with status 'terminating'",
			ConstLabels: defaultLabels(),
		},
	)
	IoTProjectFailed = prometheus.NewGauge(
		prometheus.GaugeOpts{
			Name:        "iot_projects_failed",
			Help:        "Number of IoT Projects with status 'failed'",
			ConstLabels: defaultLabels(),
		},
	)
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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