Documentation ¶
Index ¶
Constants ¶
View Source
const ( NetworkLabelName = "networkID" GatewayLabelName = "gatewayID" CloudHostLabelName = "cloudHost" )
Variables ¶
This section is empty.
Functions ¶
func GetMetrics ¶
func GetMetrics() ([]*prometheus_proto.MetricFamily, error)
GetMetrics gathers metrics from Prometheus' default registry, and adds a timestamp to each metric. This method is called in Service303 Server's GetMetrics rpc implementation. All servicers register their metrics with the default registry by calling prometheus.MustRegister().
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.