Go to file
Daimakaimura 8c7ca9a827
Merge pull request #11 from logos-co/WLS
Waku Load Simulator
2022-12-22 10:22:59 +01:00
kurtosis-module Added graphana and fixed prometheus bugs 2022-12-19 17:56:38 +01:00
monitoring Added files for prometheus and graphana 2022-12-19 18:24:24 +01:00
scripts Initial commit 2022-10-13 18:46:01 +02:00
.dockerignore Initial commit 2022-10-13 18:46:01 +02:00
.gitignore Ignore enclave dump path 2022-12-20 15:08:25 +01:00
README.md Added extra information, changed some parameters and fixed typo 2022-12-20 15:37:59 +01:00
kurtosis.yml Trying to set up prometheus under Kurtosis 2022-12-16 13:13:12 +01:00
main.star Deleted old kurtosis version function 2022-12-21 10:29:27 +01:00
package.json Initial commit 2022-10-13 18:46:01 +02:00
prometheus.yml Trying to set up prometheus under Kurtosis 2022-12-16 13:13:12 +01:00
requirements.txt Added requirements.txt 2022-12-21 11:27:50 +01:00
tsconfig.json Initial commit 2022-10-13 18:46:01 +02:00
wsl.py Minor 2022-12-20 17:28:29 +01:00
wsl.yml Deleted targets in wsl.yml 2022-12-21 11:24:18 +01:00
yarn.lock Initial commit 2022-10-13 18:46:01 +02:00

README.md

Wakurtosis

Starting version for Waku network simulations (https://github.com/waku-org/pm/issues/2)

Kurtosis: https://docs.kurtosis.com/

How to use:

Before using this repository make sure that:

  • You are using Kurtosis version 0.62.0. This is important, as they are working on it and changes can be huge depending on different versions. You can find all Kurtosis versions here.
  • The topology that will be instantiated is defined in kurtosis-module/starlark/waku_test_topology.json. This topology is created with https://github.com/logos-co/Waku-topology-test
  • Each node will need its own configuration file in kurtosis-module/starlark/config_files/waku_X.toml being waku_X the same name that is defined in the topology.

If you want to use the same configuration for every node, you can use:

kurtosis run --enclave-id wakurtosis . '{"same_toml_configuration": true}'

This will use the file kurtosis-module/starlark/config_files/waku_general.toml for every node.

In order to access to Prometheus or Graphana, run:

kurtosis enclave inspect wakurtosis'

With this, you will be able to see the ports exposed to your local machine.

Note that if you decide to set the --enclave-id, you may need to run kurtosis clean -a before re-run the same enclave again, to not have problems with ports and volumes that are already mounter under that enclave. This will not happen if --enclave-id is not used, but then if you want to inspect it, while the enclave is being created you should check the id with kurtosis enclave ls, since the enclave id will not be shown until the process is finished.

Please, any improvements/bugs that you see, create an issue, and we will work on it.