2024-04-15 14:01:00 +00:00
|
|
|
general_config:
|
|
|
|
kubeconfig: "kubeconfig.yaml"
|
2024-02-21 18:18:01 +00:00
|
|
|
scrape_config:
|
2024-03-14 14:00:36 +00:00
|
|
|
$__rate_interval: "121s"
|
2024-02-21 18:18:01 +00:00
|
|
|
step: "60s"
|
2024-03-14 14:00:36 +00:00
|
|
|
start_scrape: "2024-03-12 16:24:00"
|
|
|
|
finish_scrape: "2024-03-12 16:30:00"
|
2024-03-27 15:41:17 +00:00
|
|
|
dump_location: "test/nwaku-vXX/"
|
|
|
|
simulation_name: "3K-test"
|
2024-02-21 18:18:01 +00:00
|
|
|
metrics_to_scrape:
|
2024-03-27 15:41:17 +00:00
|
|
|
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-direction"
|
|
|
|
folder_name: "libp2p-in/"
|
|
|
|
libp2p_network_out:
|
|
|
|
query: "rate(libp2p_network_bytes_total{direction='out'}[$__rate_interval])"
|
|
|
|
extract_field: "instance-direction"
|
|
|
|
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/"
|
2024-03-04 12:36:32 +00:00
|
|
|
plotting:
|
|
|
|
"bandwidth":
|
|
|
|
"folder":
|
2024-03-07 10:33:56 +00:00
|
|
|
- "test/nwaku/"
|
2024-03-04 12:36:32 +00:00
|
|
|
"data":
|
2024-03-27 15:41:17 +00:00
|
|
|
- "libp2p-in"
|
2024-03-27 17:04:34 +00:00
|
|
|
- "libp2p-out"
|
|
|
|
"xlabel_name": "NºNodes-MsgRate"
|
|
|
|
"ylabel_name": "KBytes/s"
|
|
|
|
"scale-x": 1000
|