vacp2p / wakurtosis

4 stars 3 forks source link

Modified runner and wakurtosis to add cadvisor to the enclave #93

Closed AlbertoSoutullo closed 1 year ago

AlbertoSoutullo commented 1 year ago

In this PR I added cAdvisor to the enclave, so it is able to see networking statistics from the nodes, and it dumbs the information into prometheus.

Also updated kurtosis version.

Note that the changes in prometheus.yml is intended for a Linux system because of how Docker works. If Linux is not being used, it needs to be changed to:

  - job_name: 'cadvisor'
    scrape_interval: 5s
    static_configs:
    - targets:
      - 'host.docker.internal:8080'

This can be checked when accessing to Prometheus UI in any webbrowser, Status -> Targets. There cadvsior should have an "UP" state if it is correctly connected.