Documentation ¶
Index ¶
Constants ¶
View Source
const ( MetricPhysicalLinkStatus = "physicalLinkStatus" MetricLayer1DownstreamMaxBitRate = "layer1DownstreamMaxBitRate" MetricLayer1UpstreamMaxBitRate = "layer1UpstreamMaxBitRate" MetricTotalBytesSent = "totalBytesSent" MetricTotalBytesReceived = "totalBytesReceived" MetricTotalPacketsSent = "totalPacketsSent" MetricTotalPacketsReceived = "totalPacketsReceived" )
Variables ¶
This section is empty.
Functions ¶
func ConvertPhysicalLinkStatus ¶
func ConvertPhysicalLinkStatus(status fritzbox.PhysicalLinkStatus) float64
ConvertPhysicalLinkStatus converts the physical link status string to a float64 metric value. 1 = Up; 0.5 = Initializing; 0 = Down; -1 = Unavailable;
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.