Skip to content

Commit

Permalink
pmdalibvirt: better names for the new dominfo metrics
Browse files Browse the repository at this point in the history
These are not just OS specific details.
  • Loading branch information
myllynen committed Apr 11, 2024
1 parent 342d0bd commit eb2a499
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pmdas/libvirt/pmdalibvirt.python
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ class LibvirtPMDA(PMDA):
[ 'dominfo.memory.boot', '/domain/memory', PM_TYPE_U64, PM_SEM_INSTANT, units_kbyte, 'VM memory, at boot' ],
[ 'dominfo.memory.current', '/domain/currentMemory', PM_TYPE_U64, PM_SEM_INSTANT, units_kbyte, 'VM memory, current' ],
[ 'dominfo.memory.max', '/domain/maxMemory', PM_TYPE_U64, PM_SEM_INSTANT, units_kbyte, 'VM memory, maximum' ],
[ 'dominfo.os.arch', '/domain/os/type/@arch', PM_TYPE_STRING, PM_SEM_DISCRETE, units_none, 'VM architecture' ],
[ 'dominfo.os.machine', '/domain/os/type/@machine', PM_TYPE_STRING, PM_SEM_DISCRETE, units_none, 'VM machine type' ],
[ 'dominfo.architecture', '/domain/os/type/@arch', PM_TYPE_STRING, PM_SEM_DISCRETE, units_none, 'VM architecture' ],
[ 'dominfo.machine', '/domain/os/type/@machine', PM_TYPE_STRING, PM_SEM_DISCRETE, units_none, 'VM machine type' ],
]

self.vm_cpustats_res = []
Expand Down

0 comments on commit eb2a499

Please sign in to comment.