Documentation ¶
Index ¶
Constants ¶
View Source
const ( ServiceModeUnknown = "unknown" ServiceModeReplicated = "replicated" ServiceModeGlobal = "global" )
Variables ¶
This section is empty.
Functions ¶
func ExportNodeMetrics ¶
func ExportNodeMetrics(metrics []model.NodeMetrics)
ExportNodeMetrics expose the node metrics
func ExportServiceMetrics ¶
func ExportServiceMetrics(metrics []model.ServiceMetrics)
ExportServiceMetrics set correct gauges and counters for service metrics
func ExportSwarmClusterInfo ¶
func ExportSwarmClusterInfo(m model.SwarmMetrics)
ExportSwarmClusterInfo set gauges regarding swarm cluster information
func GetNodeList ¶
func GetServiceList ¶
func GetSwarmInfo ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.