From 0e5ef56b157305e4952faaa5c53c89a9dd6790d2 Mon Sep 17 00:00:00 2001 From: garciadeblas Date: Thu, 4 May 2023 14:13:14 +0200 Subject: [PATCH] Update multivim_vm_metrics.py to append osm to metric_name to be BWC Change-Id: If250202fe60451ba2f20bed94ff5c7ef6c6b50a1 Signed-off-by: garciadeblas --- src/osm_ngsa/dags/multivim_vm_metrics.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/osm_ngsa/dags/multivim_vm_metrics.py b/src/osm_ngsa/dags/multivim_vm_metrics.py index 6f03292..72ceca4 100644 --- a/src/osm_ngsa/dags/multivim_vm_metrics.py +++ b/src/osm_ngsa/dags/multivim_vm_metrics.py @@ -34,43 +34,43 @@ PROMETHEUS_PUSHGW = "pushgateway-prometheus-pushgateway:9091" PROMETHEUS_JOB_PREFIX = "airflow_osm_vm_metrics_" PROMETHEUS_METRICS = { "cpu_utilization": { - "metric_name": "cpu_utilization", + "metric_name": "osm_cpu_utilization", "metric_descr": "CPU usage percentage", }, "average_memory_utilization": { - "metric_name": "average_memory_utilization", + "metric_name": "osm_average_memory_utilization", "metric_descr": "Volume of RAM in MB used by the VM", }, "disk_read_ops": { - "metric_name": "disk_read_ops", + "metric_name": "osm_disk_read_ops", "metric_descr": "Number of read requests", }, "disk_write_ops": { - "metric_name": "disk_write_ops", + "metric_name": "osm_disk_write_ops", "metric_descr": "Number of write requests", }, "disk_read_bytes": { - "metric_name": "disk_read_bytes", + "metric_name": "osm_disk_read_bytes", "metric_descr": "Volume of reads in bytes", }, "disk_write_bytes": { - "metric_name": "disk_write_bytes", + "metric_name": "osm_disk_write_bytes", "metric_descr": "Volume of writes in bytes", }, "packets_received": { - "metric_name": "packets_received", + "metric_name": "osm_packets_received", "metric_descr": "Number of incoming packets", }, "packets_sent": { - "metric_name": "packets_sent", + "metric_name": "osm_packets_sent", "metric_descr": "Number of outgoing packets", }, "packets_in_dropped": { - "metric_name": "packets_in_dropped", + "metric_name": "osm_packets_in_dropped", "metric_descr": "Number of incoming dropped packets", }, "packets_out_dropped": { - "metric_name": "packets_out_dropped", + "metric_name": "osm_packets_out_dropped", "metric_descr": "Number of outgoing dropped packets", }, } -- 2.25.1