From: garciadeblas Date: Thu, 4 May 2023 12:13:14 +0000 (+0200) Subject: Update multivim_vm_metrics.py to append osm to metric_name to be BWC X-Git-Tag: release-v14.0-start~9 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F35%2F13335%2F1;p=osm%2FNG-SA.git Update multivim_vm_metrics.py to append osm to metric_name to be BWC Change-Id: If250202fe60451ba2f20bed94ff5c7ef6c6b50a1 Signed-off-by: garciadeblas --- 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", }, }