Skip to content

Commit 8ec432d

Browse files
committed
Remove old commented out code
1 parent ab16bb8 commit 8ec432d

File tree

1 file changed

+0
-32
lines changed

1 file changed

+0
-32
lines changed

vmware_exporter/vmware_exporter.py

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -385,38 +385,6 @@ def _create_metric_containers(self):
385385
)
386386
}
387387
)
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-
# )
420388

421389
metrics = {}
422390
for key, value in self.collect_only.items():

0 commit comments

Comments
 (0)