mirror of
https://github.com/vacp2p/wakurtosis.git
synced 2026-01-08 22:38:04 -05:00
Disabled by_simulation plotting configuration
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user