VOL-4034: Per event.proto definition, the units of timestamp is in seconds.
- Move to voltha-lib-go version 4.3.1
- Bump adapter version to 3.3.2

Change-Id: Ia37527d2c09fad2c2772b5d6ba5e64035f177a91
diff --git a/internal/pkg/core/statsmanager.go b/internal/pkg/core/statsmanager.go
index c7b149f..6fc3e53 100755
--- a/internal/pkg/core/statsmanager.go
+++ b/internal/pkg/core/statsmanager.go
@@ -576,10 +576,10 @@
 		volthaEventSubCatgry = voltha.EventSubCategory_ONT
 	}
 
-	raisedTs := time.Now().UnixNano()
+	raisedTs := time.Now().Unix()
 	mmd := voltha.MetricMetaData{
 		Title:    statType,
-		Ts:       float64(raisedTs) / (1.0 * 1e9),
+		Ts:       float64(raisedTs),
 		Context:  metricsContext,
 		DeviceId: devID,
 	}
@@ -589,7 +589,7 @@
 
 	ke.SliceData = []*voltha.MetricInformation{&metricInfo}
 	ke.Type = voltha.KpiEventType_slice
-	ke.Ts = float64(time.Now().UnixNano()) / (1.0 * 1e9)
+	ke.Ts = float64(raisedTs)
 
 	if err := StatMgr.Device.EventProxy.SendKpiEvent(ctx, "STATS_EVENT", &ke, voltha.EventCategory_EQUIPMENT, volthaEventSubCatgry, raisedTs); err != nil {
 		logger.Errorw(ctx, "failed-to-send-stats", log.Fields{"err": err})