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
logger.info(f"Updated metrics with {len(new_metrics)} hypervisors")
24
+
25
+
exceptExceptionase:
26
+
logger.error(f"Error updating metrics: {str(e)}")
27
+
raise
10
28
11
29
defcollect(self):
12
-
instances_per_hypervisor_gauge=GaugeMetricFamily('openstack_peepo_exporter_instances_per_hypervisor', 'Number of instances per hypervisor', labels=['hypervisor_name', 'hypervisor_id'])
0 commit comments