mirror of
https://github.com/vacp2p/10ksim.git
synced 2026-01-09 20:28:03 -05:00
- Move old experiment shell scripts into deployment-utilities/experiment_scripts/ - Gather all waku kubernetes services in deployment-utilities/kubernetes-utilities/waku/zerotesting-services - Rename ./experiments/ -> ./deployments/ - Move waku cleanup.sh with other shell scripts in deployment-utilities/experiment_scripts/waku - Move analysis files to <root>/analysis/ - Add README.md to root folder - Cleanup unused experiments/regression_tests/ - Update READMEs
25 lines
582 B
Python
25 lines
582 B
Python
# Python Imports
|
|
|
|
# Project Imports
|
|
import src.logger.logger
|
|
from src.metrics.scrapper import Scrapper
|
|
from src.plotting.metrics_plotter import MetricsPlotter
|
|
from src.utils import file_utils
|
|
|
|
|
|
|
|
def main():
|
|
url = "https://metrics.riff.cc/select/0/prometheus/api/v1/"
|
|
scrape_config = "scrape.yaml"
|
|
|
|
scrapper = Scrapper("rubi.yaml", url, scrape_config)
|
|
scrapper.query_and_dump_metrics()
|
|
|
|
config_dict = file_utils.read_yaml_file("scrape.yaml")
|
|
plotter = MetricsPlotter(config_dict["plotting"])
|
|
plotter.create_plots()
|
|
|
|
|
|
if __name__ == '__main__':
|
|
main()
|