athena.examples package
Submodules
athena.examples.process.exampleProcess module
- class athena.examples.process.exampleProcess.AthenaExampleProcess(*args: Any, **kwargs: Any)[source]
Bases:
ProcessThis is an Example check, it won’t do anything else than generating fake errors.
This check will iterate as much as the iterations value is set and generate fakes errors to showcase the framework behavior and how to write a simple check Process.
- iterations: IntParameter
A concrete sub-type of Parameter that can be used to represent an integer value.
- duration: FloatParameter
A concrete sub-type of Parameter that can be used to represent a floating point value.
- check() None[source]
Iterate as much as
AthenaExampleProcess.iterationsdictate to generate example feedbacks.The total check duration is defined with the
AthenaExampleProcess.durationParameter, it will wait for a fraction of this duration per iteration so that it reach this total duration at the end of all iterations.