Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Gauge ¶
type Gauge struct { VMGauge *VMGauge IPGauge *IPGauge StorageGauge *StorageGauge }
Gauge represents all gauges.
type IPGauge ¶
type IPGauge struct { Timestamp *prometheus.GaugeVec MeasurementTime *prometheus.GaugeVec IPCount *prometheus.GaugeVec }
IPGauge represents IP gauges exported to Prometheus.
type StorageGauge ¶
type StorageGauge struct { Timestamp *prometheus.GaugeVec CreateTime *prometheus.GaugeVec FileCount *prometheus.GaugeVec StartTime *prometheus.GaugeVec EndTime *prometheus.GaugeVec ResourceCapacityUsed *prometheus.GaugeVec LogicalCapacityUsed *prometheus.GaugeVec ResourceCapacityAllocated *prometheus.GaugeVec }
StorageGauge represents storage gauges exported to Prometheus.
func (*StorageGauge) Export ¶
func (stg *StorageGauge) Export(rec record.Record)
Export exports storage gauges to Prometheus.
func (*StorageGauge) Register ¶
func (stg *StorageGauge) Register()
Register registers storage gauge.
type VMGauge ¶
type VMGauge struct { Timestamp *prometheus.GaugeVec StartTime *prometheus.GaugeVec EndTime *prometheus.GaugeVec SuspendDuration *prometheus.GaugeVec WallDuration *prometheus.GaugeVec CPUDuration *prometheus.GaugeVec CPUCount *prometheus.GaugeVec NetworkInbound *prometheus.GaugeVec NetworkOutbound *prometheus.GaugeVec PublicIPCount *prometheus.GaugeVec Memory *prometheus.GaugeVec Disk *prometheus.GaugeVec }
VMGauge represents virtual machine/server gauges exported to Prometheus.
Click to show internal directories.
Click to hide internal directories.