Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Metric5GCurrentBand = prometheus.NewGauge(prometheus.GaugeOpts{
Namespace: "gomo",
Subsystem: "5g",
Name: "band",
Help: "The current Band of the 5G radio. GHz",
})
View Source
var Metric5GCurrentCellID = prometheus.NewGauge(prometheus.GaugeOpts{
Namespace: "gomo",
Subsystem: "5g",
Name: "cell_id",
Help: "The current CellID of the 5G radio. GHz",
})
View Source
var Metric5GCurrentDownlinkARFCN = prometheus.NewGauge(prometheus.GaugeOpts{
Namespace: "gomo",
Subsystem: "5g",
Name: "downlink_nr_arfcn",
Help: "The absolute radio frequency channel number of teh radio at this point in time",
})
View Source
var Metric5GCurrentRSRP = prometheus.NewGauge(prometheus.GaugeOpts{
Namespace: "gomo",
Subsystem: "5g",
Name: "rsrp",
Help: "The current RSRP of the 5G radio at this point in time. dBm",
})
View Source
var Metric5GCurrentRSRQ = prometheus.NewGauge(prometheus.GaugeOpts{
Namespace: "gomo",
Subsystem: "5g",
Name: "rsrq",
Help: "The current RSRQ of the 5G radio at this point in time. dBm",
})
View Source
var Metric5GCurrentSNR = prometheus.NewGauge(prometheus.GaugeOpts{
Namespace: "gomo",
Subsystem: "5g",
Name: "snr",
Help: "The current SNR of the 5G radio at this point in time. dB",
})
View Source
var MetricCellularBytesRecv = prometheus.NewGauge(prometheus.GaugeOpts{
Namespace: "gomo",
Subsystem: "cell",
Name: "bytes_received",
Help: "The reported number of bytes received over the cellular connection this uptime",
})
View Source
var MetricCellularBytesSent = prometheus.NewGauge(prometheus.GaugeOpts{
Namespace: "gomo",
Subsystem: "cell",
Name: "bytes_sent",
Help: "The reported number of bytes sent over the cellular connection this uptime",
})
View Source
var MetricConnectionStatus = prometheus.NewGauge(prometheus.GaugeOpts{
Namespace: "gomo",
Subsystem: "wan",
Name: "connection_status",
Help: "The reported connection status of the device. integer bool",
})
View Source
var MetricLTECurrentBand = prometheus.NewGauge(prometheus.GaugeOpts{
Namespace: "gomo",
Subsystem: "lte",
Name: "band",
Help: "The current Band of the 5G radio. GHz",
})
View Source
var MetricLTECurrentCellID = prometheus.NewGauge(prometheus.GaugeOpts{
Namespace: "gomo",
Subsystem: "lte",
Name: "cell_id",
Help: "The current CellID of the 5G radio. GHz",
})
View Source
var MetricLTECurrentDownlinkARFCN = prometheus.NewGauge(prometheus.GaugeOpts{
Namespace: "gomo",
Subsystem: "lte",
Name: "downlink_nr_arfcn",
Help: "The absolute radio frequency channel number of teh radio at this point in time",
})
View Source
var MetricLTECurrentRSRP = prometheus.NewGauge(prometheus.GaugeOpts{
Namespace: "gomo",
Subsystem: "lte",
Name: "rsrp",
Help: "The current RSRP of the 5G radio at this point in time. dBm",
})
View Source
var MetricLTECurrentRSRQ = prometheus.NewGauge(prometheus.GaugeOpts{
Namespace: "gomo",
Subsystem: "lte",
Name: "rsrq",
Help: "The current RSRQ of the 5G radio at this point in time. dBm",
})
View Source
var MetricLTECurrentRSSI = prometheus.NewGauge(prometheus.GaugeOpts{
Namespace: "gomo",
Subsystem: "lte",
Name: "rssi",
Help: "The absolute radio frequency channel number of teh radio at this point in time",
})
View Source
var MetricLTECurrentSNR = prometheus.NewGauge(prometheus.GaugeOpts{
Namespace: "gomo",
Subsystem: "lte",
Name: "snr",
Help: "The current SNR of the 5G radio at this point in time. dB",
})
View Source
var Metrics5G = map[string]prometheus.Gauge{ "cell_id": Metric5GCurrentCellID, "band": Metric5GCurrentBand, "snr": Metric5GCurrentSNR, "rsrp": Metric5GCurrentRSRP, "rsrq": Metric5GCurrentRSRQ, "arfcn": Metric5GCurrentDownlinkARFCN, }
Metrics5G is a convenience var for 5G metric gauges
View Source
var MetricsLTE = map[string]prometheus.Gauge{ "cell_id": MetricLTECurrentCellID, "band": MetricLTECurrentBand, "snr": MetricLTECurrentSNR, "rsrp": MetricLTECurrentRSRP, "rsrq": MetricLTECurrentRSRQ, "rssi": MetricLTECurrentRSSI, "arfcn": MetricLTECurrentDownlinkARFCN, }
MetricsLTE is a convenience var for LTE metric gauges
View Source
var MetricsMisc = map[string]prometheus.Gauge{ "connection_status": MetricConnectionStatus, "bytes_sent": MetricCellularBytesSent, "bytes_recv": MetricCellularBytesRecv, }
MetricsMisc is a convenience var for misc metric gauges
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.