Closed bhumitra closed 1 year ago
I have a potential fix for this issue and I am testing it. Reason this has happened is due to a vROps limitation. It assigns datatype for an object automatically when a metric is created for the first time. If it is assigned an integer, like in this case, it cannot be changed later. Fix is to make sure null values are not sent to vROps. Instead empty string should be sent.
Fix for this issue will be a part of May release of HRM.
Code of Conduct
VMware Cloud Foundation
v4.5
Environment Details
No response
Description
I am sending a custom metrics to vrops called HRM Snapshot status - I am seeing that when this data goes into vrops, the it gets automatically converted to a number. The data for "statKey":"HRM Snapshot Status|latest",is "Feb 16 15:46:08 2023 GMT" but it is shown as a number on the UI. I dont understand why this value is getting converted.
Similar issue is seen with Backup dashboard in a customer environment.
Expected Behavior
Date should be shown in correct format.
Note - this issue is not seen in all the environments and all dashboards. Sometimes, the dashboards work as expected with same data. Something on vROps is causing the date field to be changed to a different format. Need to check with vROps team.
Actual Behavior
NA
Steps to Reproduce
No response
Screenshots
References
No response