Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Log is the global analytics logger. Log events created via this object are // automatically pushed into our analytics system. Log = newAnalyticsLogger() )
Functions ¶
func NewLogHook ¶
NewHook creates a new hook that forwards log messages to the Kelda analytics system.
func SetCustomer ¶
func SetCustomer(c string)
SetCustomer sets the customer name that is automatically added to analytics events.
func SetKubeVersion ¶
func SetKubeVersion(version string)
SetKubeVersion sets the Kubernetes version that is automatically added to analytics events.
func SetNamespace ¶
func SetNamespace(ns string)
SetNamespace sets the namespace that is automatically added to analytics events.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.