mirror of
https://github.com/vacp2p/wakurtosis.git
synced 2026-01-09 14:58:02 -05:00
Updated analysis README.md
This commit is contained in:
@@ -3,11 +3,11 @@ Mount:
|
||||
1 - Logs folder (/simulation_data)
|
||||
|
||||
Run:
|
||||
- docker run --network "host" -v $(pwd)/wakurtosis_logs:/simulation_data/ --add-host=host.docker.internal:host-gateway <image> <script> -p <prometheus_port> -i <infra_type>
|
||||
- `docker run --network "host" -v $(pwd)/wakurtosis_logs:/simulation_data/ --add-host=host.docker.internal:host-gateway <image> <script> -p <prometheus_port> -i <infra_type>`
|
||||
|
||||
Example:
|
||||
- docker run --network "host" -v $(pwd)/wakurtosis_logs:/simulation_data/ --add-host=host.docker.internal:host-gateway analysis ./src/main.py -i container-proc
|
||||
- docker run --network "host" -v $(pwd)/wakurtosis_logs:/simulation_data/ --add-host=host.docker.internal:host-gateway analysis ./src/main.py -i cadvisor -p 123456
|
||||
- `docker run --network "host" -v $(pwd)/wakurtosis_logs:/simulation_data/ --add-host=host.docker.internal:host-gateway analysis ./src/main.py -i container-proc`
|
||||
- `docker run --network "host" -v $(pwd)/wakurtosis_logs:/simulation_data/ --add-host=host.docker.internal:host-gateway analysis ./src/main.py -i cadvisor -p 123456`
|
||||
|
||||
To run tests:
|
||||
|
||||
@@ -25,15 +25,11 @@ The name of the metric should be the same metric that lives inside Prometheus. T
|
||||
"plotting": {
|
||||
"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"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -41,4 +37,4 @@ The name of the metric should be the same metric that lives inside Prometheus. T
|
||||
|
||||
`by_node`: This means that the metric will be gathered for each node, getting the distribution of the maximum values in the entire simulation.
|
||||
|
||||
`by simulation`: This means that we will get an accumulated value across the entire simulation.
|
||||
`by simulation`: This means that we will get an accumulated value across the entire simulation. **deprecated**
|
||||
|
||||
Reference in New Issue
Block a user