metrics

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Metrics

type Metrics struct {
	AuthCount     prometheus.Counter
	AuthLatencyMs prometheus.Gauge
	AuthErr       prometheus.Counter

	DeviceMetaUpdateCount     prometheus.Counter
	DeviceMetaUpdateLatencyMs prometheus.Gauge
	DeviceMetaUpdateErr       prometheus.Counter

	DeviceRepoRequestCount     prometheus.Counter
	DeviceRepoRequestLatencyMs prometheus.Gauge
	DeviceRepoRequestErr       prometheus.Counter

	PermissionsRequestCount     prometheus.Counter
	PermissionsRequestLatencyMs prometheus.Gauge
	PermissionsRequestErr       prometheus.Counter

	DeviceDataRequestCount     prometheus.Counter
	DeviceDataRequestLatencyMs prometheus.Gauge
	DeviceDataRequestErr       prometheus.Counter

	ConnectorLoginCount     prometheus.Counter
	ConnectorLoginLatencyMs prometheus.Gauge
	ConnectorLoginErr       prometheus.Counter

	ConnectorSubscribeCount     prometheus.Counter
	ConnectorSubscribeLatencyMs prometheus.Gauge
	ConnectorSubscribeErr       prometheus.Counter

	ConnectorPublishCount     prometheus.Counter
	ConnectorPublishLatencyMs prometheus.Gauge
	ConnectorPublishErr       prometheus.Counter

	NotificationPublishCount     prometheus.Counter
	NotificationPublishLatencyMs prometheus.Gauge
	NotificationPublishErr       prometheus.Counter

	NotificationReadCount     prometheus.Counter
	NotificationReadLatencyMs prometheus.Gauge
	NotificationReadErr       prometheus.Counter

	NotificationDeleteCount     prometheus.Counter
	NotificationDeleteLatencyMs prometheus.Gauge
	NotificationDeleteErr       prometheus.Counter

	UnexpectedPermissionsDeviceOnlineStateErr  prometheus.Counter
	UnexpectedPermissionsDeviceOfflineStateErr prometheus.Counter
	UnexpectedPermissionsMetadataErr           prometheus.Counter
	UnexpectedDeviceRepoMetadataErr            prometheus.Counter
	UnexpectedDeviceDataErr                    prometheus.Counter
	UnexpectedNotificationStateErr             prometheus.Counter
	UncategorizedErr                           prometheus.Counter

	ProcessDeploymentErr                              prometheus.Counter
	ProcessStartErr                                   prometheus.Counter
	UnexpectedProcessInstanceStateErr                 prometheus.Counter
	ProcessUnexpectedCommandCountError                prometheus.Counter
	ProcessInstanceDurationMs                         prometheus.Gauge
	ProcessPreparedDeploymentErr                      prometheus.Counter
	ProcessUnexpectedPreparedDeploymentSelectablesErr prometheus.Counter

	EventProcessDeploymentErr                              prometheus.Counter
	UnexpectedEventProcessInstanceStateErr                 prometheus.Counter
	EventProcessInstanceDurationMs                         prometheus.Gauge
	EventProcessPreparedDeploymentErr                      prometheus.Counter
	EventProcessUnexpectedPreparedDeploymentSelectablesErr prometheus.Counter
}

func NewMetrics

func NewMetrics(reg prometheus.Registerer) *Metrics

Jump to

Keyboard shortcuts

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