@@ -385,38 +385,6 @@ def _create_metric_containers(self):
385
385
)
386
386
}
387
387
)
388
- # metric_list['vmguests'].update(
389
- # {
390
- # 'vmware_vm_yellow_alarms': GaugeMetricFamily(
391
- # 'vmware_vm_yellow_alarms',
392
- # 'A metric with the amount of virtual machine yellow alarms and \
393
- # labeled with the list of alarm names',
394
- # labels=self._labelNames['vms'] + ['alarms']
395
- # ),
396
- # 'vmware_vm_red_alarms': GaugeMetricFamily(
397
- # 'vmware_vm_red_alarms',
398
- # 'A metric with the amount of virtual machine red alarms and \
399
- # labeled with the list of alarm names',
400
- # labels=self._labelNames['vms'] + ['alarms']
401
- # )
402
- # }
403
- # )
404
- # metric_list['snapshots'].update(
405
- # {
406
- # 'vmware_vm_yellow_alarms': GaugeMetricFamily(
407
- # 'vmware_vm_yellow_alarms',
408
- # 'A metric with the amount of virtual machine yellow alarms and \
409
- # labeled with the list of alarm names',
410
- # labels=self._labelNames['vms'] + ['alarms']
411
- # ),
412
- # 'vmware_vm_red_alarms': GaugeMetricFamily(
413
- # 'vmware_vm_red_alarms',
414
- # 'A metric with the amount of virtual machine red alarms and \
415
- # labeled with the list of alarm names',
416
- # labels=self._labelNames['vms'] + ['alarms']
417
- # )
418
- # }
419
- # )
420
388
421
389
metrics = {}
422
390
for key , value in self .collect_only .items ():
0 commit comments