10ksim/scrape.yaml

53 lines
1.7 KiB
YAML
Raw Normal View History

general_config:
kubeconfig: "kubeconfig.yaml"
scrape_config:
$__rate_interval: "121s"
step: "60s"
start_scrape: "2024-03-12 16:24:00"
finish_scrape: "2024-03-12 16:30:00"
dump_location: "test/nwaku-vXX/"
simulation_name: "3K-test"
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-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/"
plotting:
"bandwidth":
"folder":
2024-03-07 10:33:56 +00:00
- "test/nwaku/"
"data":
- "libp2p-in"
- "libp2p-out"
"xlabel_name": "NºNodes-MsgRate"
"ylabel_name": "KBytes/s"
"scale-x": 1000