-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Current understanding of the general structure of cardamon
- parses the command line args and load the configuration file
- builds an execution plan
- start all startup processes of all scenarios in the given observation
- execute scenarios one by one
When executing a scenario, for each iteration:
- start the logging tokio task for processes to observe (both baremetal processes and docker containers)
- run the iteration of a scenario
- save the metrics to database
- continue to the next iteration
For logging, it organises baremetal processes and docker containers into separate vecs and for each vec, a tokio task is spawned up to continuously iterate the processes or containers to query for metrics until tokio token is used to cancel both them. these both aggregate instances of "CpuMetrics" which are processes later.
Metadata
Metadata
Assignees
Labels
No labels