athena.examples package

Submodules

athena.examples.process.exampleProcess module

class athena.examples.process.exampleProcess.AthenaExampleProcess(*args: Any, **kwargs: Any)[source]

Bases: Process

This 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.

RANDOM_ISSUES: Thread = <athena.atCore.Thread object>
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.iterations dictate to generate example feedbacks.

The total check duration is defined with the AthenaExampleProcess.duration Parameter, it will wait for a fraction of this duration per iteration so that it reach this total duration at the end of all iterations.

athena.examples.blueprint.exampleBlueprint module