10ksim/scrape.yaml

75 lines
2.8 KiB
YAML

general_config:
times_names:
- [ "2024-05-15 12:31:00", "2024-05-15 12:47:00", "3K-1mgs-s-1KB" ]
- [ "2024-05-15 13:10:00", "2024-05-15 13:30:00", "2K-1mgs-s-1KB" ]
- [ "2024-05-15 16:34:00", "2024-05-15 16:56:00", "1K-1mgs-s-1KB" ]
- [ "2024-05-15 19:34:00", "2024-05-15 19:59:00", "3K-1mgs-5s-1KB" ]
- [ "2024-05-15 21:10:00", "2024-05-15 22:10:00", "2K-1mgs-5s-1KB" ]
- [ "2024-05-16 11:11:00", "2024-05-16 11:29:00", "1K-1mgs-5s-1KB" ]
- [ "2024-05-16 11:54:00", "2024-05-16 12:22:00", "3K-1mgs-10s-1KB" ]
- [ "2024-05-16 12:55:00", "2024-05-16 13:19:00", "2K-1mgs-10s-1KB" ]
- [ "2024-05-16 16:35:00", "2024-05-16 16:58:00", "1K-1mgs-10s-1KB" ]
scrape_config:
$__rate_interval: "121s"
step: "60s"
dump_location: "test/nwaku0.26-f/"
metrics_to_scrape:
# libp2p_peers:
# query: "libp2p-peers"
# extract_field: "instance"
# folder_name: "libp2p-peers/"
# libp2p_open_streams:
# query: "libp2p_open_streams"
# extract_field: "instance-type-dir"
# folder_name: "libp2p-open-streams/"
libp2p_network_in:
query: "rate(libp2p_network_bytes_total{direction='in'}[$__rate_interval])"
extract_field: "instance"
folder_name: "libp2p-in/"
libp2p_network_out:
query: "rate(libp2p_network_bytes_total{direction='out'}[$__rate_interval])"
extract_field: "instance"
folder_name: "libp2p-out/"
# container_recv_bytes:
# query: "rate(container_network_receive_bytes_total{namespace='zerotesting'}[$__rate_interval])"
# extract_field: "pod-node"
# folder_name: "container-recv/"
# container_sent_bytes:
# query: "rate(container_network_transmit_bytes_total{namespace='zerotesting'}[$__rate_interval])"
# extract_field: "pod-node"
# folder_name: "container-sent/"
# libp2p_low_peers:
# query: "sum by(job) (libp2p_gossipsub_low_peers_topics)"
# extract_field: "job"
# folder_name: "low-peers/"
# libp2p_high_peers:
# query: "sum by(job) (libp2p_gossipsub_healthy_peers_topics)"
# extract_field: "job"
# folder_name: "high-peers/"
# container_memory_bytes:
# query: "container_memory_usage_bytes{namespace='zerotesting'}"
# extract_field: "pod"
# folder_name: "container-memory/"
# nim_gc_memory_bytes:
# query: "rate(nim_gc_mem_bytes{namespace='zerotesting'}[$__rate_interval])"
# extract_field: "pod-node"
# folder_name: "nim-gc-memory/"
plotting:
"bandwidth-0-33-3K":
"ignore_columns": ["bootstrap", "midstrap"]
"data_points": 25
"folder":
- "test/nwaku0.26-f/"
"data":
- "libp2p-in"
- "libp2p-out"
"include_files":
- "3K-1mgs-s-1KB"
- "3K-1mgs-5s-1KB"
- "3K-1mgs-10s-1KB"
"xlabel_name": "Simulation"
"ylabel_name": "KBytes/s"
"show_min_max": false
"scale-x": 1000
"fig_size": [20, 20]