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 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 UnexpectedDeviceOnlineStateErr prometheus.Counter UnexpectedDeviceOfflineStateErr 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
Click to show internal directories.
Click to hide internal directories.