Commit Graph

668 Commits

Author SHA1 Message Date
Alberto Soutullo ce33e9ec3b Changed prometheus to deal with changes in `config.json` 2023-05-15 17:36:47 +02:00
Alberto Soutullo 087a562446 Modified config.json to reduce verbosity. 2023-05-15 17:36:20 +02:00
Daimakaimura db834cf2af Switched to default probe 2023-05-15 12:07:21 +01:00
Daimakaimura 91dead2485 Added tests 2023-05-15 12:07:02 +01:00
Daimakaimura 2026527cb5 Fixed tests 2023-05-15 12:06:38 +01:00
Alberto Soutullo d7b3b3b010 Added analysis to run.sh 2023-05-11 13:16:36 +02:00
Daimakaimura d223ca8b40 Removed rounding from latencies 2023-05-11 09:43:16 +01:00
Daimakaimura 96638c8745 Refactoring 2023-05-11 09:42:32 +01:00
Daimakaimura fe823290f4 Updated test_parse_args to test all args 2023-05-11 07:53:59 +01:00
Daimakaimura fea0d10384 Calls analysis build script instead 2023-05-11 07:47:13 +01:00
Daimakaimura 4611bc356e Added docker imgae build script 2023-05-11 07:46:47 +01:00
Daimakaimura 330a91103b Cleanup commented function 2023-05-11 07:16:50 +01:00
Daimakaimura cf88885e16 For dash source should be . 2023-05-11 07:13:45 +01:00
Daimakaimura ec63fbb9fb Ignore container-proc venv 2023-05-11 07:02:46 +01:00
Daimakaimura 84185c8143 Makes sure we are using the right venv when running container-proc monitoring 2023-05-11 07:01:38 +01:00
Daimakaimura ececad6e66 Added container-proc venv creation 2023-05-11 07:00:42 +01:00
Daimakaimura d243315b1e Added conrainer-proc requirements.txt 2023-05-11 07:00:22 +01:00
Alberto 9c0aef4405 Fixed conflicts with master 2023-05-10 19:40:15 +02:00
Alberto Soutullo 858d17c099
Merge pull request #114 from logos-co/analysis_multinode/refactor
Analysis multinode refactor
2023-05-10 19:33:09 +02:00
Alberto 4a676abdec Added tests for new functions in prometheus.py 2023-05-10 19:23:05 +02:00
Daimakaimura 437092148c Deleted old probes 2023-05-10 07:54:42 +01:00
Alberto Soutullo a6d36d04da
Analysis multinode refactor (#113)
* Savd rpc and metrics by default in config

* More flags true by default

* Added disk usage and refactored plot

* Set metrics back to "good ones"

* Added summary to plot

* Added analysis to build

* Fixed wrong function refactor

* Now just one mount is needed

* Cleaned main

* Prepared prometheus script to handle list of given metrics

* Deleted old plotting function

* Converted data to megabytes with flag, and fixed bug in continue when fetching metrics

* Added continue back to fix bug

* Now prometheus can accept a variable number of metrics to gather

* Modified plotting function to accept a variable number of metrics

* wip in main to work with variable number of metrics

* Plotting is now read in config.json

* Cleaned main

* Cleaned plotting file

* Created function to put custom metrics inside metrics dict

* Fixed error when having multiple metrics in same plot

* Updated config to have plotting information as example

* Updated dockerfile

* Updated README.md

* Renamed variable and function

* Deleted toml folder from arg parser

* Deleted print in plotting.py

* Deleted toml path from vars file

* Deleted unnused functions in prometheus.py

* updated main to not use tomls folder

* Added more tests in test_analysis.py

* refactored arg_parser.py test

* Added more tests in log_parser

* Created prometheus tests

* Finalized prometheus tests

* Fixed bug in prometheus, if data does not exists (yet, like could be container_fs_writes_bytes_total), we add a zero.

* Added xticks in plots

* Typo

* Updated readme
2023-05-09 21:55:49 +02:00
Alberto 3d93bc371f Changed plotting to match config changes 2023-05-09 17:28:56 +02:00
Alberto 7ee98fbf15 Changed prometheus.py to match config changes 2023-05-09 17:28:48 +02:00
Alberto 460086b2d1 Changed config.json to be able to select accumulated values 2023-05-09 17:28:34 +02:00
Alberto 122d345190 Updated readme 2023-05-08 12:46:07 +02:00
Alberto 46a7370e77 Typo 2023-05-08 12:38:20 +02:00
Alberto ed1c04c089 Added xticks in plots 2023-05-08 12:38:20 +02:00
Alberto 0d51afbc8e Fixed bug in prometheus, if data does not exists (yet, like could be container_fs_writes_bytes_total), we add a zero. 2023-05-08 12:38:20 +02:00
Alberto c0b6bdef01 Finalized prometheus tests 2023-05-08 12:38:20 +02:00
Alberto 0c5d1f115b Created prometheus tests 2023-05-08 12:38:20 +02:00
Alberto c2302392f0 Added more tests in log_parser 2023-05-08 12:38:20 +02:00
Alberto 2b2f534feb refactored arg_parser.py test 2023-05-08 12:38:20 +02:00
Alberto 4e7c9c8999 Added more tests in test_analysis.py 2023-05-08 12:38:20 +02:00
Alberto a912ddc91d updated main to not use tomls folder 2023-05-08 12:38:20 +02:00
Alberto 2e793fd524 Deleted unnused functions in prometheus.py 2023-05-08 12:38:20 +02:00
Alberto 96911d0015 Deleted toml path from vars file 2023-05-08 12:38:20 +02:00
Alberto d6029ee77a Deleted print in plotting.py 2023-05-08 12:38:20 +02:00
Alberto 1cb8489fdc Deleted toml folder from arg parser 2023-05-08 12:38:20 +02:00
Alberto d096f8caae Renamed variable and function 2023-05-08 12:38:20 +02:00
Alberto ed55d1a616 Updated README.md 2023-05-08 12:38:20 +02:00
Alberto e164dd00ea Updated dockerfile 2023-05-08 12:38:20 +02:00
Alberto c40443380b Updated config to have plotting information as example 2023-05-08 12:38:20 +02:00
Alberto b68fad642f Fixed error when having multiple metrics in same plot 2023-05-08 12:38:19 +02:00
Alberto 176c266e48 Created function to put custom metrics inside metrics dict 2023-05-08 12:38:19 +02:00
Alberto c04c6e1a9a Cleaned plotting file 2023-05-08 12:38:19 +02:00
Alberto 547f7e54af Cleaned main 2023-05-08 12:38:19 +02:00
Alberto f14071b347 Plotting is now read in config.json 2023-05-08 12:38:19 +02:00
Alberto 5096db6063 wip in main to work with variable number of metrics 2023-05-08 12:38:19 +02:00
Alberto ac4e777bd3 Modified plotting function to accept a variable number of metrics 2023-05-08 12:38:19 +02:00