You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[nutanix] Fix vm.disk_capacity_bytes to source from VM config (DataDog#23583)
* fix(nutanix): emit vm.disk_capacity_bytes from VM config
The metric was previously mapped from `diskCapacityBytes` in
VM_STATS_METRICS, but the Nutanix v4 stats endpoint never returns that
field, so the metric was effectively never emitted (and was parked in
VM_STATS_METRICS_OPTIONAL, which silently let it slip).
Source it from the VM config instead: sum vm.disks[].backingInfo.disk
SizeBytes, the same approach memory.allocated_bytes uses for
memorySizeBytes. Move the metric from VM_STATS_METRICS_OPTIONAL into
VM_CAPACITY_METRICS so the test framework now enforces emission.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* docs(nutanix): add changelog fragment for vm.disk_capacity_bytes fix
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* docs(nutanix): trim disk_capacity_bytes changelog to one line
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments