-
Type: Story
-
Status: Resolved (View Workflow)
-
Priority: Low
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: VOLTHA v2.8
-
Component/s: openonu-adapter
-
Labels:
-
Story Points:1
-
Epic Link:
-
Sprint:VOLTHA Sprint 1, VOLTHA Sprint 2
Voltha events from openonu-go-adpter for PM-data contain a wrong 'raisedTs', 'reportedTs is correct.
Example (printout of voltctl):
{
"header": {
"id": "Voltha.openolt..1619017047664319168",
"category": "EQUIPMENT",
"subCategory": "ONU",
"type": "KPI_EVENT2",
"typeVersion": "0.1",
"raisedTs": "1970-01-01T00:00:01.619017047Z",
"reportedTs": "2021-04-21T14:57:27.664320677Z"
},
"kpiEvent2": {
"type": "slice",
"ts": 1619017047,
"sliceData": [
{
"metadata": {
"title": "PON_Optical",
"ts": 1619017047,
"logicalDeviceId": "dc6ae00a-98a3-4d5b-bcaf-f01126b7bb13",
"serialNo": "BBSM000a0001",
"deviceId": "dc6ae00a-98a3-4d5b-bcaf-f01126b7bb13",
"context":
,
"uuid": ""
},
"metrics":
}
]
}
}
It seems to be raisedTs is shifted, because seconds since epoch visible as the '1' of seconds + 'nanos':
"raisedTs": "1970-01-01T00:00:0*1.619017047*Z"
- blocks
-
VOL-3703 Performance Monitoring Attributes test
- Resolved
# | Subject | Branch | Project | Status | CR | V |
---|---|---|---|---|---|---|
24332,4 | 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 | master | voltha-openolt-adapter | Status: MERGED | +2 | +1 |
24333,1 | VOL-4034: Per events.proto the unit of time stamp is in seconds and the user of this library passes the raisedTs unit in seconds. | master | voltha-lib-go | Status: MERGED | +2 | +1 |
24334,1 | TODO: Onu SW Upgrade feature enhancements per new API changes has to merge first before this code can compile | master | voltha-openonu-adapter-go | Status: ABANDONED | 0 | -1 |