mirror of
https://github.com/TECHNOFAB11/zfs-localpv.git
synced 2025-12-11 22:10:11 +01:00
chore(analytics): Send install & ping events on zfs-localpv start (#386)
Signed-off-by: Abhishek Agarwal <abhishek.agarwal@mayadata.io>
This commit is contained in:
parent
9d2966057a
commit
d7115eefe9
1 changed files with 5 additions and 0 deletions
|
|
@ -119,6 +119,11 @@ func (cs *controller) init() error {
|
|||
go cs.k8sNodeInformer.Run(stopCh)
|
||||
go cs.zfsNodeInformer.Run(stopCh)
|
||||
|
||||
if zfs.GoogleAnalyticsEnabled == "true" {
|
||||
analytics.New().Build().InstallBuilder(true).Send()
|
||||
go analytics.PingCheck()
|
||||
}
|
||||
|
||||
// wait for all the caches to be populated.
|
||||
klog.Info("waiting for k8s & zfs node informer caches to be synced")
|
||||
cache.WaitForCacheSync(stopCh,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue