Documentation ¶
Overview ¶
Package parse configures files and domain files
Package parse configures files and domain files
Index ¶
Constants ¶
View Source
const ( MetricRTT = "rtt" MetricRetrans = "retrans" MetricTotalConnections = "total_connections" MetricRetranRate = "retran_rate" MetricRto = "rto" MetricByteSent = "bytes_sent" MetricBytesReceived = "bytes_received" SsLocalAddr = "localAddr" SsPeerAddr = "peerAddr" AggSum = "sum" AggAvg = "avg" AggMax = "max" AggMin = "min" AggAlert = "alert" AggRate = "rate" )
Variables ¶
This section is empty.
Functions ¶
func GetClusterAddress ¶
GetClusterAddress get the address and port of a remote domain connected by a local domain
func GetIPFromDomain ¶
GetIPFromDomain get a list of IP addresses from a local domain name
func LoadMetricConfig ¶
ReadConfig read the configuration and return each entry
Types ¶
type MonitorConfig ¶
Config define the structure of the configuration file
Click to show internal directories.
Click to hide internal directories.