Skip to content

implementation plan for kubernetes observation #102

@TaiseiYokoshima

Description

@TaiseiYokoshima

Current understanding of the general structure of cardamon

  1. parses the command line args and load the configuration file
  2. builds an execution plan
  3. start all startup processes of all scenarios in the given observation
  4. execute scenarios one by one

When executing a scenario, for each iteration:

  1. start the logging tokio task for processes to observe (both baremetal processes and docker containers)
  2. run the iteration of a scenario
  3. save the metrics to database
  4. 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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions