Documentation ¶
Index ¶
Constants ¶
View Source
const ( // List of names for top-level exported vars ClusterIDVarName = "cluster_id" ServerIDVarName = "server_id" HostVarName = "host" ProductVarName = "product" VersionVarName = "version" PlatformVarName = "platform" NumTasksVarName = "num_tasks" NumEnabledTasksVarName = "num_enabled_tasks" NumSubscriptionsVarName = "num_subscriptions" UptimeVarName = "uptime" // The name of the product Product = "kapacitor" )
Variables ¶
View Source
var ( // Global expvars NumTasksVar = &kexpvar.Int{} NumEnabledTasksVar = &kexpvar.Int{} NumSubscriptionsVar = kexpvar.NewIntSum() ClusterIDVar = &kexpvar.UUID{} ServerIDVar = &kexpvar.UUID{} HostVar = &kexpvar.String{} ProductVar = &kexpvar.String{} VersionVar = &kexpvar.String{} PlatformVar = &kexpvar.String{} )
View Source
var Info = info{}
Functions ¶
func DeleteStatistic ¶
func DeleteStatistic(key string)
DeleteStatistic removes the specified statistic from the published map.
Types ¶
Click to show internal directories.
Click to hide internal directories.