Disabled by_simulation plotting configuration

This commit is contained in:
Alberto
2023-06-13 11:27:15 +02:00
parent ef56eab3d7
commit 92439bf18b
3 changed files with 12 additions and 10 deletions

View File

@@ -17,6 +17,7 @@ plotting_config = {
"xtic_labels": [
"Received (Rx)"
],
"statistic": "max",
"toMB": True
},
"container_network_transmit_bytes_total": {
@@ -28,6 +29,7 @@ plotting_config = {
"xtic_labels": [
"Sent (Tx)"
],
"statistic": "max",
"toMB": True
},
"container_fs_reads_bytes_total": {
@@ -39,6 +41,7 @@ plotting_config = {
"xtic_labels": [
"Read"
],
"statistic": "max",
"toMB": True
},
"container_fs_writes_bytes_total": {
@@ -50,6 +53,7 @@ plotting_config = {
"xtic_labels": [
"Write"
],
"statistic": "max",
"toMB": True
}
}

View File

@@ -35,8 +35,8 @@ def get_hardware_metrics(metrics, topology, min_tss, max_tss, prom_port):
analysis_logger.G_LOGGER.error('%s: %s' % (e.__doc__, e))
continue
fetch_cadvisor_stats_from_prometheus_by_simulation(metrics, prometheus, container_ips, min_tss,
max_tss)
#fetch_cadvisor_stats_from_prometheus_by_simulation(metrics, prometheus, container_ips, min_tss,
# max_tss)
def fetch_cadvisor_stats_from_prometheus_by_simulation(metrics, prom, container_ips, start_ts,
@@ -117,5 +117,5 @@ def fetch_metric_with_timestamp(prom, metric, ip, start_timestamp, end_timestamp
function_dispatcher = {
"max": max,
"min": min,
"average": lambda x: sum(x) / len(x),
"average": lambda x: sum(x) / len(x)
}

View File

@@ -56,13 +56,11 @@
},
"by_node": [
"container_cpu_load_average_10s",
"container_memory_usage_bytes"
],
"by_simulation": [
"container_network_receive_bytes_total",
"container_network_transmit_bytes_total",
"container_fs_reads_bytes_total",
"container_fs_writes_bytes_total"
"container_memory_usage_bytes",
"container_network_receive_bytes_total",
"container_network_transmit_bytes_total",
"container_fs_reads_bytes_total",
"container_fs_writes_bytes_total"
]
}
}