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" NumTasksVarName = "num_tasks" NumEnabledTasksVarName = "num_enabled_tasks" NumSubscriptionsVarName = "num_subscriptions" UptimeVarName = "uptime" // The name of the product Product = "kapacitor" )
Variables ¶
Functions ¶
func DeleteStatistic ¶
func DeleteStatistic(key string)
DeleteStatistic removes the specified statistic from the published map.
func NewStatistic ¶
NewStatistic creates a new statistic in the published expvar map.
Types ¶
Click to show internal directories.
Click to hide internal directories.